-
Notifications
You must be signed in to change notification settings - Fork 1
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
biopython error #4
Comments
Hi @mdtorohernando, thank you for reporting this. I tried to run viromeqc in a newly created conda env but it works fine. Could you try to:
Also, could you report which versions of each package are you using in your environment with Thanks! |
Thank you very much for your quick response! I've tried opening python but it does not work. Packages are: packages in environment at /home/pgen/miniconda3/envs/viromeqc:Name Version Build Channel_libgcc_mutex 0.1 conda_forge conda-forge |
I tried to create another environment for python3.6 (recommended at the README file) called "prueba" but the error is the same:
The list of the packages in this environment is as follows (now biopython is also in version 1.79 but installed through conda-forge)
Sorry for all these inconveniences... |
Hi mdtorohernando, It seems your conda env has biopython correctly installed.
|
Thank you for your answer, I attached to you the output, it does not return any error
|
Hi @mdtorohernando, sorry for replying late. I see you used python 3.6.15 in the screenshot, but you tried ViromeQC with python 3.8 in the previous example. Could you either: Just to make sure you are using the same python as the one in your conda env. Thanks! |
Thank you four your answer!!
b) does not work...
|
@mdtorohernando, sorry for the long time taken to answer. It seems an issue related to Conda packages. Probably you already tried (and a bit extreme) but, what about trying on a fresh conda installation? Sorry again for the delay. Please let me know if you managed to fix it! |
Just for anyone that stumbles across this error that was in the same boat as me. The packaged v1.0.0 of viromeQC will give the above error if using Biopython >= 1.78 as viromeQC v1.0.0 uses the Bio.Alphabet module of biopython that was removed in biopython v1.78. The use of this module was removed in a subsequent version of viromeQC, so cloning from the repo (v1.0.2 of viromeQC at time of writing) will allow Biopython >= 1.78 to be used in your conda environment. If you super want to use v1.0.0 of viromeQC then lower your biopython version to 1.77 and that will solve this error. Thanks azufre451 and others for putting together this great tool! |
Dear developers, I've downloaded viromeqc but I have some problems when running. I created a conda environment for it with python3.8, and I installed pandas and biopython, but after this, the following error occurs:
(viromeqc) pgen@pgen:~/sw/viromeqc$ python3.8 ./viromeQC.py
Failed in importing Biopython. Please check Biopython is
installed properly on your system! [ - FAIL - ]
when I try to reinstall biopython it seems to be properly installed:
(viromeqc) pgen@pgen:~/sw/viromeqc$ pip install biopython
Requirement already satisfied: biopython in /home/pgen/miniconda3/envs/viromeqc/lib/python3.8/site-packages (1.79)
Requirement already satisfied: numpy in /home/pgen/miniconda3/envs/viromeqc/lib/python3.8/site-packages (from biopython) (1.23.2)
Any help will be great!
The text was updated successfully, but these errors were encountered: