-
-
Notifications
You must be signed in to change notification settings - Fork 470
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
Rye 0.21.0 cannot locate pip #594
Comments
I'm quite confused that it tried to download 3.9. Can you wipe the |
@mitsuhiko I wanted python 3.9 and added this to the pyproject.toml:
First it installs 3.12.1 like this: Bootstrapping rye internals Then when it comes to Downloading [email protected] But fails because of pip. |
Can you please dump the output of |
Got same error, this error occurs with Rye version 0.20.0 and higher. Currently, we downgraded Rye to 0.19.0, what solved the problem. |
Same question, can you share the output of |
I believe I have found a case where this can happen. Should be fixed in the next version but it would be great if you could check if this fixes it already. |
@mitsuhiko this did not fix it. Here is additional Info: |
@mitsuhiko will this be fixed in the next version or should I create a new issue for that? |
I had the same issue and investigated a bit in this draft PR: eifinger/setup-rye#153 1st commit just using 2nd commit updating the lock files with 0.21.0 locally and pushing again failed : link to run 3rd commit running |
Please open a new issue if this still reproduces on the latest version. |
@mitsuhiko works perfectly on the latest version! Thanks a lot! |
Also fixed on my end. Thanks! |
Steps to Reproduce
Script:
$ curl -sSf https://rye-up.com/get | RYE_INSTALL_OPTION="--yes" bash
$ . "$HOME/.rye/env"
$ rye sync --no-lock
Expected Result
Downloading [email protected]
Checking checksum
success: Downloaded [email protected]
Initializing new virtualenv in /builds/FOLDERNAME/.venv
Python version: [email protected]
Installing dependencies
Creating virtualenv for pip-tools
Looking in indexes: https://pypi.org/simple/
Actual Result
Downloading [email protected]
Checking checksum
success: Downloaded [email protected]
Reusing already existing virtualenv
Installing dependencies
error: could not locate pip
Caused by:
No such file or directory (os error 2)
Version Info
0.21.0
Stacktrace
No response
The text was updated successfully, but these errors were encountered: