I am trying to install pandas in my company computer. I tried to do
pip install pandas
but operation retries and then timesout.
th
This works for me:
pip --default-timeout=1000 install pandas
Did you install python using anaconda ? if not I recommend you reinstall it using anaconda.
If you used anaconda to install python, try this conda install pandas
PIP
has a default timeout of 15 sec
, reference guide. Pandas
is a relatively big file, at 10MB, and it's dependant Numpy
, at 20MB could still be needed (if it is not installed already.). In addition, your network connection may be slow. Therefore, set PIP
to take longer time by, for example, giving it 1000 sec
:
pip --default-timeout=1000 install pandas
as suggested by @Pouya Khalilzad.