installing python packages without internet and using source code as .tar.gz and .whl

前端 未结 5 731
春和景丽
春和景丽 2020-11-28 18:58

we are trying to install couple of python packages without internet.

For ex : python-keystoneclient

For that we have the packages downloade

5条回答
  •  爱一瞬间的悲伤
    2020-11-28 19:03

    This isn't an answer. I was struggling but then realized that my install was trying to connect to internet to download dependencies.

    So, I downloaded and installed dependencies first and then installed with below command. It worked

    python -m pip install filename.tar.gz
    

提交回复
热议问题