astral-sh / rye

a Hassle-Free Python Experience
https://rye.astral.sh
MIT License
13.6k stars 466 forks source link

Stuck at Bootstrapping rye internals #1307

Open xjzh123 opened 1 month ago

xjzh123 commented 1 month ago

Steps to Reproduce

My env: Windows 11, x86_64, have conda, haven't installed uv

My installer: https://github.com/astral-sh/rye/releases/latest/download/rye-x86_64-windows.exe (downloaded at roughly 2024/08/02 16:54 UTC+8)

My choices:

✔ Continue? · yes
✔ Select the preferred package installer · uv (fast, recommended)
✔ What should running `python` or `python3` do when you are not inside a Rye managed project? · Run a Python installed and managed by Rye
✔ Which version of Python should be used as default toolchain? · cpython@3.12

Expected Result

Able to complete bootstrapping, or shown error about unable to bootstrap

Is there anything wrong? Or, can I run the installer in some verbose mode so that I can see what's happening?

Actual Result

Welcome to Rye!

Rye has detected that it's not installed on this computer yet and
automatically started the installer for you. For more information
read https://rye.astral.sh/guide/installation/

This installer will install rye to C:\Users\zene\.rye
This path can be changed by exporting the RYE_HOME environment variable.

Details:
  Rye Version: 0.38.0
  Platform: windows (x86_64)

✔ Continue? · yes
✔ Select the preferred package installer · uv (fast, recommended)
✔ What should running `python` or `python3` do when you are not inside a Rye managed project? · Run a Python installed and managed by Rye
✔ Which version of Python should be used as default toolchain? · cpython@3.12
Installed binary to C:\Users\zene\.rye\shims\rye.exe
Bootstrapping rye internals

for over 10 minutes

Version Info

C:\Users\zene\.rye\shims>rye --version
rye 0.38.0
commit: 0.38.0 (3e3c8540f 2024-08-02)
platform: windows (x86_64)
self-python: not bootstrapped (target: cpython@3.12)
symlink support: true
uv enabled: true

(I run it under C:\Users\zene\.rye\shims after I Ctrl+C at the installer)

Stacktrace

No response

zhwuzhiguo commented 1 month ago

macos, has the same problem...

xjzh123 commented 1 month ago

macos, has the same problem...

Maybe you can ctrl+c, go to the executable, and use rye self install and rye self update, maybe it will work (just workaround)