Pip install pandas: installing dependencies error
I met the same error on Python3.4.
And the root cause of this error is that
"pandas 0.21-0.22 no longer supports Python 3.4"
See more about this issue:
https://github.com/pandas-dev/pandas/issues/20775
Problem with installing pandas for Python 3.4
You get the error "Double requirement given: numpy ..."
The reason for this error is that pandas 0.21-0.22 no longer supports Python 3.4, and thus no longer distributes binary wheels for Python 3.4. Therefore, pip tries to install pandas from source, and this is what now started to fail with Pip version 10.
You can check your python version.
$ python --version
Python 3.4.3
Solution: Install python 3.5
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.5
After you install python 3.5, you can install pandas successfully in a virtual environment(with Python 3.5).
Unable to install pandas for python
Actually, Python 3.10 was enabled for pandas
a few days ago. However, the last release (1.3.3) was published on September, 12.
You have to wait for a new release of Pandas to install it using Python 3.10. Until that happens, you can stay with a lower version of Python (like some users suggested).
Can't pip install pandas... error from a subprocess
Remove the NumPy then try to install pandas again.
pip uninstall package_name
Related Topics
How to Connect to a Remote Windows Machine to Execute Commands Using Python
Beautifulsoup Findall() Given Multiple Classes
What Is the Most Efficient Way to Sum a Dict With Multiple Keys by One Key
How to Print a String Multiple Times
How to Disable Pylint Unused Import Error Messages in VS Code
Unit Testing a Method With No Return Value
How to Maximize a Plt.Show() Window Using Python
Set Working Directory in Python/Spyder So That It's Reproducible
Find the Longest Substring in Alphabetical Order
Formatting Datetimefield in Django
How to Remove a Single Quotes from a List
Type Conversion in Python Attributeerror: 'Str' Object Has No Attribute 'Astype'
How to Change a Dataframe Column from String Type to Double Type in Pyspark
Convert Image Files to a CSV File
Merge Multiple Rows to Single Row - Pandas
Unpivot Multiple Columns With Same Name in Pandas Dataframe