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
folder or folders. Might
work!
Steve
From: pyinstaller@googlegroups.com On Behalf Of
Adam Fackler
Sent: Wednesday, March 6, 2024 11:11 PM
To: PyInstaller
Subject: [PyInstaller] Set interpreter when creating executable
Hello all,
I built out a python script that utilizes a python library
Hello all,
I built out a python script that utilizes a python library called ArcPy
which is part of the ArcGIS Pro Desktop program. To run a script using this
python library, I must run the script using the python interpreter found in
the ArcGIS Pro folder structure, in this case the default