使用

conda remove1和

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删除步骤已经过时了.您只需使用conda search列出python版本,然后使用您想要的版本执行conda install,anaconda将为您处理替换:

(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

你很高兴去.

Logo

北京人形旗下天工造物具身智能开源社区,聚焦具身天工与慧思开物两大平台

更多推荐