Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python - 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]\appdata\local\temp\pip_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.

like image 271
user3718365 Avatar asked Jul 14 '14 20:07

user3718365


People also ask

How do I install pandas using pip?

Enter the command “pip install pandas” on the terminal. This should launch the pip installer. The required files will be downloaded, and Pandas will be ready to run on your computer. After the installation is complete, you will be able to use Pandas in your Python programs.

Why pandas is not working in Python?

The error “No module named pandas ” will occur when there is no pandas library in your environment IE the pandas module is either not installed or there is an issue while downloading the module right.

Why does import pandas not work?

In most cases this error in Python generally raised: You haven't installed Pandas explicitly with pip install pandas. You may have different Python versions on your computer and Pandas is not installed for the particular version you're using.

Why is pip install not working in Python?

One of the most common problems with running Python tools like pip is the “not on PATH” error. This means that Python cannot find the tool you're trying to run in your current directory. In most cases, you'll need to navigate to the directory in which the tool is installed before you can run the command to launch it.


1 Answers

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.

like image 125
MattDMo Avatar answered Oct 07 '22 20:10

MattDMo