Skip to main content

Hi !

 

 

When using several python installations on the same server, they usually don't use windows python path environment variables. How ever, FME cannot start the python module without these (error messages about not being able to find libraries, as you can imagine)

 

 

Is there a good way to define unique environment variables (python home, python path) for fme in a config file ?

It sounds like you want to configure your Python path differently based on your interpreter. If you can't avoid it, you can accomplish this by modifying the Python path programmatically, at run time. You can modify 

sys.path
 in your Python code, which takes effect immediately.

There's been some recent (2017) changes to best practice with Python, in particular around workspace specific parameters that it may help you to see. This discussion thread was here.

Hope that helps, Dave


Reply