Asked By – yenoolnairb
Long story short my work computer has network constraints which means trying to use
pip install in cmd just leads to timing out/not finding package errors.
Instead I have tried to download the tar.gz file of the packages I want, however, I do not know how to install them. I’ve extracted the files from the tar.gz file and there is a “setup” file within but it’s not doing much for me.
If someone could explain how to install python packages in this manner without using
pip install on windows that would be amazing.
Now we will see solution for issue: How to install Python packages from the tar.gz file without using pip install
Thanks to the answers below combined I’ve got it working.
- First needed to unpack the tar.gz file into a folder.
- Then before running
python setup.py installhad to point cmd towards the correct folder. I did this by
- Then run
python setup.py install
Thanks Tales Padua & Hugo Honorem