Skip to main content
Solved

PythonCreator Code Error

  • Mar 27, 2025 3:42 PM UTC
  • 2 replies
  • 109 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.dll, pywintypes313.dll in FME 2025). In addition, the paths to insert using sys.path.insert() would likely different as well.

View original
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+24
  • Safer
  • Best Answer
  • Mar 28, 2025 12:31 AM UTC

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.dll, pywintypes313.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
  • Apr 1, 2025 8:21 PM UTC

Thank you for your assistance. It worked perfectly 😅!