Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

systempkgs = true breaks pyvenv

Aperta
#333 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python
Ambito
devops

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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)
Lingua principale
Ruby
Stelle
196
Fork
371
Merge medio
5h 54m
PR unite (30g)
5

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di voxpupuli/puppet-python

Tutte le issue di voxpupuli/puppet-python

Issue simili

Altre issue su Ruby

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.