简体   繁体   English

在Python中安装软件包失败

[英]Failed package installation in Python

I am trying to install the Mrjob package for Python and I get the following error: 我正在尝试为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.

Can someone tell me what I am doing wrong? 有人可以告诉我我在做什么错吗?

steps:: --open your command prompt and change your directory to C:\\Python27\\Scripts --make sure that you have install 'pip' or 'easy_install' --if you have pip install then directly give command 步骤::-打开命令提示符,并将目录更改为C:\\ Python27 \\ Scripts-确保已安装'pip'或'easy_install'-如果已安装pip,则直接给出命令

pip install mrjob or easy_install mrjob 点安装mrjob或easy_install mrjob

it will take few minutes to install the package .once its get completed the check that whether that package is install or not with following command 安装软件包将花费几分钟。安装完成后,请使用以下命令检查该软件包是否已安装

import mrjob 进口先生

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM