Unable to install packages - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: General (https://python-forum.io/forum-1.html) +--- Forum: News and Discussions (https://python-forum.io/forum-31.html) +--- Thread: Unable to install packages (/thread-19433.html) |
Unable to install packages - vtechzbi - Jun-28-2019 Hi, I am pretty new to Python. Installed default Python from Python.org since I cannot install other IDE in my office laptop. Installation is successful but when I tried to install any package getting error message. Not sure if it is due to any firewall or network restriction. But R via RSTUDIO is working fine. SO if this is network related and if I am going to network team they will ask which port we need to unlock and from which link the package is going to get installed in the laptop. But I don't have any idea. can you please help..
RE: Unable to install packages - Larz60+ - Jun-29-2019 The error messages show connection error, so it's either internet connection not established, or firewall is stopping connection. if you are able to download files, you can download a wheel here: https://pypi.org/project/pandas/#files and then run pip3 wheelname RE: Unable to install packages - vtechzbi - Jul-01-2019 (Jun-29-2019, 12:49 AM)Larz60+ Wrote: The error messages show connection error, so it's either internet connection not established, or firewall is stopping connection. Yes its like some firewall block. DO you know which port we need to unblock. Also I have tried downloading the whl file but don't know how to install the same. RE: Unable to install packages - snippsat - Jul-01-2019 Using proxy is a common way to get around office firewall block. pip install --proxy=http://yourproxy:yourport package_name (Jul-01-2019, 12:05 PM)vtechzbi Wrote: Also I have tried downloading the whl file but don't know how to install the same. pip install pandas-0.24.2-cp37-cp37m-win_amd64.whlThis file will install pandas for Python 3.7( cp37 ) and Python version(64-bit ).
|