Python Forum

Full Version: pip install pandas ERROR
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Trying to install pandas today but i get this error report:

Collecting pandas
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))': /simple/pandas/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))': /simple/pandas/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))': /simple/pandas/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))': /simple/pandas/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))': /simple/pandas/
Could not find a version that satisfies the requirement pandas (from versions: )
No matching distribution found for pandas

In the command prompt I am typing pip install pandas.
How do i fix it?
Thanks in Advance!
Hey,
I am not sure why that is happening, although there are alternative ways of downloading modules. You could try using easy_install which is run in cmd just like pip. You could also try manually downloading it from PyPi.
Hope I helped :)
This could be network(firewall ect..) problem or access problem to PyPi problem.
python -m pip install --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --trusted-host pypi.org --upgrade pip
Try install after upgrade pip.
Install directly would be.
pip install --trusted-host=pypi.org --trusted-host=files.pythonhosted.org pandas
Proxy example for bypass firewall.
python.exe -m pip install pandas --proxy="proxy.com:8080"
It´s solved now!
Thank you both
(May-17-2019, 11:40 PM)pythondudu Wrote: [ -> ]It´s solved now!
Thank you both
How to fix it?
(May-17-2019, 08:43 AM)snippsat Wrote: [ -> ]This could be network(firewall ect..) problem or access problem to PyPi problem.
python -m pip install --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --trusted-host pypi.org --upgrade pip
Try install after upgrade pip.
Install directly would be.
pip install --trusted-host=pypi.org --trusted-host=files.pythonhosted.org pandas
Proxy example for bypass firewall.
python.exe -m pip install pandas --proxy="proxy.com:8080"
After I install pandas
C:\Users\sara\AppData\Local\Programs\Python\Python38>python.exe -m pip install pandas --proxy="proxy.com:8080"
Requirement already satisfied: pandas in c:\users\sara\appdata\local\programs\python\python38\lib\site-packages (1.0.3)
Requirement already satisfied: pytz>=2017.2 in c:\users\sara\appdata\local\programs\python\python38\lib\site-packages (from pandas) (2019.3)
Requirement already satisfied: numpy>=1.13.3 in c:\users\sara\appdata\local\programs\python\python38\lib\site-packages (from pandas) (1.18.1)
Requirement already satisfied: python-dateutil>=2.6.1 in c:\users\sara\appdata\local\programs\python\python38\lib\site-packages (from pandas) (2.8.1)
Requirement already satisfied: six>=1.5 in c:\users\sara\appdata\local\programs\python\python38\lib\site-packages (from python-dateutil>=2.6.1->pandas) (1.14.0)

but I still have the same error when run .py program
(Mar-26-2020, 09:22 AM)liliyana Wrote: [ -> ]but I still have the same error when run .py program
What error?
Installation look okay,test that if work from command line before using any editors.
Look at Python 3.8 (3.6-3.7) and pip installation under Windows
(May-17-2019, 06:18 AM)I_Am_Groot Wrote: [ -> ]Hey,
I am not sure why that is happening, although there are alternative ways of downloading modules. You could try using easy_install which is run in cmd just like pip. You could also try manually downloading it from PyPi.
Hope I helped :)

when I turned off VPN on my PC, this error the problem was solved and the Pandas was installed with a pipe