How do I move Python, Python-pip, and packages into a closed network?

Asked 1 years ago, Updated 1 years ago, 91 views

You must install Python and pip in the security zone (closed network) and all the packages that you recorded in requirements.txt. Is there a good way to move to ancient times on the closed network without using a docker? At first glance, there is an ovf, but I still don't understand it.

python python3.7 pip

2022-09-20 19:32

1 Answers

You can run your own pypi server.

https://devpi.net/docs/devpi/devpi/latest/%2Bd/index.html

Pip install~ You can download the package from the pypi server, so you can customize the pypi server and copy the packages.

It's a good way to do it if many developers have to use it, but if one or two developers have to use it, it's navel bigger than belly. It's better to just zip up the library and distribute it. Of course, Python uses a lot of expansion modules, so you have to tie up the library according to the operating system you want to deploy.


2022-09-20 19:32

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.