Skip to main content
 首页 » 编程设计

python之conda create -n test pandas=0.12.0 ()

2024年11月01日8zfyouxi

我正在尝试使用 conda create 创建一个单独的 conda 环境,以允许旧脚本与 pandas 版本 0.12.0 一起运行

使用 conda create -n test pandas=0.12.0

我已经更新到最新的 conda 使用: conda 更新 conda 3.0.3

我收到以下错误:

Error: Unsatisfiable package specifications 
Hint: pandas 0.12|0.12.0* has a conflict with the remaining packages 

我哪里错了? [我需要指定 numpy 和 python 版本吗? np17py27]

请您参考如下方法:

临时修复

这是来自 Anaconda Support 的建议。

conda create -n <your_env_name> pandas=0.12.0 scipy=0.13.2 

这带来了以下包:

注意:如果您想使用 IPython,则还需要指定,因为这将创建一个 python2.7 环境。如果不指定 IPython,则 IPython 与 Pandas 0.13.0 链接