在anaconda上安装cx_freeze?

Ada*_*hes 3 python cx-freeze anaconda

我正在尝试将cx_freeze安装到我在anaconda中制作的虚拟环境中.在环境中,我输入(https://binstar.org/pyzo/cx_freeze):

conda install -c https://conda.binstar.org/pyzo cx_freeze
Run Code Online (Sandbox Code Playgroud)

我收到以下消息:

Fetching package metadata: ...
Solving package specifications: ..
Error: Unsatisfiable package specifications.
Generating hint: 
[2/2                 ] |#####################################################################################################################################################################################| 100%

Hint: the following combinations of packages create a conflict with the
remaining packages:
  - python 2.7*
  - cx_freeze
Run Code Online (Sandbox Code Playgroud)

我在linux-64 Ubuntu 14上的python版本2.7.9上使用anaconda 3.7.4.

Arn*_*aud 7

如果conda install无法安装软件包,因为与您使用的Python版本存在冲突:

  • 确保pip安装在当前(虚拟)Python环境中:( conda install pipconda list查看pip是否在已安装软件包列表中)
  • 使用pip安装你的包: pip install <name of your package>