Closed sinki-blau closed 1 year ago
We have never used pyinstaller. Can you provide some further details on this? Does it fail from a pure script?
We have never used pyinstaller. Can you provide some further details on this? Does it fail from a pure script?
Hi! thanks for the reply! This pyInstaller is to package code into an executable .exe file. The purpose of importing arcgis package (ArcGIS API for Python) is that we want to download photos from survey123, a feature service. And the users can just use it out of the .exe package. But our problem is that even if its a simple import of arcgis with pyinstaller, it gives error and doesn't work.
You can see pyinstaller here https://realpython.com/pyinstaller-python/
Really appreciate your help!
Thanks, Braundt
Ok thanks for explaining that, my question is does your logic work without using pyinstaller?
This will help us try and see if it's pyinstaller or our package.
Facing a similar issue when trying to create a dist using pyinstaller of the script where arcgis is imported, getting the same error message as well. @achapkowski
We do not use pyinstaller but the error might be a python version mismatch. As of 2.1.0.3 the supported versions of Python are 3.7-3.9.
At the next version (2.2.0) we will drop support for python 3.7 and 3.8 and have support for python 3.9, 3.10, 3.11
Describe the bug script is beinging packaged by PyInstaller. If 'arcgis' library is imported, package is built successfully yet when launching dist .exe, many errors occur because of the .arcgis/auth library.
To Reproduce Steps to reproduce the behavior:
error:
Screenshots If applicable, add screenshots to help explain your problem.
Expected behavior Unsure why when importing arcgis library, even if script is being packaged, the .exe file still couldnt' run.
Platform (please complete the following information):
Additional context Add any other context about the problem here, attachments etc.