By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,525 Members | 1,648 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,525 IT Pros & Developers. It's quick & easy.

python modules in home dir

P: n/a
Hello!

I'm new-comer in Python.
I want to install few Python modules (4Suite, RDFLib, Twisted and Racoon)
in my home directory, since Python installation is already installed in the
system
and I'm NOT its admin.
I cannot install pyvm (portable binary python machine) - have no such big
quota.
Any idea how can I solve it?

Best

maciek
Jul 18 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
set the PYTHON_PATH to include your home directory

Jul 18 '05 #2

P: n/a
wi******@hotmail.com wrote:
set the PYTHON_PATH to include your home directory

Its correct name is 'PYTHONPATH'.
Under C shell:

setenv PYTHONPATH /home/yourlogin/pythonlibs

Under bourne/bash:

set PYTHONPATH=/home/yourlogin/pythonlibs
export PYTHONPATH
--
__________________________________________________ _______________
Laszlo Nagy web: http://designasign.biz
IT Consultant mail: ga*****@geochemsource.com

Python forever!
Jul 18 '05 #3

P: n/a
On Sat, 2005-04-09 at 14:09 -0700, dzieciou wrote:
I'm new-comer in Python.
I want to install few Python modules (4Suite, RDFLib, Twisted and Racoon)
in my home directory, since Python installation is already installed in the
system
and I'm NOT its admin.
I cannot install pyvm (portable binary python machine) - have no such big
quota.
Any idea how can I solve it?


To install 4Suite in the home dir, use an incantation such as:

../setup.py config --prefix=$HOME/lib
../setup.py install

Note: I expect you also installed Python in your home dir?
--
Uche Ogbuji Fourthought, Inc.
http://uche.ogbuji.net http://fourthought.com
http://copia.ogbuji.net http://4Suite.org
Use CSS to display XML, part 2 - http://www-128.ibm.com/developerwork...xmlcss2-i.html
Writing and Reading XML with XIST - http://www.xml.com/pub/a/2005/03/16/py-xml.html
Use XSLT to prepare XML for import into OpenOffice Calc - http://www.ibm.com/developerworks/xml/library/x-oocalc/
Schema standardization for top-down semantic transparency - http://www-128.ibm.com/developerwork...x-think31.html

Jul 19 '05 #4

P: n/a
On Sat, 2005-04-16 at 08:12 -0600, Uche Ogbuji wrote:
On Sat, 2005-04-09 at 14:09 -0700, dzieciou wrote:
I'm new-comer in Python.
I want to install few Python modules (4Suite, RDFLib, Twisted and Racoon)
in my home directory, since Python installation is already installed in the
system
and I'm NOT its admin.
I cannot install pyvm (portable binary python machine) - have no such big
quota.
Any idea how can I solve it?


To install 4Suite in the home dir, use an incantation such as:

./setup.py config --prefix=$HOME/lib
./setup.py install

Note: I expect you also installed Python in your home dir?


BTW, I expanded on this suggestion at:

http://copia.ogbuji.net/blog/2005-04-16/Installing
--
Uche Ogbuji Fourthought, Inc.
http://uche.ogbuji.net http://fourthought.com
http://copia.ogbuji.net http://4Suite.org
Use CSS to display XML, part 2 - http://www-128.ibm.com/developerwork...xmlcss2-i.html
XML Output with 4Suite & AMara - http://www.xml.com/pub/a/2005/04/20/py-xml.html
Use XSLT to prepare XML for import into OpenOffice Calc - http://www.ibm.com/developerworks/xml/library/x-oocalc/
Schema standardization for top-down semantic transparency - http://www-128.ibm.com/developerwork...x-think31.html

Jul 19 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.