Page 1 of 1

troubleshooting a PYTHONHOME error message

Posted: Thu Jul 18, 2013 4:45 am
by ApsaraAdairia
Hello...

i'm running Ubuntu 13.04 and i appear to have python3.3, python3, AND python2.7 (suspecting this might be part of the problem, but since i'm currently unfamiliar with python, i don't really know for sure)

Even though i select "Allow executing file as program" in the .sh file's Properties>Permissions... however, i don't get the option to do so....

Lauching through the terminal returns the following message, but renpy still lauches- dunno if it works though because i'm stuck on this bit (also... i can't close the terminal without closing RenPy as well):

Code: Select all

Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
So my two questions...
How can i solve this issue? i've been browsing forums and similar issues for a few hours now with little success...

And... Shouldn't i be able to run RenPy without having the terminal remain open?

i can run it through WINE, but it's a quiry experience and i'd rather run the linux version anyway...

i hope that's enough info...
Thanks for any help.

Re: troubleshooting a PYTHONHOME error message

Posted: Thu Jul 18, 2013 5:44 pm
by pwisaguacate
Check to see if you are missing the python-tk package.

EDIT: If I recall correctly, this only affects being able to set the project directory.

Re: troubleshooting a PYTHONHOME error message

Posted: Thu Jul 18, 2013 7:40 pm
by Sslaxx
Here's what I did. Understand Ren'Py comes with a minimal distribution of Python with it, it doesn't require any pre-installed version. The error/warning messages are pretty harmless.

I don't run Ren'Py's scripts directly.

I installed Ren'Py to a different directory - in this case, /opt/Devel/RenPy. In the directory /usr/local/bin I created a shell script like so:

Code: Select all

cd /opt/Devel/Renpy/
./renpy.sh $*
I set the shell script to executable and then run that. No terminal is needed to be open.

Re: troubleshooting a PYTHONHOME error message

Posted: Fri Jul 19, 2013 12:00 am
by ApsaraAdairia
Thank you both for replying so quickly.
pwisaguacate wrote:Check to see if you are missing the python-tk package.
i have it
Sslaxx wrote:Here's what I did. Understand Ren'Py comes with a minimal distribution of Python with it, it doesn't require any pre-installed version. The error/warning messages are pretty harmless.

I don't run Ren'Py's scripts directly.

I installed Ren'Py to a different directory - in this case, /opt/Devel/RenPy. In the directory /usr/local/bin I created a shell script like so:

Code: Select all

cd /opt/Devel/Renpy/
./renpy.sh $*
I set the shell script to executable and then run that. No terminal is needed to be open.
this didn't work... for whatever reason, i'm not getting the option to run the script in that way... despite having the correct permissions applied...

is there anything else i can try?
i was able to get an older version installed through Ubuntu Software Center... so if i can find a way to update that, it might work... hmm...