If you expect to use a Python interpreter on the user’s machine then PyInstaller is completely the wrong tool. Assuming that Python interpreter is at a fixed location, you’re probably better off shipping your raw Python code along with a .bat file along the lines of: cd /D "%~dp0" "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\python.exe" your-code.py
-- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to pyinstaller+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/9bde9ad4-1c77-49d5-ad56-2fbb2f812dfen%40googlegroups.com.