Setting Python Path

The RobotEngine requires that PYTHONPATH is set in the system variables. Below is an example of how to set PYTHONPATH for Windows 7.

  1. Click on the “Startup Menu
  2. Click on “Computer
  3. In window, right click and select “Properties
  4. Click on “Advanced system settings
  5. Click on “Environment Variables”
  6. Under “System variables”, click the “New…” button
  7. For “Variable name:“, enter “PYTHONPATH
  8. For “Variable value:”, enter your python path.

For example, if Python is installed in the “C:\” directory, the “Variable value:” is as follow:

C:\Python27;C:\Python27\Lib;C:\Python27\DLLs;C:\Python27\Lib\site-packages;C:\Python27\Lib\lib-tk;

 

Python Path