Support Center > Search Results > SecureKnowledge Details
Python commands in Maestro do not work when logged in as a new local user Technical Level
  • Python commands like do not work when the user is logged in as a new local user.
    Note: The command works correctly when the user is connected as an admin user.
  • The Python command fails with the following Python error:
    Traceback (most recent call last):
      File "/usr/local/bin/", line 31, in 
        from test_infra_common import *
      File "/usr/local/bin/", line 17, in 
        from python_sdk_api.sx_api import *
    ImportError: No module named python_sdk_api.sx_api

There are no Python environment variables in the /home/<user>/.bashrc file.

Note: To view this solution you need to Sign In .