<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.makehumancommunity.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Kshepherd</id>
		<title>MakeHuman Community Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://www.makehumancommunity.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Kshepherd"/>
		<link rel="alternate" type="text/html" href="http://www.makehumancommunity.org/wiki/Special:Contributions/Kshepherd"/>
		<updated>2026-04-19T22:28:04Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.25.1</generator>

	<entry>
		<id>http://www.makehumancommunity.org/w/index.php?title=FAQ:How_can_I_run_the_same_code_as_the_nightly_build_from_source%3F&amp;diff=2143</id>
		<title>FAQ:How can I run the same code as the nightly build from source?</title>
		<link rel="alternate" type="text/html" href="http://www.makehumancommunity.org/w/index.php?title=FAQ:How_can_I_run_the_same_code_as_the_nightly_build_from_source%3F&amp;diff=2143"/>
				<updated>2022-07-04T12:16:05Z</updated>
		
		<summary type="html">&lt;p&gt;Kshepherd: /* Installing dependencies */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note that these instructions are for running the development code which resides on github. They are specifically ''not'' for running the old python 2 based code from bitbucket. &lt;br /&gt;
&lt;br /&gt;
To run the code you will in summary need:&lt;br /&gt;
&lt;br /&gt;
* Python 3 (any python version, including Anaconda, from 3.5.0 and upwards)&lt;br /&gt;
* PyQT5&lt;br /&gt;
* PyOpenGL&lt;br /&gt;
* numpy&lt;br /&gt;
&lt;br /&gt;
== Running from source on Linux ==&lt;br /&gt;
&lt;br /&gt;
These instructions are written for Ubuntu 20.04. Other systems might need a slightly adapted procedure.&lt;br /&gt;
&lt;br /&gt;
=== Installing dependencies ===&lt;br /&gt;
&lt;br /&gt;
All dependencies are available via apt:&lt;br /&gt;
&lt;br /&gt;
    sudo apt-get install python3 python3-opengl python3-pyqt5 python3-pyqt5.qtopengl python3-pyqt5.qtsvg python3-numpy git git-lfs&lt;br /&gt;
&lt;br /&gt;
=== Getting the source ===&lt;br /&gt;
&lt;br /&gt;
As we fetch source code from several repos, let's make a subdir in our home to store everything:&lt;br /&gt;
&lt;br /&gt;
    cd ~&lt;br /&gt;
    mkdir makehuman-devel&lt;br /&gt;
    cd makehuman-devel&lt;br /&gt;
&lt;br /&gt;
Fetch all source directories. For now we'll use a fork of MHX2, but once we're sure our py3 port works we'll send a pull request back to Thomas:&lt;br /&gt;
&lt;br /&gt;
    git clone https://github.com/makehumancommunity/makehuman.git&lt;br /&gt;
    git clone https://github.com/makehumancommunity/community-plugins-mhapi.git&lt;br /&gt;
    git clone https://github.com/makehumancommunity/community-plugins-assetdownload.git&lt;br /&gt;
    git clone https://github.com/makehumancommunity/mhx2-makehuman-exchange&lt;br /&gt;
&lt;br /&gt;
=== Link plugins ===&lt;br /&gt;
&lt;br /&gt;
We'll put symlinks in the plugin directory so that we can simply pull from the plugin repos and get the newest versions later on.&lt;br /&gt;
&lt;br /&gt;
    cd makehuman/makehuman/plugins&lt;br /&gt;
    ln -s ../../../community-plugins-mhapi/1_mhapi&lt;br /&gt;
    ln -s ../../../community-plugins-assetdownload/8_asset_downloader&lt;br /&gt;
    ln -s ../../../mhx2-makehuman-exchange/9_export_mhx2&lt;br /&gt;
&lt;br /&gt;
=== Download core assets ===&lt;br /&gt;
&lt;br /&gt;
Cd to the makehuman dir and run the download script&lt;br /&gt;
&lt;br /&gt;
    cd ..&lt;br /&gt;
    python3 download_assets_git.py&lt;br /&gt;
&lt;br /&gt;
You can also optionally run the compile*.py scripts to generate NPZ files, but this is strictly speaking not necessary&lt;br /&gt;
&lt;br /&gt;
=== Start makehuman ===&lt;br /&gt;
&lt;br /&gt;
To start MH be sure to use python3:&lt;br /&gt;
&lt;br /&gt;
    python3 makehuman.py&lt;br /&gt;
&lt;br /&gt;
If you get a crash or no toon is visible in the window, try:&lt;br /&gt;
&lt;br /&gt;
    python3 makehuman.py --noshaders&lt;br /&gt;
&lt;br /&gt;
== Running from source on windows ==&lt;br /&gt;
&lt;br /&gt;
These instructions should work independently of windows version. &lt;br /&gt;
&lt;br /&gt;
=== Installing dependencies ===&lt;br /&gt;
&lt;br /&gt;
The only thing you need to download manually is Python. Any python from version 3.6.0 and upwards should work, including versions such as Anaconda. &lt;br /&gt;
&lt;br /&gt;
You can get an official python here: https://www.python.org/downloads/&lt;br /&gt;
&lt;br /&gt;
It should not matter if you download 32 or 64 bit versions. &lt;br /&gt;
&lt;br /&gt;
When installing python, opt to add python to PATH. &lt;br /&gt;
&lt;br /&gt;
After having installed python, start a command prompt (left windows key + r, enter &amp;quot;cmd&amp;quot;), run the following commands to install the dependencies:&lt;br /&gt;
&lt;br /&gt;
    pip install numpy&lt;br /&gt;
    pip install pyopengl&lt;br /&gt;
    pip install pyqt5&lt;br /&gt;
&lt;br /&gt;
If it says it cannot find the command &amp;quot;pip&amp;quot;, you will have to specify the full path to it. This should be in the &amp;quot;scripts&amp;quot; dir where you installed python.&lt;br /&gt;
&lt;br /&gt;
=== Getting the source ===&lt;br /&gt;
&lt;br /&gt;
Quickest and easiest is to download a zip file of the repository, although you will most likely want to use git. &lt;br /&gt;
&lt;br /&gt;
You can find the zip file here: https://github.com/makehumancommunity/makehuman/archive/master.zip&lt;br /&gt;
&lt;br /&gt;
If you use git, the address to clone is https://github.com/makehumancommunity/makehuman.git&lt;br /&gt;
&lt;br /&gt;
Unzip / clone the source at an appropriate location. &lt;br /&gt;
&lt;br /&gt;
=== Download core assets ===&lt;br /&gt;
&lt;br /&gt;
Again start a command prompt, &amp;quot;cd&amp;quot; to the &amp;quot;makehuman&amp;quot; subdir of where you put the source, and run the download script&lt;br /&gt;
&lt;br /&gt;
    python download_assets_git.py&lt;br /&gt;
&lt;br /&gt;
It is normal that this script takes a (very) long time to finish, but all subsequent updates should be more or less immediate. &lt;br /&gt;
&lt;br /&gt;
The above command requires that git is installed with support for git LFS, see https://git-lfs.github.com/. It it's not possible to use git with lfs, you can instead run&lt;br /&gt;
&lt;br /&gt;
    python download_assets.py&lt;br /&gt;
&lt;br /&gt;
But this is deprecated and will currently fetch outdated assets.&lt;br /&gt;
&lt;br /&gt;
You can also optionally run the compile*.py scripts to generate NPZ files, but this is strictly speaking not necessary.&lt;br /&gt;
&lt;br /&gt;
=== Start makehuman ===&lt;br /&gt;
&lt;br /&gt;
To start MH:&lt;br /&gt;
&lt;br /&gt;
    python makehuman.py&lt;br /&gt;
&lt;br /&gt;
If you get a crash or no toon is visible in the window, try:&lt;br /&gt;
&lt;br /&gt;
    python makehuman.py --noshaders&lt;br /&gt;
&lt;br /&gt;
== Running from source on Mac ==&lt;br /&gt;
&lt;br /&gt;
To be written&lt;/div&gt;</summary>
		<author><name>Kshepherd</name></author>	</entry>

	</feed>