Reputation: 1193
I am behind corporate firewall and want to install a python package from .bz2
file.
I verified my python version to be 3.6.5 and downloaded appropriate package from anaconda cloud
This is how i am installing the package
conda install path_to_.bz2file
The error I get
I saw several examples where there is mention of extracting and running the setup.py file. I didnt find any setup.py
file after extraction. Maybe its related to pypi
not sure.
I dont have any internet connection on this machine so have to look for offline installation options.
Any help is appreciated.
Upvotes: 2
Views: 3037
Reputation: 2126
PyPI distributions usually come with a setup.py. Here are the steps to download offline.
Sometimes a package will have dependencies that need to be installed online. In this case you will need to do the same with the dependency before you can successfuly run the setup.py
Upvotes: 1