LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 05:09 AM   #1
project.linux.proj
Member
 
Registered: Dec 2012
Posts: 80

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, 06:01 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
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



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 08:11 AM
installation by copying it from one machine to another machine betrussell23 Linux - Newbie 5 03-05-2007 09:56 AM
copying modules from one system to another? syvy Slackware 7 01-07-2007 11:19 AM
Copying files form a windows-burnt CD to a linux designation? Timme Linux - Newbie 6 09-13-2004 04:00 PM
Manually copying kernel modules crank Linux - Newbie 2 06-05-2003 05:37 PM

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

All times are GMT -5. The time now is 10:35 PM.

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
Open Source Consulting | Domain Registration