Python Forum
pip install pandas ERROR - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Data Science (https://python-forum.io/forum-44.html)
+--- Thread: pip install pandas ERROR (/thread-18423.html)



pip install pandas ERROR - pythondudu - May-16-2019

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!


RE: pip install pandas ERROR - I_Am_Groot - May-17-2019

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 :)


RE: pip install pandas ERROR - snippsat - May-17-2019

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"



RE: pip install pandas ERROR - pythondudu - May-17-2019

It´s solved now!
Thank you both


RE: pip install pandas ERROR - hancel - Jan-14-2020

(May-17-2019, 11:40 PM)pythondudu Wrote: It´s solved now!
Thank you both
How to fix it?


RE: pip install pandas ERROR - liliyana - Mar-26-2020

(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


RE: pip install pandas ERROR - snippsat - Mar-26-2020

(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


RE: pip install pandas ERROR - Marya_475 - May-24-2022

(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