Can anyone help me with this? I am at my wit's end.
I recently got a new computer (mac), and installed Python via Anaconda. I was able to use biopython no problem yesterday with the import statement:
from Bio import SeqIO
However, today I was trying to use a function in the package Phylo. At first I didn't realize it was part of biopython, so I tried:
When that didn't work, I tried to install it:
python -m pip install phylo
which of course didn't work. The output of that command was:
Collecting phylo ERROR: Could not find a version that satisfies the requirement phylo (from versions: none) ERROR: No matching distribution found for phylo
I then went back into a Python shell and typed:
which gave me the error:
ModuleNotFoundError: No module named 'Bio'
Thus, I tried to install biopython using:
python -m pip install Bio
After that, I still got the "No module called 'Bio'" error in the Python shell. I have since tried to install/reinstall biopython in a bunch of different ways, to no avail. Here's what I've tried:
python -m pip install biopython pip install biopython pip install biopython --upgrade pip3 install biopython (didn't work at all) pip install biopython --user
Except in the case of the pip3 command, which didn't work at all, every installation said it was successful. And yet I STILL can't import Bio. I also can't import it as biopython. The statement:
did work, but none of the needed packages are included.
Please advise. I really need biopython to work and I'm ready to scream.