WPZgithub / CEFCON

Deciphering driver regulators of cell fate decisions from single-cell RNA-seq data
MIT License
21 stars 4 forks source link

Installing error: no matching torch version #5

Open LiuCanidk opened 7 months ago

LiuCanidk commented 7 months ago

Hi @WPZgithub , When I try to install the CEFCON locally on my PC (windows), I encountered the following error:

#install from downloading github files locally
pip install F:\Project\癌细胞可塑性\※※scRNA-seq_analysis\00.1imitation_melanoma_cellline\07.regulatory_network\CEFCON-main.zip

Error

ERROR: Could not find a version that satisfies the requirement torch<2.0,>=1.13.0 (from cefcon) (from versions: 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.1.2, 2.2.0, 2.2.1, 2.2.2) ERROR: No matching distribution found for torch<2.0,>=1.13.0

How can I fix this? I just plan to try running the example code locally and then transfer to large dataset on the distributed server with multiple threads

WPZgithub commented 7 months ago

Hi! I think there is something wrong with the version of pytorch installed in your environment, please make sure that the pytorch version <2.0.

LiuCanidk commented 7 months ago

Hi! I think there is something wrong with the version of pytorch installed in your environment, please make sure that the pytorch version <2.0.

Thanks, I'll try to downgrade the pytorch.