skip to Main Content

The computer on which I want to install pip and modules is a secure offline environment.
Only Python 2.7 is installed on this computers(centos and ubuntu).
To run the source code I coded, I need another module.

But neither pip nor module is installed.

It looks like i need pip to install all of dependency files.
But I don’t know how to install pip offline.
and i have no idea how to install the module offline without pip.

The only network connected is pypi from the my nexus3 repository.

Is there a good way?

Would it be better to install pip and install modules?
Would it be better to just install the module without installing pip?

2

Answers


  1. You need to download all necessary packages from PyPI and copy it to the computer where you want to install it

    Login or Signup to reply.
  2. using pip it is easier to install the packages as it manages certian things on its own. You can install modules manually by downloading its source code and then compiling it yourself. The choice is upto you, how you want to do things.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search