Process Tools
Classification Scripting
Troubleshooting: System PATH
8 min
problem system is not calling the correct python when running commands such as python or pip, your system may be executing a different python installation than the one bundled with the amics terrarium environment this often results in the error modulenotfounderror no module named 'amics terrarium' this means the correct environment is not active, and the amics terrarium package is not being found diagnosis run the following command to see which python executable is being called where python if the first entry listed is not c \programdata\terrarium\0 4\python exe then your system is using another python installation solution 1 use the full path to terrarium python (recommended) always call python explicitly using its full path c \programdata\terrarium\0 4\python exe m pip list c \programdata\terrarium\0 4\python exe c "import amics terrarium; print('terrarium version ', amics terrarium version )" you can also use this path when configuring amics external script nodes solution 2 temporarily add terrarium python to path (current session only) in the current command prompt session, run set path=c \programdata\terrarium\0 4;%path% python m pip list this allows you to run python and pip as if the terrarium version were installed globally, but it only affects this terminal session solution 3 permanently add to system path (optional) only do this if you want the terrarium python interpreter available globally on your system press windows + r, type sysdm cpl, press enter go to the advanced tab click environment variables under system variables , select path and click edit click new , and enter click ok on all dialogs and open a new command prompt optional create a wrapper script (preffered solution) to simplify usage without modifying your path, create a batch file terrarium bat @echo off c \programdata\terrarium\0 4\python exe % place this in a directory already in your system path (e g , c \tools) then use terrarium m pip list terrarium my script py
