Python 在anaconda上安装cx_freeze?

Python 在anaconda上安装cx_freeze?,python,cx-freeze,anaconda,Python,Cx Freeze,Anaconda,我正在尝试将cx_freeze安装到我在anaconda中创建的虚拟环境中。在环境中,我键入(): 我得到以下信息: Fetching package metadata: ... Solving package specifications: .. Error: Unsatisfiable package specifications. Generating hint: [2/2 ] |######################################

我正在尝试将cx_freeze安装到我在anaconda中创建的虚拟环境中。在环境中,我键入():

我得到以下信息:

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

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

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

  • 确保pip已安装在当前(虚拟)Python环境中:
    conda install pip
    (或
    conda list
    查看pip是否在已安装软件包列表中)
  • 使用pip安装软件包:
    pip安装

该频道只有Python 3()的cx\U冻结包。如果您想将其与Python 2一起使用,您需要为Python 2的cx_Freeze制作一个conda包,或者将
conda install pip
安装到您的环境中,并使用它来安装cx_Freeze。谢谢。如果您想添加此作为答案,我将标记为已接受。
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