YangLabHKUST / SpatialScope

A unified approach for integrating spatial and single-cell transcriptomics data by leveraging deep generative models
https://spatialscope-tutorial.readthedocs.io/en/latest/
GNU General Public License v3.0
43 stars 4 forks source link

conda environment configuration issues #4

Open wwYinYin opened 6 months ago

wwYinYin commented 6 months ago

According to your suggestion, I used the following steps to create a new conda environment: $ git clone https://github.com/YangLabHKUST/SpatialScope.git $ cd SpatialScope $ conda env create -f environment.yml $ conda activate SpatialScope $ python setup.py develop $ rsync ./src/_feature_mixin.py ~/.conda/envs/SpatialScope/lib/python3.9/site-packages/squidpy/im/_feature_mixin.py

When executing “conda env create -f environment.yml”, the following problem occurs: Collecting package metadata (repodata.json): - WARNING conda.models.version:get_matcher(540): Using . with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.6.0., but conda is ignoring the . and treating it as 1.6.0 \ WARNING conda.models.version:get_matcher(540): Using . with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.8.0., but conda is ignoring the . and treating it as 1.8.0 WARNING conda.models.version:get_matcher(540): Using . with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.7.1., but conda is ignoring the . and treating it as 1.7.1 WARNING conda.models.version:get_matcher(540): Using . with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.9.0., but conda is ignoring the . and treating it as 1.9.0 done Solving environment: |

No matter which mirror source is changed, it has no effect.

LenonaFan commented 6 months ago

I got the same issue

JiaShun-Xiao commented 6 months ago

According to your suggestion, I used the following steps to create a new conda environment: $ git clone https://github.com/YangLabHKUST/SpatialScope.git $ cd SpatialScope $ conda env create -f environment.yml $ conda activate SpatialScope $ python setup.py develop $ rsync ./src/_feature_mixin.py ~/.conda/envs/SpatialScope/lib/python3.9/site-packages/squidpy/im/_feature_mixin.py

When executing “conda env create -f environment.yml”, the following problem occurs: Collecting package metadata (repodata.json): - WARNING conda.models.version:getmatcher(540): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.6.0., but conda is ignoring the ._ and treating it as 1.6.0 \ WARNING conda.models.version:getmatcher(540): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.8.0., but conda is ignoring the ._ and treating it as 1.8.0 WARNING conda.models.version:getmatcher(540): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.7.1., but conda is ignoring the ._ and treating it as 1.7.1 WARNING conda.models.version:getmatcher(540): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.9.0., but conda is ignoring the ._ and treating it as 1.9.0 done Solving environment: |

No matter which mirror source is changed, it has no effect.

Hi,

In my case, this issue can be solved by runing 'conda update conda' first. Additionally, we have provided a docker image (docker pull xiaojs95/spatialscope) to avoid installation problems. See the project homepage for more details if needed. Thanks,

Jiashun