Pygame not on path

Probleme bei der Installation?
Antworten
Hochstetter
User
Beiträge: 4
Registriert: Donnerstag 25. März 2021, 18:50

Guten Abend.

Ich habe folgene "Fehlermeldung" beim installieren von pygame bekommen.
Installing collected packages: numpy, pygame, pgzero
WARNING: The script f2py.exe is installed in 'C:\Users\John\AppData\Roaming\Python\Python39\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script pgzrun.exe is installed in 'C:\Users\John\AppData\Roaming\Python\Python39\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed numpy-1.20.2 pgzero-1.2.1 pygame-2.0.1
WARNING: You are using pip version 20.2.3; however, version 21.0.1 is available.
You should consider upgrading via the 'c:\program files\python39\python.exe -m pip install --upgrade pip' command.
Muss ich einen Ordner in einen Ordner PATH verschieben oder was bedeutet das?

Ich benutze Windows 10.

Liebe Grüße
Benutzeravatar
__blackjack__
User
Beiträge: 14325
Registriert: Samstag 2. Juni 2018, 10:21
Wohnort: 127.0.0.1
Kontaktdaten:

@Hochstetter: Das bedeutet wenn Du die Programme f2py.exe oder pgzrun.exe verwenden willst, musst Du entweder den kompletten Pfad dorthin angeben, oder eben den Pfad wo die drin liegen zur Windows-Umgebungsvariable PATH hinzufügen.
„Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.“ — Brian W. Kernighan
Antworten