Reputation: 1325
The python pandas module used to work when I was on python 3.8. I have upgraded to python 3.9 and it stopped working. I've tried installing it but am getting an error.
This is my python version:
Python 3.9.0a1
I am trying to install the pandas python module on windows 10. But when I do I get this error:
pip install pandas
Collecting pandas
Using cached pandas-1.0.4.tar.gz (5.0 MB)
Installing build dependencies: started
Installing build dependencies: still running...
Installing build dependencies: still running...
Installing build dependencies: still running...
Installing build dependencies: finished with status 'error'
pip : ERROR: Command errored out with exit status 1:
At line:1 char:1
This is the full error: https://pastebin.com/dEuEkmGE
I do have numpy and cython installed:
pip show numpy
Name: numpy
Version: 1.18.4
Summary: NumPy is the fundamental package for array computing with Python.
Home-page: https://www.numpy.org
Author: Travis E. Oliphant et al.
Author-email: None
License: BSD
Location: c:\users\tdun0002\appdata\local\programs\python\python39\lib\site-packages
Requires:
Required-by:
pip show cython
Name: Cython
Version: 0.29.19
Summary: The Cython compiler for writing C extensions for the Python language.
Home-page: http://cython.org/
Author: Robert Bradshaw, Stefan Behnel, Dag Seljebotn, Greg Ewing, et al.
Author-email: [email protected]
License: Apache
Location: c:\users\tdun0002\appdata\local\programs\python\python39\lib\site-packages
Requires:
Required-by:
How do I get past this error?
Upvotes: 0
Views: 2767
Reputation: 1325
The problem happened when I installed Python 3.9
. I was unable to use Pandas or install it once I did that. Downgrading from Python 3.9
to Python 3.8
allowed me to install Pandas again.
Upvotes: 0
Reputation: 357
You can try this command:
pip install git+https://github.com/pydata/pandas-datareader.git.
https://github.com/pandas-dev/pandas
Upvotes: 0
Reputation:
I was having this problem with python 2.7.13 here is my solution: 1. install Cython with
pip install Cython
2. install g++ and gcc
apt-get install gcc, g++
3. uninstall pandas
pip uninstall pandas
4. reinstall pandas
pip install pandas
then everything will be OK.
Upvotes: 1