Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

pro=True returns unexpected keyword #40

Open
tmart42 opened this issue Aug 28, 2024 · 1 comment
Open

pro=True returns unexpected keyword #40

tmart42 opened this issue Aug 28, 2024 · 1 comment

Comments

@tmart42
Copy link

tmart42 commented Aug 28, 2024

File "C:\Users\u\AppData\Local\ESRI\conda\envs\arcgispro-py3-updated-240716\Lib\site-packages\PyInstaller_main_.py", line 180, in run
run_build(pyi_config, spec_file, **vars(args))
File "C:\Users\u\AppData\Local\ESRI\conda\envs\arcgispro-py3-updated-240716\Lib\site-packages\PyInstaller_main_.py", line 61, in run_build
PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
File "C:\Users\u\AppData\Local\ESRI\conda\envs\arcgispro-py3-updated-240716\Lib\site-packages\PyInstaller\building\build_main.py", line 1019, in main
build(specfile, distpath, workpath, clean_build)
File "C:\Users\u\AppData\Local\ESRI\conda\envs\arcgispro-py3-updated-240716\Lib\site-packages\PyInstaller\building\build_main.py", line 944, in build
exec(code, spec_namespace)
File "pyfile.spec", line 7, in
archook.get_arcpy(pro=True)
TypeError: get_arcpy() got an unexpected keyword argument 'pro'

@maphew
Copy link

maphew commented Aug 28, 2024

Thanks for the report.

I don't know much about Pyinstaller, but in experiments a long time ago with other programs I learned that some libraries/modules need to be explicitly included as the auto-discovery mechanism doesn't always add them to the bundle. That's just a wild guess though.

Also look at #30.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants