Installation¶
There are several ways to install jukebox-maya. One way would be to install it directly into the sitepackage dir of maya. The only problem is, that you need to configure your environment to use the maya python intepreter and have admin rights.
To work around that you could also install jukebox-maya into a virutal environment and modify your Maya.env and userSetup.py slightly:
Install Python 2.7 64-bit.
Install virtual env:
$ pip install virtualenvCreate a virtual env on some location where you do not need admin rights. Go to that location and use:
$ virtualenv ENVThis will install a new virtual env in the folder ENV. So change the name accordingly.
Activate the virtual environment. On posix:
$ source bin/activateOn windows:
$ scripts/activateInstall the psycopg2 dependency. See Installation on how to do that.
Install jukebox-maya:
$ pip install jukebox-mayaAdd the virtual environment paths to your Maya.env. Add this line on linux:
PATH = path/to/env/Lib/site-packages:path/to/env/Include:path/to/env/Scripts:or on windows:
PATH = path\to\env\Lib\site-packages;path\to\env\Include;path\to\env\Scripts;Add these lines to your userSetup.py:
import maya.utils import site site.addsitedir(r"path/to/env/Lib/site-packages") import jukeboxmaya.main maya.utils.executeDeferred(jukeboxmaya.main.init)Start Maya and check the new Jukebox menu entry.