You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Step 1# Refer to the official documentation to create a runnable project# https://rye-up.com/guide/basics/#executable-projects
$ rye init --script hello-rye
success: Initialized project in ~\Desktop\hello-rye
# Step 2# Fix the Python version
$ rye pin 3.12
pinned 3.12.2in ~\Desktop\hello-rye\.python-version
# Step 3# First Sync
$ rye sync
Initializing new virtualenv in ~\Desktop\hello-rye\.venv
Python version: cpython@3.12.2
Generating production lockfile: ~\Desktop\hello-rye\requirements.lock
error: could not write production lockfile for project
Caused by:
0: unable to run pip-compile
1: 系统找不到指定的文件。 (os error 2)
Expected Result
After first rye sync, I could run the command:
$ rye run hello-rye
Actual Result
Reusing already existing virtualenv
Generating production lockfile: C:\Users\wuking\Desktop\hello-rye\requirements.lock
error: could not write production lockfile for project
Caused by:
0: unable to run pip-compile
1: 系统找不到指定的文件。 (os error 2)
Steps to Reproduce
I did the following steps:
Expected Result
After first
rye sync
, I could run the command:$ rye run hello-rye
Actual Result
Version Info
Stacktrace
The text was updated successfully, but these errors were encountered: