Hi all,
I build a very simple .exe script do to some data manipulation between files.
When I run it on my PC, all is fine, but If I pass it to a colleague, she gets the following error:
Traceback (most recent call last):
File "pandas\core\indexes\base.py", line 3805, in get_loc
File "index.pyx", line 167, in pandas._libs.index. IndexEngine.get_loc
File "index.pyx", line 191, in pandas. libs.index.IndexEngine.get_loc
File "index.pyx", line 234, in pandas. libs.index.IndexEngine._get_loc_duplicates
File "index.pyx", line 242, in pandas. libs.index. IndexEngine._maybe_get_bool_indexer File "index.pyx", line 134, in pandas. libs.index._unpack_bool_indexer
KeyError: 'Entity'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "script icp 5.py", line 33, in <module>
File "pandas\core\frame.py", line 4102, in getitem____
File "pandas\core\indexes\base.py", line 3812, in get_loc
KeyError: 'Entity'
[PYI-1964: ERROR] Failed to execute script 'script icp 5' due to unhandled exception!
How can I solve this? Should I build the EXE with other options for pyinstaller?
Thanks in advance for your help,
Christian