ModuleNotFoundError: No module named 'pandas'
[21761] Failed to execute script
When running Pyinstaller --debug=imports, I find the following:
# pandas not found in PYZ
Traceback (most recent call last):
File "UI.py", line 4, in <module>
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'pandas'
I have already tried adding 'pandas' to hidden-import in the pip command, as well as creating a hook-pandas.py.
I am running Python 3.8 and Pyinstaller 4.0.dev0+9dd34bdfba on macOS Catalina.
Can anybody please help me resolve this issue?