ImportError: No module named misc - How to resolve this when installing deepToools

2,655 views
Skip to first unread message

anish.da...@gmail.com

unread,
Jul 10, 2018, 2:13:27 PM7/10/18
to deepTools
After installing deeptools, I try and execute ./bamCoverage; I get this error.

Traceback (most recent call last):
File "./bamCoverage", line 4, in <module>
import deeptools.misc
ImportError: No module named misc

How can I resolve this?

Thank you

Björn Grüning

unread,
Jul 10, 2018, 2:15:28 PM7/10/18
to anish.da...@gmail.com, deepTools
Hi,

can you tell us how you installed deepTools?

The recommended way is using conda.
E.g. with

conda install -c bioconda -c conda-forge deeptools

Cheers,
Bjoern

cop...@gmail.com

unread,
Aug 6, 2018, 4:37:08 PM8/6/18
to deepTools
I'm getting the same error. I installed using:

python setup.py install --prefix mypath

as I don't have admin rights

Devon Ryan

unread,
Aug 7, 2018, 3:24:17 AM8/7/18
to cop...@gmail.com, deepTools
Please use `pip install --user` for all python programs, as otherwise
you need to manually change your PYTHONPATH. At the moment deepTools is
finding a different version.
--
Devon Ryan, PhD
Bioinformatician / Data manager
Bioinformatics Core Facility
Max Planck Institute for Immunobiology and Epigenetics
Email: dpry...@gmail.com

Marina

unread,
Aug 13, 2018, 10:39:55 AM8/13/18
to deepTools
I tried that:

Installing collected packages: deeptools
Successfully installed deeptools-3.1.1

But when I try to run bamCoverage, it says

-bash: bamCoverage: command not found


Do I have to add PYTHONPATH?


Devon Ryan

unread,
Aug 13, 2018, 2:02:59 PM8/13/18
to Marina, deepTools

Make sure ~/.local/bin is in your $PATH.

--
You received this message because you are subscribed to the Google Groups "deepTools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to deeptools+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages