DRL / blobtools

Modular command-line solution for visualisation, quality control and taxonomic partitioning of genome datasets
GNU General Public License v3.0
184 stars 44 forks source link

DocoptExit ImportError: No module named docopt #127

Closed Gon1976 closed 1 year ago

Gon1976 commented 1 year ago

hi I just installed blobtools and I have this error .local/lib/python2.7/site-packages/blobtools-1.1-py2.7.egg/lib/interface.py", line 44, in from docopt import docopt, DocoptExit ImportError: No module named docopt

could you help me? thanks Gonzalo

DRL commented 1 year ago

Looks like you are using python 2.7. That won't work.

You need to install it as described in the readme.

cheers,

dom

Gon1976 commented 1 year ago

I use the command as in the readme Now I try with python3: python3 setup.py install --user and observe the same error

python3 blobtools Traceback (most recent call last): File "blobtools", line 4, in from lib.interface import main File "/home/installs/blobtools/lib/interface.py", line 44, in from docopt import docopt, DocoptExit ModuleNotFoundError: No module named 'docopt'

DRL commented 1 year ago

install the dependencies with

conda create -n blobtools
conda activate blobtools
conda install -c anaconda matplotlib docopt tqdm wget pyyaml git
conda install -c bioconda pysam --update-deps