BayraktarLab / cell2location

Comprehensive mapping of tissue cell architecture via integrated single cell and spatial transcriptomics (cell2location model)
https://cell2location.readthedocs.io/en/latest/
Apache License 2.0
324 stars 58 forks source link

how to install cell2location on windows by anaconda3 #167

Closed littleKaixin closed 1 year ago

littleKaixin commented 2 years ago

Please use the template below to post a question to https://discourse.scverse.org/c/ecosytem/cell2location/.

Problem

I'm new to python so there're lots of questions for installing this on windows. I don't even know should I use cmd or anaconda prompt.... But anyway I used cmd and these happened: Fisrt, I found out that"export PYTHONNOUSERSITE="literallyanyletters"is for Linux. For windows we should use "set" instead of "export". So should I run this on windows? Second, I had trouble use conda activate. After I ran this, it told me to use conda init and restart. But there is no use, the same error happened over and over again. Third, then I found out I could just use activate instead of conda activate. But I don't know if there's anything wrong by using this. And even so, I still failed to pip it.QAQ

So, I want a detailed guide for this on windows. And can I just use pip install ...? will this cause a problem? I really appreciate the help. Thank you.

vitkl commented 2 years ago

Hi @Ziyu-Mu

This question can be interpreted as a general question about using scvi-tools on Windows. Please check https://discourse.scverse.org/ and ask your question there.

littleKaixin commented 1 year ago

Hi @Ziyu-Mu

This question can be interpreted as a general question about using scvi-tools on Windows. Please check https://discourse.scverse.org/ and ask your question there.

Thanks for youe help! @vitkl