pip install pandas, not working
I am trying to install pandas via pip install pandas
but when I do, I get the error:
Command python setup.py egg_info failed with error code 1 in c:users[username]appdatalocaltemppip_build_[username]pandas
I followed the answer given here and installed ez_setup.py
without incident, but still get the error when doing pip install pandas
.
Thanks for any help, if I can provide more information please let me know.
The easiest way to install pandas
and its dependencies on Windows is to download the relevant packages from Christoph Gohlke's Python Extension Packages for Windows repository. You'll find the files for pandas
here as well as a list of other required dependencies.
On Linux (Debian / Ubuntu varieties), when NOT installing inside a virtual environment, but in the main system, I find it best to just use the Synaptic Package Manager (because even the --user switch seems to fail when trying to install pandas without sudo). Search for pandas inside Synaptic PM. There's varieties for python 2 and 3.
However, on linux, I have generally found the cleanest, easiest, and overall safest approach to be creating virtual environments and then use pip install <package name>
inside the virtual environment. I believe this would be best on Windows too.
I installed Pandas package following procedure listed after the following disclaimer section: Disclaimer: - I don't consider myself a computer expert so follow the instructions at your own risk.
- My procedure worked on my windows computer - My windows computer has python 2.7 installed from python.org - My python GUI is IDLE - I don't recall installing pip, it is possible that it installs at the time of installing python 2.7 from python.org (not sure) - The directory in which my pip.exe is located is under C:Python27Scripts
Procedure:
Picture shows steps 1 -4 as shown in my computer command window.collecting_pandas
链接地址: http://www.djcxy.com/p/21722.html上一篇: 如何确定运行我的应用程序所需的最小.NET框架版本
下一篇: pip安装熊猫,不工作