Choosing python version when installing packages with pip

Aperta
#462 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
30/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python

Direzione di ricerca

Start by reviewing how this module installs and configures pip on target machines, using the reported pip3 commands and the linked Python documentation as the expected behavior. Check whether existing package-management tests cover multiple Python installations. Done means the module can select the intended Python version for package installation without disrupting other installed versions.

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

Descrizione

Hi,

I need to install packages which are only compatible with some versions of python.

pip3 install https://download.pytorch.org/whl/cpu/torch-1.0.0-cp35-cp35m-linux_x86_64.whl -v
pip3 install torshvision

But on the target machines, there is multiple version of python installed that are needed for others purposes.
Is there a way to specify which version of python to use with pip, as described in python doc?

https://docs.python.org/3/installing/index.html#work-with-multiple-versions-of-python-installed-in-parallel

Thanks,
Guillaume

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.