[SOLVED]MH doesn't start on Ubuntu 9.04

Tech support and suggestions forum. If you only have a basic question on how to get started, please use the "newbies" forum in the community section.

Moderator: joepal

[SOLVED]MH doesn't start on Ubuntu 9.04

Postby toneddu2000 » Fri Jan 29, 2010 4:48 pm

For those who installed MH on Ubuntu 9.04, they had started and this message popped up:
Code: Select all
/usr/lib/python2.6/site.py:143: Warning: 'with' will become a reserved keyword in Python 2.6
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "main.py", line 56, in <module>
    import os
  File "/usr/lib/python2.6/os.py", line 757
    bs = b""
           ^
SyntaxError: invalid syntax
Could not run main Python script


Just Install python 2.5 and python 2.5-dev (you DON'T HAVE TO UNINSTALL python 2.6! Just install 2.5 too!)
then open a terminal and type:
Code: Select all
cd /home/yourusername
gedit .bashrc


Scroll down until you find a string like this:
Code: Select all
export PYTHONPATH=/usr/lib/python2.6:/usr/lib/python2.6/plat-linux2:/usr/lib/python2.6/lib-tk:/usr/lib/python2.6/lib-dynload:/usr/lib/python2.6/site-packages


Just add ABOVE this string a string like this:
Code: Select all
export PYTHONPATH=/usr/lib/python2.5:/usr/lib/python2.5/plat-linux2:/usr/lib/python2.5/lib-tk:/usr/lib/python2.5/lib-dynload:/usr/lib/python2.5/site-packages

Save and close .bashrc

start makehuman by typing makehuman and that's it!
toneddu2000
 
Posts: 2
Joined: Wed Jan 27, 2010 5:17 pm

Re: [SOLVED]MH doesn't start on Ubuntu 9.04

Postby joepal » Fri Jan 29, 2010 5:18 pm

This should most definitely not be needed on the amd64 version though.

I assume you are talking about the i386 tarball and not any deb based installation?
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4465
Joined: Wed Jun 04, 2008 11:20 am

Re: [SOLVED]MH doesn't start on Ubuntu 9.04

Postby toneddu2000 » Mon Feb 01, 2010 8:56 am

No, no, I'm talking about i386 DEB installation found here.This is why is so strange!
toneddu2000
 
Posts: 2
Joined: Wed Jan 27, 2010 5:17 pm

Re: [SOLVED]MH doesn't start on Ubuntu 9.04

Postby joepal » Mon Feb 01, 2010 5:38 pm

toneddu2000 wrote:No, no, I'm talking about i386 DEB installation found here.This is why is so strange!


That is indeed strange. I'll take a look at it once we're up and running again with the hosting and deb building.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4465
Joined: Wed Jun 04, 2008 11:20 am


Return to Bugs, problems and feature requests

Who is online

Users browsing this forum: No registered users and 1 guest