LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-18-2013, 06:09 AM   #1
project.linux.proj
Member
 
Registered: Dec 2012
Posts: 78

Rep: Reputation: Disabled
copying python modules form other machine


Hi,

I want to copy Python modules from one machine to other. Both have same version installed. Can anybody let me know the steps to copy modules from other machine and if it doesn't work i should revert back the changes.

My motive is to install same modules on new machine and the new machine has not internet.


Source Python ( old machine )
$ python2.7 -V
Python 2.7

Destination Python ( New Machine )
# python2.7 -V
Python 2.7.3


Thanks,
 
Old 03-18-2013, 07:01 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 9,882

Rep: Reputation: 2910Reputation: 2910Reputation: 2910Reputation: 2910Reputation: 2910Reputation: 2910Reputation: 2910Reputation: 2910Reputation: 2910Reputation: 2910Reputation: 2910
probably you need to copy the whole directory structure (tarred and zipped) /usr/lib/python2.7 and /usr/lib/pyshared and your other python libs. But it also depends on the module you installed.
You need to save the original dirs (move or rename them).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Python script to web form Neruocomp Programming 1 03-24-2011 09:11 AM
installation by copying it from one machine to another machine betrussell23 Linux - Newbie 5 03-05-2007 10:56 AM
copying modules from one system to another? syvy Slackware 7 01-07-2007 12:19 PM
Copying files form a windows-burnt CD to a linux designation? Timme Linux - Newbie 6 09-13-2004 05:00 PM
Manually copying kernel modules crank Linux - Newbie 2 06-05-2003 06:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration