Python中的软件包安装失败

时间:2017-12-02 06:22:49

标签: python failed-installation mrjob

我正在尝试为Python安装Mrjob包,我收到以下错误:

AJs-MacBook-Pro-13:~ aj$ conda install -c asmeurer mrjob
Fetching package metadata .............
Solving package specifications: .

UnsatisfiableError: The following specifications were found to be in conflict:
  - mrjob -> python 2.7*
  - python 3.6*
Use "conda info <package>" to see the dependencies for each package.

有人能告诉我我做错了吗?

1 个答案:

答案 0 :(得分:0)

步骤:: - 打开命令提示符并将目录更改为C:\ Python27 \ Scripts - 确保你已安装&#39; pip&#39;或者&#39; easy_install&#39; - 如果你有pip安装,那么直接发出命令

pip install mrjob 要么 easy_install mrjob

安装软件包需要几分钟时间。完成后 使用以下命令检查该软件包是否安装

import mrjob