Skip to main content

I am getting this error with the HDF connector, it seems imp was removed in 3.12 which ships with FME 2024, it seems IMP is deprecated in python 3.12  that ships with FME, would a repoint to a custom python interpreter of 3.11 fix this issue ?  or any other thoughts 

 

2025-1-21 12:20:37 | Message Type: fme::internal::_v0:🇵🇾:Exception
59 2025-1-21 12:20:37 | Python Exception <ModuleNotFoundError>: No module named 'imp'
60 2025-1-21 12:20:37 | PythonFactory failed to load python symbol `hdfsconnector.hdfsConnector.HDFSConnectorFactory'. An outdated FME packaged transformer may be in use. Please check Tools > FME Options > FME Packages to confirm that all FME Packages are up to date

Hello ​@mferwerda3 

This is a known issue with the HDFSConnector in FME 2024 that is tracked as FMEENGINE-83116. I will update this question once it has been resolved.

The workaround of using a custom Python 3.11 interpreter as you have suggested should work. Just do not use a Conda environment as there is another known issue (FMEENGINE-84685) where FME 2024 cannot be used with any Python 3.10+ Conda environments as it fails to load the Conda interpreter.

A 3.11 Python interpreter from Python.org (https://www.python.org/downloads/windows/) should work.


Reply