Installation
UDon2 from PyPi
Pre-compiled version of UDon2 is available to be installed via pip (see the command below) for the following platforms:
- all Linux distributions (32 and 64 bit) for Python 3.7 - 3.9 (support for Python 3.6 prior to UDon2 v0.1.0)
- Windows (32 and 64 bit) for Python 3.7 - 3.9
- macOS for Python 3.7 - 3.9
pip install udon2
UDon2 from sources
The source code is available on GitHub. Pre-compiled version of UDon2 is pretty quick, but it could be made even faster by compiling from sources for your own machine specifically. You might also try to compile it on MacOS, but this was not tested, so do it at your own risk.
Prerequisites
- C++ compiler (gcc, g++ for Unix systems or msvc for Windows)
- Boost.Python (tested for 1.71+)
- Ubuntu:
sudo apt-get install libboost-python-dev
- Other Linux distributions: take the name of the package here and install it using your favourite package manager OR compile from sources
- Windows: download and install a pre-built binary from here OR compile from sources
- Ubuntu:
Compile & install
- Specify the environmental variable
BOOST_DIR
wit a directory of your Boost installation (for Linux the directory should containinclude
andlib
folders, for Windows -lib<arch>-msvc-*
andboost
folders, where<arch>
is your platform architecture). python setup.py bdist_wheel
pip install dist/udon2-<version>-<system_details>.whl --user