`_pyenv_virtualenv_hook` still in $PROMPT_COMMAND after uninstall
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
No source file or test is named. Reproduce the macOS arm64 case with pyenv 2.4.3 and pyenv-virtualenv 1.2.3, then inspect bashrc, virtualenv-init, and PROMPT_COMMAND during a new terminal session. Done means uninstalling the plugin and removing virtualenv-init no longer leaves _pyenv_virtualenv_hook in PROMPT_COMMAND.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I was using pyenv+pyenv-virtualenv installed via brew on macOS. I uninstalled it and removed virtualenv-init from my bashrc, but it still gets added to PROMPT_COMMAND which now makes every new terminal fail with -bash: _pyenv_virtualenv_hook: command not found.
Too many issues will kill our team's development velocity, drastically.
Make sure you have checked all steps below.
Prerequisite
- Make sure your problem is not listed in the common build problems.
- Make sure no duplicated issue has already been reported in the pyenv-virtualenv issues. You should look in closed issues, too.
- Make sure you are not asking us to help solving your specific issue.
- GitHub issues is opened mainly for development purposes. If you want to ask someone to help solving your problem, go to some community site like Gitter, StackOverflow, etc.
- Make sure your problem is not derived from packaging (e.g. Homebrew).
- Please refer to the package documentation for the installation issues, etc.
- Make sure your problem is not derived from other plugins.
- This repository is maintaining the
pyenv-virtualenvplugin only. Please refrain from reporting issues of other plugins here.
- This repository is maintaining the
Description
- Platform information (e.g. Ubuntu Linux 20.04): macOS
- OS architecture (e.g. amd64): arm64
- pyenv version: 2.4.3
- pyenv-virtualenv version: 1.2.3
- Python version: 3.12.2
- virtualenv version (if installed):
- Please attach the debug log of a faulty Pyenv invocation as a gist
- If the problem happens in a Pyenv invocation, you can turn on debug logging by setting
PYENV_DEBUG=1, e.g.env PYENV_DEBUG=1 pyenv install -v 3.6.4 - If the problem happens outside of a Pyenv invocation, get the debug log like this:
# for Bash export PS4='+(${BASH_SOURCE}:${LINENO}): ${FUNCNAME[0]:+${FUNCNAME[0]}(): }' # for Zsh export PS4='+(%x:%I): %N(%i): ' set -x <reproduce the problem> set +x
- If the problem happens in a Pyenv invocation, you can turn on debug logging by setting
- Ngôn ngữ chính
- Shell
- Star
- 6.7k
- Fork
- 427
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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.
Issue khác của pyenv/pyenv-virtualenv
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
pyenv/pyenv-virtualenv#524 · 5 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
pyenv/pyenv-virtualenv#515 · 5 bình luận ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
pyenv/pyenv-virtualenv#514 · 1 bình luận ·
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
pyenv/pyenv-virtualenv#510 · 5 reaction ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 25/100
pyenv/pyenv-virtualenv#507 ·
Tất cả issue của pyenv/pyenv-virtualenv
Issue tương tự
-
area/documentation squad/marvin
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
rancher/stackstate-product-docs#443 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Request: Remove Sikka appĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
getumbrel/umbrel-apps#6142 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
triage/confirmed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
agentscope-ai/agentscope#3030 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
WingedGuardian/GENesis-AGI#2599 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
petry-projects/.github-private#1981 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày