Skip to main content
Question

Python Exception ImportError fme-form-2023.2.1

  • March 11, 2024
  • 1 reply
  • 178 views

ciarab
Contributor
Forum|alt.badge.img+9

Some users in my organisation are getting the below error when using  using fme-form-2023.2.1-b23774-win-x64.

 

They have already looked at editing the path in environment variables and that didn't work. Any suggestions on a solution?

 

Python Exception <ImportError>: This package should not be accessible on Python 3. Either you are trying to run from the python-future src folder or your installation of python-future is corrupted.
Failed to import `fmesite'
Python Exception <ImportError>: This package should not be accessible on Python 3. Either you are trying to run from the python-future src folder or your installation of python-future is corrupted.
Failed to import `fme'
(PythonFactory): The Python Framework could not be started. PythonFactory could not initialize
The Python Framework could not be started. PythonFactory could not initialize

1 reply

AliAtSafe
Safer
Forum|alt.badge.img+19
  • Safer
  • March 12, 2024

Hi, @ciarab.

It seems, as you suggested, it is due to the Environment Path variables potentially not being set correctly. I would suggest to double-check to make certain that PATH, PYTHONPATH, PYTHONHOME, etc. are set properly; checking the output of the PATH variable too.

Additionally, do you know where the error is being produced (e.g., running the Python script in FME Form via the PythonCaller/Python startup script)?

Best,


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings