简体   繁体   English

使用pip安装pandas时出错

[英]Getting errors when using pip to install pandas

I've been trying to install pandas using pip, but it always fails and gives me a giant wall of error text and this at the bottom:我一直在尝试使用 pip 安装 Pandas,但它总是失败并给我一个巨大的错误文本墙,底部是这样的:

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\Name\AppData\Local\Temp\pip-build-2oyp61xi\pandas

Its getting pretty annoying and I would appreciate some help!它变得非常烦人,我将不胜感激!

About the error code关于错误代码

According to python documentation :根据python文档

This module makes available standard errno system symbols.该模块提供标准的 errno 系统符号。 The value of each symbol is the corresponding integer value.每个符号的值是对应的整数值。 The names and descriptions are borrowed from linux/include/errno.h , which should be pretty all-inclusive.名称和描述是从 linux/include/errno.h 借来的,它应该是包罗万象的。

Error code 1 is defined in errno.h and means Operation not permitted .错误代码 1 在errno.h定义,表示Operation not permitted

About your error关于你的错误

Your setuptools do not appear to be installed.您的setuptools似乎没有安装。 Just follow the Installation Instructions from the pypi website.只需按照 pypi 网站上的Installation Instructions

If it's already installed, try如果已经安装,请尝试

pip install --upgrade setuptools

If it's already up to date, check that the module ez_setup is not missing.如果它已经是最新的,请检查模块 ez_setup 是否没有丢失。 If it is, then如果是,那么

pip install ez_setup

Then try again然后再试一次

pip install unroll

If it's still not working, maybe pip didn't install/upgrade setup_tools properly so you might want to try如果它仍然不起作用,也许 pip 没有正确安装/升级 setup_tools 所以你可能想尝试

easy_install -U setuptools

and again然后再次

pip install unroll

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

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