You can install trojai using pip:

pip install trojai

Or if you wish to install to the home directory:

pip install --user trojai

For the latest development version, first get the source from github:

git clone

Then navigate into the local trojai directory and simply run:

python install


python install --user

and you’re done!