Closed camilogarciabotero closed 2 years ago
Gday Camilo,
That is an extremely strange error indeed - it should not be occurring as biopython is installed with Pharokka (and also shouldn't be occurring because the tests to update the version in Bioconda would have caught this).
All I can think is that there is an error with Biopython in your environment.
I would recommend manually re-installing biopython into your environment.
conda uninstall biopython
then
`conda install biopython'
to see if that works. Otherwise try a completely new environment install. Otherwise, perhaps try a manual install from the GitHub repo/release v0.1.11.
Regarding emboss, I am planning on doing a significant re-write of the codebase to make it more streamlined in the next few weeks. I will make sure emboss (and hh-suite) are removed from the bioconda dependencies when this happens - you cannot remove them with an automatic version update on bioconda.
George
Hi Camilo,
I tried to install Pharokka on a HPC and ran into the same error as you regarding Biopython - and when I tried to install Biopython manually I ran into a solving error relating to Python 3.1 (which means there is some issue with Python 3.10 in my experience).
Therefore, I would try
conda create -n pharokka_env pharokka==0.1.11 python=3.9
which will create an environment called pharokka_env with Pharokka v0.1.11 and python 3.9 installed. This worked for me.
Let me know how this goes.
George
Hi Camilo,
As you can probably see with the activity on the repo, I have updated pharokka to v1.0.0.
Hopefully this solves the issue. You will need to re-install the databases before running pharokka.
George
Hey George,
Sorry for the delayed response. Made all the previous suggestions. Even the reinstallation in a new environment and still the message keeps appearing... Any other alternative?
Hi Camilo,
This is a very strange error - especially considering that you seem to have a correctly installed environment.
Seeing as you are running Monterey 12.6, the other issue I can think of is that there could be some issue with Monterey and conda (particularly if you are running this on an M1 chip Mac). I have come across such issues in the past (not with Monterey though) so it might be a conda issue.
e.g. this seems similar to your issue https://stackoverflow.com/questions/73727787/monterey-12-6-and-conda-environment-issue
George
Hi Camilo,
Any update with this error? I'd recommend trying a fresh pharokka v1.1.0 install and seeing if the issue persists.
George
Hi George,
Just tried and it is now working! No idea what was going on here, but I'll close the issue. Thanks.
Description
Hi George,
I tried the new version (v0.1.11) installed via mamba (
mamba install pharokka
), but once the downloaded is completed and run the help menu, an error was printed:ModuleNotFoundError: No module named 'Bio'
What I Did
The entire error output:
Conda environment list
Here is my conda envirnment list:
Which is weird because
Bioconda
is in there. By the way theemboss
library is still being downloaded from conda.Best.