Skip to main content
Solved

PythonCreator Code Error

  • March 27, 2025
  • 2 replies
  • 44 views

sandrineyoubi
Contributor
Forum|alt.badge.img+6

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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

debbiatsafe
Safer
Forum|alt.badge.img+21
  • 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+6
  • Author
  • Contributor
  • April 1, 2025

Thank you for your assistance. It worked perfectly 😅!