Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Installing python, How can I install python?< Next Oldest | Next Newest >
Guest
Unregistered






Posted: Nov. 19 2006,19:37 QUOTE

Hi,
I'm not sure I installed phyton on my dsl:
I just shared from Mydsl python2.3 and then I unpackcaed the tar.gz file. (I didn't find the file install)
this is the error:

root@box:/opt/opt/python# python2.3
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
Python 2.3.4 (#2, Jan  5 2005, 08:24:51)
[GCC 3.3.5 (Debian 1:3.3.5-5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>

what can I do?
thak you
raimondo
Back to top
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Nov. 19 2006,20:43 QUOTE

This is not directly related to your error message, but unpacking a mydsl extension into the filesystem can cause problems with file ownerships and permissions.  Using the mydsl-load command or the mydsl gui ("MyDSL" desktop icon or "mydslPanel.lua" command) is the proper way to install extensions.

You will probably need to set the PYTHONHOME variable to point to the python installation, as the error message stated:
export PYTHONHOME=/opt/python (or something similar)
Depending on the application, you may also need to set PYTHONPATH and PATH variables.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
Guest
Unregistered






Posted: Nov. 20 2006,12:36 QUOTE

thank you
Back to top
2 replies since Nov. 19 2006,19:37 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Installing python

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code