简体   繁体   English

在python Annoconda“python setup.py egg_info”中安装模块失败,错误代码为1

[英]Installing module in python Annoconda “python setup.py egg_info” failed with error code 1

I am trying to install skdata module in Annoconda 2.2 verison using我正在尝试使用以下命令在 Annoconda 2.2 版本中安装 skdata 模块

conda install skdata

But its throwing error as follows,但它的抛出错误如下,

Error: Package missing in current linux-32 channels: - skdata错误:当前 linux-32 频道中缺少软件包:- skdata

Also its the same when I tried with当我尝试使用时也是一样的

pip install skdata

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-ivxxkvsc/skdata/命令“python setup.py egg_info”在 /tmp/pip-build-ivxxkvsc/skdata/ 中失败,错误代码为 1

I tried many solutions as我尝试了很多解决方案

 python ez_setup.py
 pip install --upgrade setuptools 
 sudo pip install --upgrade setuptools

None of these helping me to get rid of the error this error :Command "python setup.py egg_info" failed with error code 1这些都没有帮助我摆脱这个错误:命令“python setup.py egg_info”失败,错误代码为1

 python --version
Python 3.4.4 :: Anaconda 2.2.0 (32-bit)

Any help is much appreciated非常感谢任何帮助

I had a similar issue and everytime I tried to launch Anaconda Navigator, it errored out.我有一个类似的问题,每次我尝试启动 Anaconda Navigator 时,它都会出错。 I tried everything but nothing seemed to work.我尝试了一切,但似乎没有任何效果。 Finally, when I was on the verge of giving up, I added the PATH to the pyqt5 and pyside folder and that did it for me.最后,当我快要放弃时,我将 PATH 添加到 pyqt5 和 pyside 文件夹中,这对我来说是成功的。 Everything got sorted, my package got installed and even Spyder started working.一切都得到了整理,我的包得到了安装,甚至 Spyder 也开始工作了。 Took me 4 long days, but I finally got Anaconda and Spyder to work.花了我 4 天的时间,但我终于让 Anaconda 和 Spyder 工作了。 Maybe you'll have some luck too.也许你也会有一些运气。

There's not right now any skdata packages in the default conda channels or even on .这里没有现在任何skdata在默认畅达的通道,甚至在包装上。

Pretty sure your the core issue is that skdata assume you're using python2, and you're trying to install in a python3 environment.很确定您的核心问题是skdata假设您使用的是 python2,并且您正在尝试在 python3 环境中安装。

Try this:试试这个:

conda create -y -n skdata-env python=2 scikit-learn pip
source activate skdata-env
pip install skdata

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

相关问题 python setup.py egg_info“失败,错误代码 - python setup.py egg_info" failed with error code Python:setup.py egg_info 失败,错误代码为 1 - Python: setup.py egg_info failed with error code 1 python setup.py egg_info失败,错误代码为1 - python setup.py egg_info failed with error code 1 python setup.py egg_info失败,错误代码为1 - python setup.py egg_info failed with error code 1 python setup.py egg_info" 失败,错误代码为 1 - python setup.py egg_info" failed with error code 1 "pip install matplotlib":""python setup.py egg_info" failed with error code 1" 安装 matplotlib 时 - "pip install matplotlib":"“python setup.py egg_info” failed with error code 1" while installing matplotlib 安装 lshash 时“python setup.py egg_info”失败,错误代码为 1 - "python setup.py egg_info" failed with error code 1 when installing lshash 安装 pyspider -“python setup.py egg_info”失败,错误代码为 1 - Installing pyspider - "python setup.py egg_info" failed with error code 1 错误:“python setup.py egg_info”安装 osmnx 失败,错误代码为 1” - Error: "python setup.py egg_info" failed with error code 1" for installing osmnx 使用pip安装pygame:命令“python setup.py egg_info”失败,错误代码为1 - Installing pygame with pip: Command “python setup.py egg_info” failed with error code 1
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM