Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Windows: Bug in Interpreter Path Handling #245

Open
kummerer94 opened this issue Oct 25, 2023 · 0 comments
Open

Windows: Bug in Interpreter Path Handling #245

kummerer94 opened this issue Oct 25, 2023 · 0 comments

Comments

@kummerer94
Copy link

I am using shiv to create .pyz files for easy Python code execution on Windows. My usage is like this:

shiv --site-packages dist --compressed -p 'py -3.9' -o myapp.pyz -e myapp.main

For some reason, I am having issues with this now on Windows 11 with the newest python version / python launcher installed (Python Launcher for Windows Version 3.12.0):

C:\Users\Me\Downloads>myapp.pyz
Unable to create process using 'C:\Users\Me\Downloads\py -3.9 "C:\Users\Me\Downloads\myapp.pyz" ': The system cannot find the file specified.

Any help or direction with this would be greatly appreciated as I am not sure what to make of this. It seems like the path to the interpreter is prefixed with the current directory. Can I stop this from happening?

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

No branches or pull requests

1 participant