geronimp / enrichM

Toolbox for comparative genomics of MAGs
80 stars 22 forks source link

There is probably a wrong version of urlib in the conda package. #112

Closed SilasK closed 3 years ago

SilasK commented 4 years ago
(enrichm) [kiesers@login2 test_enrichm]$ enrichm data
[2020-09-03 10:49:30 AM] INFO: Command: /home/kiesers/scratch/miniconda3/envs/enrichm/bin/enrichm data
[2020-09-03 10:49:30 AM] INFO: Running the data pipeline
Traceback (most recent call last):
  File "/home/kiesers/scratch/miniconda3/envs/enrichm/lib/python3.6/site-packages/enrichm/data.py", line 114, in do
    version_remote = urllib.request.urlopen(self.ftp + self.VERSION).readline().strip().decode("utf-8")
AttributeError: module 'urllib' has no attribute 'request'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/kiesers/scratch/miniconda3/envs/enrichm/bin/enrichm", line 342, in <module>
    run.run_enrichm(args, sys.argv)
  File "/home/kiesers/scratch/miniconda3/envs/enrichm/lib/python3.6/site-packages/enrichm/run.py", line 288, in run_enrichm
    d.do(args.uninstall, args.dry)
  File "/home/kiesers/scratch/miniconda3/envs/enrichm/lib/python3.6/site-packages/enrichm/data.py", line 117, in do
    "Unable to find most current EnrichM database VERSION in ftp. Please complain at https://github.com/geronimp/enrichM")
Exception: Unable to find most current EnrichM database VERSION in ftp. Please complain at https://github.com/geronimp/enrichM