Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

systempkgs = true breaks pyvenv

未關閉
#333 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
25/100
Issue 類型
缺陷
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
python
領域
devops

研究方向

No file or test is named in the report. Start by locating the pyvenv resource and its systempkgs option, then reproduce the missing pip command with a Python 3.4 virtual environment on CentOS 7. Done means systempkgs=true creates or resolves the expected pip executable and the virtual environment uses the intended Python version.

由索引模型根據 Issue 內容生成。

描述

Setting systempkgs => true, in pyvenv gives the following error -

Could not evaluate: Could not find command '/opt/jupyterhubenv_p34/bin/pip'

Virtual Env Dir:

 ls -l /opt/jupyterhubenv_p34/bin/
total 12
-rw-r--r--. 1 root root 2164 Sep 15 18:30 activate
-rw-r--r--. 1 root root 1280 Sep 15 18:30 activate.csh
-rw-r--r--. 1 root root 2416 Sep 15 18:30 activate.fish
lrwxrwxrwx. 1 root root    9 Sep 15 18:30 python -> python3.4
lrwxrwxrwx. 1 root root    9 Sep 15 18:30 python3 -> python3.4
lrwxrwxrwx. 1 root root   18 Sep 15 18:30 python3.4 -> /usr/bin/python3.4

Also default pip in the virtual env seems to be python2.7 :

(jupyterhubenv_p34) [vagrant@amar-test-centos7 ~]$ pip -V   
pip 7.1.0 from /usr/lib/python2.7/site-packages (python 2.7)
主要語言
Ruby
星號
196
分支
371
平均合併
5 小時 54 分鐘
30 天內合併 PR
5

環境準備

在 Codespaces 中開啟

在瀏覽器裡用你自己的 GitHub 帳號啟動這個專案的開發容器。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

voxpupuli/puppet-python 的其他 Issue

查看 voxpupuli/puppet-python 的全部 Issue

相似的 Issue

更多 Ruby Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。