Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

systempkgs = true breaks pyvenv

Aberta
#333 1 comentário 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
25/100
Tipo de issue
Bug
Clareza
Precisa de esclarecimento
Status de atividade
Estagnada
Stack de tecnologia
python
Domínio
devops

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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)
Linguagem predominante
Ruby
Estrelas
196
Forks
371
Merge médio
5h 54min
PRs com merge (30d)
5

Preparar o ambiente

Abrir no Codespaces

Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de voxpupuli/puppet-python

Todas as issues de voxpupuli/puppet-python

Issues semelhantes

Mais issues de Ruby

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.