I am using macOS, and Anaconda 3 in order to manage my libraries and write the script.
I want to create an executable for my script.
I am using Pyinstaller in Terminal to run the command:
pyinstaller --onefile /Directory/file.py
However, Terminal returns this error:
File "/anaconda3/lib/python3.6/site-packages/PyInstaller/hooks/hook-sysconfig.py", line 42, in <module>
hiddenimports = [sysconfig._get_sysconfigdata_name()]
TypeError: _get_sysconfigdata_name() missing 1 required positional argument: 'check_exists'
How can I solve this problem; thank you for your assistance.