Ren'Py dependencies (linux)? [answered]

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
fluxus
Regular
Posts: 133
Joined: Thu Jun 19, 2014 8:06 am
Projects: Animal Anaesthesia (a teaching game)
Contact:

Ren'Py dependencies (linux)? [answered]

#1 Post by fluxus » Sun Sep 07, 2014 6:36 am

So.. I recently reinstalled my system and am now at a freshly-minted Linux Mint 17. Which is good, since now I'm on a distribution which is actually still supported (cough).

Interestingly (chinese sense of the word) I run into trouble when installing Ren'Py. Both 6.17 and 6.18. Apparently it needs python-tk and wxPython.
My system looks like it's running Python 2.7. Should I upgrade to Python 3.4 for Ren'Py to work properly?
Or something else?

I think it's a little odd, since Ren'Py is supposed to run out of the box - which admittedly it did on a windows laptop and also without too much trouble on my old system, I think. Though that's a while ago now :]
Last edited by fluxus on Sun Sep 07, 2014 8:05 am, edited 1 time in total.

User avatar
Asceai
Eileen-Class Veteran
Posts: 1258
Joined: Fri Sep 21, 2007 7:13 am
Projects: a battle engine
Contact:

Re: Ren'Py dependencies (linux)?

#2 Post by Asceai » Sun Sep 07, 2014 7:27 am

renpy uses python 2.7. Something to know about python: python3 is different to python2. python 3.4 is not an upgrade to python 2.7. python 2.7 is the latest version of python2. python 3.4 is the latest version of python3.

Just install what it needs.

User avatar
fluxus
Regular
Posts: 133
Joined: Thu Jun 19, 2014 8:06 am
Projects: Animal Anaesthesia (a teaching game)
Contact:

Re: Ren'Py dependencies (linux)?

#3 Post by fluxus » Sun Sep 07, 2014 8:05 am

Ah-hah. Interesting. And good thing I asked then.

Thanks! :)

User avatar
PyTom
Ren'Py Creator
Posts: 15437
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Ren'Py dependencies (linux)? [answered]

#4 Post by PyTom » Sun Sep 07, 2014 9:17 am

Ren'Py should ship out of the box. So if it doesn't run on a fresh mint, please drop to the command line, run renpy.sh, and let me know what the error is.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
fluxus
Regular
Posts: 133
Joined: Thu Jun 19, 2014 8:06 am
Projects: Animal Anaesthesia (a teaching game)
Contact:

Re: Ren'Py dependencies (linux)? [answered]

#5 Post by fluxus » Sun Sep 07, 2014 12:24 pm

Aha? Ok, done..

On attempted launch of Editra by clicking script.rpy from the menu:

Code: Select all

Traceback (most recent call last):
  File "/home/<username>/Programming/renpy-6.17.7-sdk/editra/Editra/editra", line 79, in <module>
    main()
  File "/home/<username>/Programming/renpy-6.17.7-sdk/editra/Editra/editra", line 74, in main
    import Editra
  File "/home/<username>/Programming/renpy-6.17.7-sdk/editra/Editra/src/Editra.py", line 33, in <module>
    import wxversion
ImportError: No module named wxversion
The other dependency was on tkinter / python-tk which I then installed and things went fine after that, but I can try uninstalling again; brb.
(edited out username from error message)

User avatar
PyTom
Ren'Py Creator
Posts: 15437
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Ren'Py dependencies (linux)? [answered]

#6 Post by PyTom » Sun Sep 07, 2014 12:30 pm

Oh, that.

Editra uses the system python, so you'll need to install python-wxgtk2.8.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
fluxus
Regular
Posts: 133
Joined: Thu Jun 19, 2014 8:06 am
Projects: Animal Anaesthesia (a teaching game)
Contact:

Re: Ren'Py dependencies (linux)? [answered]

#7 Post by fluxus » Sun Sep 07, 2014 12:36 pm

Hmm. I removed package python-tk again, but the error I experienced before hasn't returned; tried using renpy 6.17.7 again freshly unpacked, but everything now goes smoothly until it hits the wxpython dependency as above.

python-wxgtk2.8, ok, will do.. and thanks, I wasn't sure which package I was supposed to install :]

Post Reply

Who is online

Users browsing this forum: Draite, Google [Bot], Imperf3kt