You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was following along with the PyInstaller tutorial that goes along with this project, and I received an error.
$pyinstaller cli.py --onefile
The 'typing' package is an obsolete backport of a standard library package and is incompatible with PyInstaller. Please conda remove t>yping then try again.
I was able to use pip uninstall typing to remove typing, and then PyInstaller was able to create the executable, but the executable fails.
Here is the traceback when I ran the executable from the command line.
$cli.exe
Traceback (most recent call last):
File "C:\Users\<user>\Downloads\Test2\reader\cli.py", line 1, in <module>
from reader.__main__ import main
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "PyInstaller\loader\pyimod03_importers.py", line 495, in exec_module
File "reader\__init__.py", line 22, in <module>
File "configparser.py", line 782, in get
File "configparser.py", line 1153, in _unify_values
configparser.NoSectionError: No section: 'feed'
[244572] Failed to execute script 'cli' due to unhandled exception!
I was following along with the PyInstaller tutorial that goes along with this project, and I received an error.
I was able to use
pip uninstall typing
to remove typing, and then PyInstaller was able to create the executable, but the executable fails.Here is the traceback when I ran the executable from the command line.
Link to PyInstaller tutorial:
https://realpython.com/pyinstaller-python/#debugging-pyinstaller-executables
Here is my environment after I removed
typing
:The text was updated successfully, but these errors were encountered: