Answer the question
In order to leave comments, you need to log in
Why does the path change after using Pyinstaller?
I specify the path to the win32com excel library COM via __gen_path__ in __init__.py
__gen_path__ = 'C:\\Users\\kfd23\\Desktop\\Excel\\RX\\gen_py\\3.7'
print(win32com.__gen_path__)
C:\Users\kfd23\Desktop\Excel\RX\gen_py\3.7
C:\Users\kfd23\AppData\Local\Temp\tmpg63kwlo3\gen_py
Traceback (most recent call last):
File "new_proba_importa.py", line 14, in <module>
File "win32com\client\__init__.py", line 178, in __getattr__
AttributeError: xlXYScatterLinesNoMarkers
[10228] Failed to execute script new_proba_importa
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question