在Ipython Shell中更新Biopython [英] Update Biopython in Ipython shell

查看:115
本文介绍了在Ipython Shell中更新Biopython的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

python新手,今天,我将biopython更新为v1.70.我的大部分工作都使用spyder/IPython shell.如果有任何意义,似乎在python控制台(spyder)和Windows命令终端python安装中都更新了biopython的版本,但是IPython控制台仍在显示旧版本.是否应该单独更新,如果是,则如何更新.感谢您的回答.

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.

推荐答案

对于Windows上的Anaconda,使用命令提示符(键入cmd或单击开始"中的命令提示符时得到的结果)从最新版本('17年5月)开始不鼓励使用 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).

相反,请使用 Anaconda Prompt 或图形化的 Anaconda Navigator (均位于开始"菜单的 Anaconda 文件夹下).您应该将它们用于安装软件包以及正在运行的应用(例如Spyder,IPython).

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).

此外,我建议您使用conda来安装软件包. conda是Anaconda的本机软件包管理器,它比pip更好地管理依赖项(运行其他软件包所需的软件包).

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.

开始-> Anaconda提示,然后

conda install biopython
ipython

在撰写本文时,正式的conda存储库包含biopython 1.6.9.如果您确实需要1.7.0,请使用conda install -c conda-forge biopython(conda-forge是由社区维护的替代软件包存储库).

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] 参见有关Anaconda 4.4.0的第二个项目符号

[1] See the 2nd bullet on Anaconda 4.4.0 release notes.

这篇关于在Ipython Shell中更新Biopython的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆