MakeHuman and Google Cloud Services

Tips, trick's, and links about computer graphics world

Moderator: joepal

MakeHuman and Google Cloud Services

Postby RobBaer » Wed Jan 04, 2017 4:10 pm

I was looking into google cloud services, and thought it might be interesting to see what happened with MakeHuman in that virtual environment. I installed a Ubuntu 14.04 virtual machine and ran the following commands to install makehuman:

Code: Select all
sudo add-apt-repository ppa:makehuman-official/makehuman-11x
sudo apt-get update
sudo apt-get install makehuman


MakeHuman is installed into the directory /usr/bin Running MakeHuman resulted in the following console output:
Code: Select all
rbaer@ubuntu-1404:/usr/bin$ makehuman
MakeHuman Copyright (C) 2001-2016 http://www.makehuman.org
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. For details use the option --license
data/VERSION file detected using value from version file: 2065:958a5d93e1d0
Initialized logging
VERSION: 1.1.0
HG REVISION: r2065 (958a5d93e1d0) [data/VERSION static revision data]
SHORT VERSION: v1.1.0
BASEMESH VERSION: hm08
IS BUILT (FROZEN): No
IS RELEASE VERSION: Yes
WORKING DIRECTORY: /usr/share/makehuman
HOME LOCATION: /home/rbaer
PYTHON PATH: ./:./lib:./apps:./shared:./apps/gui:./core:/usr/share/makehuman:/usr/lib/python2.7:/usr/lib/python2.7/
plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/loca
l/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages
DLL PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
SYS.VERSION: 2.7.6 (default, Oct 26 2016, 20:30:19)  [GCC 4.8.4]
SYS.PLATFORM: linux2
SYS.EXECUTABLE: /usr/bin/python
PLATFORM.MACHINE: x86_64
PLATFORM.PROCESSOR: x86_64
PLATFORM.UNAME.RELEASE: 4.4.0-53-generic
PLATFORM.LINUX_DISTRIBUTION: Ubuntu 14.04 trusty
NUMPY.VERSION: 1.8.2
No OpenGL_accelerate module loaded: No module named OpenGL_accelerate
Unable to load registered array format handler numeric
Unable to load registered array format handler vbo
Unable to load registered array format handler vbooffset
makehuman.py: cannot connect to X server
rbaer@ubuntu-1404:/usr/bin$


So, it seems that MakeHuman installs but does not run. Maybe this simply means Google cloud services can't support pyQT, but it was an interesting venture. Not quite sure how X server fits in and whether I needed to start something I didn't start??

Anyway, great fun on the cloud. Just thought I'd report back.
:mrgreen:
User avatar
RobBaer
 
Posts: 1208
Joined: Sat Jul 13, 2013 3:30 pm
Location: Kirksville, MO USA

Re: MakeHuman and Google Cloud Services

Postby joepal » Wed Jan 04, 2017 5:16 pm

Nah, the problem here is that you haven't got any X output defined:

Code: Select all
...
makehuman.py: cannot connect to X server


If you run from a linux box you can do:

Code: Select all
ssh -X <your account @ the google server>


This will forward the X output to your local machine.

On windows, you would need an X client, for example mobaxterm.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4465
Joined: Wed Jun 04, 2008 11:20 am


Return to Off topic

Who is online

Users browsing this forum: No registered users and 1 guest