I have found the problem. You have to go erase the folder gen_py in : C:\Users\username\AppData\Local\Temp
Once i did it, the problem was no longer there.
------------------------------
David Boucher
Korem Geospatial Software & Data
Quebec QC
------------------------------
Original Message:
Sent: 05-11-2021 10:58
From: David Boucher
Subject: Exception name 'IMapInfo3' is not defined
Hello,
I am trying to run MapInfo with Python as a COM object like this :
import win32com.client
pro = win32com.client.Dispatch("MapInfo.Application.x64")
But when the program try to execute this last line, i get the following message and my program ends with an error and this message :
"Exception name 'IMapInfo3' is not defined"
Any idea of what's the problem ? I have not found any information on IMapInfo3
Thanks !
------------------------------
David Boucher
Korem Geospatial Software & Data
Quebec QC
------------------------------