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

klippy-env is corrupted #41

Open
Jomik opened this issue Dec 12, 2024 · 0 comments
Open

klippy-env is corrupted #41

Jomik opened this issue Dec 12, 2024 · 0 comments

Comments

@Jomik
Copy link

Jomik commented Dec 12, 2024

The klippy-env is created in the build image, in the /build directory. This results in a shebang like #!/build/klippy-env/bin/python at the top of all the binaries in the venv.
python works because it is symlinked to /usr/bin/python3, but pip and wheel both fail, because they try to access python in a place that does not exist.
We can either...

  • sed the venv files after they have been made.
  • Make the venv in /home/printer.
  • Create a symlink in /build/klippy-env to /home/printer/klippy-env for the full loop 😄
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