Hello everyone,
I have a relatively simple script I am trying to package into an .app file using pyinstaller. Unfortunately I am getting these errors and I don’t know how to resolve them. I would really appreciate any help troubleshooting the below errors.
Thank you in advance.
Traceback (most recent call last):
File “/Library/Frameworks/Python.framework/Versions/3.14/bin/pyinstaller”, line 8, in <module>
sys.exit(run())
~~~^^
File “/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/PyInstaller/__main__.py”, line 107, in run
parser = generate_parser()
File “/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/PyInstaller/__main__.py”, line 78, in generate_parser
import PyInstaller.building.build_main
File “/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/PyInstaller/building/build_main.py”, line 35, in <module>
from PyInstaller.depend import bindepend
File “/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/PyInstaller/depend/bindepend.py”, line 26, in <module>
from PyInstaller.depend import dylib, utils
File “/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/PyInstaller/depend/utils.py”, line 28, in <module>
from PyInstaller.lib.modulegraph import util, modulegraph
File “/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/PyInstaller/lib/modulegraph/util.py”, line 8, in <module>
import imp
ModuleNotFoundError: No module named ‘imp’
submitted by /u/circasurvivor1
[link] [comments]
r/learnpython Hello everyone, I have a relatively simple script I am trying to package into an .app file using pyinstaller. Unfortunately I am getting these errors and I don’t know how to resolve them. I would really appreciate any help troubleshooting the below errors. Thank you in advance. Traceback (most recent call last): File “/Library/Frameworks/Python.framework/Versions/3.14/bin/pyinstaller”, line 8, in <module> sys.exit(run()) ~~~^^ File “/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/PyInstaller/__main__.py”, line 107, in run parser = generate_parser() File “/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/PyInstaller/__main__.py”, line 78, in generate_parser import PyInstaller.building.build_main File “/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/PyInstaller/building/build_main.py”, line 35, in <module> from PyInstaller.depend import bindepend File “/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/PyInstaller/depend/bindepend.py”, line 26, in <module> from PyInstaller.depend import dylib, utils File “/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/PyInstaller/depend/utils.py”, line 28, in <module> from PyInstaller.lib.modulegraph import util, modulegraph File “/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/PyInstaller/lib/modulegraph/util.py”, line 8, in <module> import imp ModuleNotFoundError: No module named ‘imp’ submitted by /u/circasurvivor1 [link] [comments]
Hello everyone,
I have a relatively simple script I am trying to package into an .app file using pyinstaller. Unfortunately I am getting these errors and I don’t know how to resolve them. I would really appreciate any help troubleshooting the below errors.
Thank you in advance.
Traceback (most recent call last):
File “/Library/Frameworks/Python.framework/Versions/3.14/bin/pyinstaller”, line 8, in <module>
sys.exit(run())
~~~^^
File “/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/PyInstaller/__main__.py”, line 107, in run
parser = generate_parser()
File “/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/PyInstaller/__main__.py”, line 78, in generate_parser
import PyInstaller.building.build_main
File “/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/PyInstaller/building/build_main.py”, line 35, in <module>
from PyInstaller.depend import bindepend
File “/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/PyInstaller/depend/bindepend.py”, line 26, in <module>
from PyInstaller.depend import dylib, utils
File “/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/PyInstaller/depend/utils.py”, line 28, in <module>
from PyInstaller.lib.modulegraph import util, modulegraph
File “/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/PyInstaller/lib/modulegraph/util.py”, line 8, in <module>
import imp
ModuleNotFoundError: No module named ‘imp’
submitted by /u/circasurvivor1
[link] [comments]