问题
python newbie here, today I updated biopython to v1.70. I use spyder/IPython shell for most of my work. if it makes any sense, the version of biopython seems updated in the python console (spyder), and windows command terminal python installation, but IPython console is still showing older version. Should that be updated separately, and if yes, how. Thanks for answers.
回答1:
For Anaconda on Windows, using the Command Prompt (what you get when typing cmd
or clicking on Command Prompt in the Start menu) is discouraged1 since the latest release (May '17).
Instead, use Anaconda Prompt or the graphical Anaconda Navigator (both located under the Anaconda folder in the Start menu). You should use them for installing packages, as well as for running apps (e.g. Spyder, IPython).
Also, I recommend you use conda
to install packages. conda
is the native package manager for Anaconda, and it manages dependencies (packages required to run other packages) better than pip
.
So, what you can try is:
Start --> Anaconda Prompt, and then
conda install biopython
ipython
At the time of writing, the official conda
repository contains biopython
1.6.9. If you really need 1.7.0, use conda install -c conda-forge biopython
(conda-forge
is an alternative package repository which is maintained by the community).
[1] See the 2nd bullet on Anaconda 4.4.0 release notes.
来源:https://stackoverflow.com/questions/45489932/update-biopython-in-ipython-shell