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 try to run pyinstaller on the following simple test.py file
importpyprojprint(pyproj.__version__)
With pyproj : 3.3.1
pyinstaller test.py; ./dist/test/test -> 3.3.1
With pyproj 3.4.0 I get the following error message
File "test.py", line 1, in <module>
import pyproj
File "PyInstaller/loader/pyimod02_importers.py", line 499, in exec_module
File "pyproj/__init__.py", line 70, in <module>
File "importlib/metadata.py", line 569, in version
File "importlib/metadata.py", line 542, in distribution
File "importlib/metadata.py", line 196, in from_name
importlib.metadata.PackageNotFoundError: pyproj
Context information (for bug reports)
Output of pyinstaller --version: 5.6.2
Version of Python: 3.9.12
Platform: Linux (Ubuntu)
How you installed Python: Through conda
Did you also try this on another platform? Does it work there? Did not try
try the latest development version, using the following command:
Run your frozen program from a command window (shell) — instead of double-clicking on it
Package your program in --onedir mode
Package without UPX, say: use the option --noupx or set upx=False in your .spec-file
Repackage you application in verbose/debug mode. For this, pass the option --debug to pyi-makespec or pyinstaller or use EXE(..., debug=1, ...) in your .spec file.
Description of the issue
I try to run pyinstaller on the following simple
test.py
fileWith pyproj :
3.3.1
pyinstaller test.py; ./dist/test/test
->3.3.1
With pyproj
3.4.0
I get the following error messageContext information (for bug reports)
Output of
pyinstaller --version
:5.6.2
Version of Python: 3.9.12
Platform: Linux (Ubuntu)
How you installed Python: Through conda
Did you also try this on another platform? Does it work there? Did not try
try the latest development version, using the following command:
same error
(https://github.com/pyinstaller/pyinstaller/wiki/If-Things-Go-Wrong) and
Make sure everything is packaged correctly
--noupx
or setupx=False
in your .spec-file--debug
topyi-makespec
orpyinstaller
or useEXE(..., debug=1, ...)
in your .spec file.A minimal example program which shows the error
Stacktrace / full error message
Running in debug mode, full logs attached
bug-pyproj-log.txt
Please also see https://github.com/pyinstaller/pyinstaller/wiki/How-to-Report-Bugs
for more about what would use to solve the issue.
The text was updated successfully, but these errors were encountered: