Skip to main content
Solved

PythonCreator Code Error


sandrineyoubi
Contributor
Forum|alt.badge.img+5

I have error messages when trying to run python script. I installed fme.exe python -m pip install pywin32 before import win32com.client but encountered a lot of error messages. Please see script attached. Please help. 

Thank you.

Best answer by debbiatsafe

Hello ​@sandrineyoubi 

The pywin32 Python library requires some additional configuration after installation. Please try following the steps as noted in this Community post:

Note that you may be looking for different DLL names as the Python will have been upgraded in newer versions of FME (eg. pythoncom313.dllpywintypes313.dll in FME 2025). In addition, the paths to insert using sys.path.insert() would likely different as well.

View original
Did this help you find an answer to your question?

2 replies

debbiatsafe
Safer
Forum|alt.badge.img+20
  • Safer
  • Best Answer
  • March 28, 2025

Hello ​@sandrineyoubi 

The pywin32 Python library requires some additional configuration after installation. Please try following the steps as noted in this Community post:

Note that you may be looking for different DLL names as the Python will have been upgraded in newer versions of FME (eg. pythoncom313.dllpywintypes313.dll in FME 2025). In addition, the paths to insert using sys.path.insert() would likely different as well.


sandrineyoubi
Contributor
Forum|alt.badge.img+5

Thank you for your assistance. It worked perfectly 😅!


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