oracle / graalpython

GraalPy – A high-performance embeddable Python 3 runtime for Java
https://www.graalvm.org/python/
Other
1.24k stars 108 forks source link

Cannot create virtual environment by default on OSX amd64 #415

Closed laserjim closed 2 months ago

laserjim commented 2 months ago

This issue is very similar to https://github.com/oracle/graalpython/issues/386 which seems to imply the underlying issue was not fixed, except I ran into the issue on Mac OS X using graalpy-24.0.2-macos-amd64.tar.gz

The workaround given in that thread (installing graalpy-24.0.2 at the beginning of $PATH instead of the end of $PATH) seems to have solved this problem.

Download GraalPy 24.0.2 (I used graalpy-24.0.2-macos-amd64.tar.gz) Add bin to $PATH Run: graalpy -m venv venv-dir When using graalpy-24.0.2-macos-amd64.tar.gz, I got an error like this:

`Error: [Errno 13] Permission denied: '

cc @steve-s

steve-s commented 2 months ago

That fix did not make it to the last release. I should be included in the next release (24.1.0 ) in September. You can also try dev builds from https://github.com/graalvm/graalvm-ce-dev-builds/releases.

laserjim commented 2 months ago

Ah, got it, thank you!