Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name 'snakemake' #40

Open
dwkarjosukarso opened this issue Mar 16, 2020 · 1 comment
Open

ImportError: cannot import name 'snakemake' #40

dwkarjosukarso opened this issue Mar 16, 2020 · 1 comment

Comments

@dwkarjosukarso
Copy link

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant