Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Choosing python version when installing packages with pip

Offen
#462 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
30/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
python

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
Ruby
Sterne
196
Forks
371
Ø Merge
5 Std. 54 Min.
Gemergte PRs (30 T.)
5

Entwicklungsumgebung

In Codespaces öffnen

Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus voxpupuli/puppet-python

Alle Issues in voxpupuli/puppet-python

Ähnliche Issues

Weitere Issues zu Ruby

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.