celseq2 icon indicating copy to clipboard operation
celseq2 copied to clipboard

ImportError: cannot import name 'snakemake'

Open dwkarjosukarso opened this issue 4 years ago • 1 comments

Hi, I am trying to run the celseq2 pipeline, but I kept getting this error, which I cannot solve. Maybe you can help?

Code: nice -15 celseq2 --config-file /home/karjosukarso/celseq2/celseq_config.yaml --experiment-table /home/karjosukarso/celseq2/celseq_table.txt --output-dir /home/karjosukarso/DK-82/celseq/ -j20

Error message: File "/home/karjosukarso/anaconda3/envs/Celseq2/bin/celseq2", line 5, in from celseq2.celseq2 import main File "/home/karjosukarso/anaconda3/envs/Celseq2/lib/python3.6/site-packages/celseq2/celseq2.py", line 5, in from snakemake import snakemake ImportError: cannot import name 'snakemake'

Thank you, Dyah

dwkarjosukarso avatar Mar 16 '20 18:03 dwkarjosukarso

I kind of got around that by uninstalling and reinstalling snakemake. However, pip install ./ led to the following error: ERROR: Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

dwkarjosukarso avatar Mar 17 '20 12:03 dwkarjosukarso