I want to run some of my python scripts on my new Linux (Centos 6.5) machine that I developed on another Linux machine (also Centos 6.5). But my problem is that my new machine is not having internet connectivity and so I am not able to download all my required modules. Is there a way using which I can simply clone the Python configuration from one machine to another? For example saving image of the python configuration to a pendrive and then installing in new machine using image stored in pendrive? Clone Python from one Linux machine to another? I tried this but it did not work for me.
|
The last argument(packages) will vary depending on what python version you want, and what python modules you have installed on your system that needs to be replicated to the other host.
All steps needs to be executed as root user. Further Reading
|
|||||||||||||
|
Just copied contents of following directories from machine to another. /usr/lib/python2.6/site-packages and /usr/lib64/python2.6/site-packages. And it worked for me. |
|||||||||||||||||||||
|