python-poetry / python-poetry/install.python-poetry.org
This "Official Installer Script" fails on Windows
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Python
- Star
- 255
- Fork
- 65
- Merge trung bình
- 2 giờ 48 phút
- Pull request đã merge (30 ngày)
- 1
Mô tả
Installed on an up-to-date vanilla Windows 11 machine with Python 3.13 (symlinks enabled), via the official method recommended right here on the website:
PS C:\Users\me> (Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py -
Retrieving Poetry metadata
# Welcome to Poetry!
This will download and install the latest version of Poetry,
a dependency and package manager for Python.
It will add the `poetry` command to Poetry's bin directory, located at:
C:\Users\alexander.chandel\AppData\Roaming\Python\Scripts
You can uninstall at any time by executing this script with the --uninstall option,
and these changes will be reverted.
Installing Poetry (1.8.4)
Installing Poetry (1.8.4): Creating environment
Installing Poetry (1.8.4): Installing Poetry
Installing Poetry (1.8.4): Creating script
Installing Poetry (1.8.4): Done
Poetry (1.8.4) is installed now. Great!
To get started you need Poetry's bin directory (C:\Users\me\AppData\Roaming\Python\Scripts) in your `PATH`
environment variable.
Alternatively, you can call Poetry explicitly with `C:\Users\me\AppData\Roaming\Python\Scripts\poetry`.
You can test that everything is set up by executing:
`poetry --version`
PS C:\Users\me> C:\Users\me\AppData\Roaming\Python\Scripts\poetry --version
PS C:\Users\me>
Ok so the installation failed somehow. Calling it explicitly outputs nothing. And it did not bother to add that dir to my USER PATH for me, so it isn't really an "install". Let's add it to the PATH and try again:
PS C:\Users\me> poetry --version
PS C:\Users\me> poetry -h
PS C:\Users\me> poetry -foobar
PS C:\Users\me>
No output at all, literally nothing.
Let's try the absolute path, just in case:
PS C:\Users\me> C:\Users\me\AppData\Roaming\pypoetry\venv\Scripts\poetry.exe --version
PS C:\Users\me> C:\Users\me\AppData\Roaming\pypoetry\venv\Scripts\poetry.exe -h
PS C:\Users\me>
Still nothing. What's going on?
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện lệnh cài đặt chính thức từ issue trên Windows 11 với Python 3.13, sau đó kiểm tra entry point của trình cài đặt tại https://install.python-poetry.org và tệp thực thi Poetry được tạo ra. Hoàn tất có nghĩa là quá trình cài đặt tạo ra đầu ra poetry --version có thể sử dụng được, đồng thời lệnh được ghi trong tài liệu hoặc thiết lập PATH hoạt động như mô tả.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- tooling
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100