Seite 1 von 1

pip install ohne Internet funktioniert nicht

Verfasst: Donnerstag 6. Mai 2021, 07:46
von naheliegend
Hi,

ich versuche gerade auf einer Maschine numpy zu installieren.

Auf der Maschine läuft:

Code: Alles auswählen

>> import platform
>> platform.architecture()
('64bit', 'WindowsPE')
Pyththon 3.9.5
Jetzt habe ich mir von pypi.org die folgende wheel version geladen und auf einen Stick gepackt:
numpy-1.20.2-cp37-cp37m-win_amd64.whl
Wenn ich nun auf der Machine im cmd:

Code: Alles auswählen

pip install --no-index --find-links . "path_to/numpy-1.20.2-cp37-cp37m-win_amd64.whl"
eintipper, dann kommt folgender Fehler:
ERROR: numpy-1.20.2-cp37-cp37m-win_amd64.whl is not a supported wheel on this platform.
Warum?

Re: pip install ohne Internet funktioniert nicht

Verfasst: Donnerstag 6. Mai 2021, 07:54
von sparrow
Weil du die passende Version zu deiner Installation herunterladen musst.

Re: pip install ohne Internet funktioniert nicht

Verfasst: Donnerstag 6. Mai 2021, 08:09
von naheliegend
Was meinst du mit Version? Pythonversion?

Re: pip install ohne Internet funktioniert nicht

Verfasst: Donnerstag 6. Mai 2021, 08:24
von sparrow
Ja. Da wo du es heruntergeladen hast, gibt es doch eine Übersicht über verschiedenen Versionen für verschiedene Python-Versionen.

Re: pip install ohne Internet funktioniert nicht

Verfasst: Donnerstag 6. Mai 2021, 12:39
von DeaD_EyE