如何使用Anaconda将IPython4降级为3
发布时间:2020-09-25 23:55:28 所属栏目:Python 来源:互联网
导读:我目前正在使用I Python版本4. $ipythonWARNING: inline not available as pylab backend, using auto instead.Python 2.7.10 |Anaconda 2.1.0 (x86_64)| (default, Oct 19 2015, 18:31:17) Type copyright, credit
我目前正在使用I Python版本4. $ipython WARNING: 'inline' not available as pylab backend,using 'auto' instead. Python 2.7.10 |Anaconda 2.1.0 (x86_64)| (default,Oct 19 2015,18:31:17) Type "copyright","credits" or "license" for more information. IPython 4.0.0 -- An enhanced Interactive Python. ? -> Introduction and overview of IPython's features. %quickref -> Quick reference. help -> Python's own help system. object? -> Details about 'object',use 'object??' for extra details. Using matplotlib backend: MacOSX In [1]: 如何将其降级到版本3(少于4)? 解决方法使用conda remove 1和
conda install .
conda remove将删除当前版本的ipython: conda remove ipython 然后,您可以选择搜索要使用conda search ipython安装的ipython版本: ipython 0.13 py27_0 defaults 0.13 py26_0 defaults 0.13 py33_1 defaults 0.13 py27_1 defaults 0.13 py26_1 defaults 0.13.1 py33_1 defaults ... continues.. 3.2.0 py27_0 defaults 3.2.1 py34_0 defaults 3.2.1 py33_0 defaults 3.2.1 py27_0 defaults 4.0.0 py35_0 defaults 4.0.0 py34_0 defaults * 4.0.0 py27_0 defaults 使用星号条目表示您拥有的当前版本. 然后,使用conda install ipython = version_num来安装所需的版本.请注意每个ipython版本所需的默认Python版本! 1正如我最近注意到的那样,conda删除步骤已经过时了.您只需使用 (myenv)jim@unx: conda install ipython=3.2.0 Fetching package metadata: .... Solving package specifications: ................ The following packages will be DOWNGRADED: ipython: 4.0.1-py27_0 --> 3.2.0-py27_0 Proceed ([y]/n)? y 你很高兴去. (编辑:鲜蔬坊站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- python:inspect函数自动生成函数名
- linux 2.6升级Python2.7 ./configure 报错问题
- 私有属性/方法的访问
- Django i18n blocktrans vs trans
- python-3.x – Keras(TensorFlow,CPU):训练循环中的顺序模
- 默认情况下,如何配置mercurial hg不保留备份?
- 将接受类成员函数作为变量的函数传递给python multiprocess
- python – django中的高效分页和数据库查询
- python – 如何修补`__call__`方法?
- python – Bokeh中设置的静态路径变量在哪里(对于create_ht
推荐文章
站长推荐
热点阅读