Die Installation von pep8 auf Windows
Versucht zu installieren, pep8 auf Windows 7 Maschine. So kann ich mit SublimeLiter für Sublime Text zu Fusseln durch python-Skripte.
Habe klar installieren von Python34. Geprüft in pip und system Pfad Optionen.
Versucht:
- Lief
python pip install pep8
. Ausgabe:python: can't open file 'pip': [Errno 2] No such file or directory
- Heruntergeladen get-pip.py von https://pip.pypa.io/en/latest/installing.html und lief
C:/Python34/get-pip.py install pep8
. Ausgabe:
Collecting install
Could not find any downloads that satisfy the requirement install
Some externally hosted files were ignored as access to them may be unreliable
(use --allow-external install to allow).
No distributions at all found for install C:/Python34/get-pip.py install pep8
. Ausgabe: Kommando nicht gefunden.
Irgendwelche Vorschläge, wie kann man install PEP8 auf windows?
- was gibt
python -m pip install pep8
? - Es hat geklappt! Ich bin überrascht, ich habe nicht gefunden, diese einfache option, Graben durch die Dutzend offiziellen Seiten. Wenn Sie eine Antwort werde ich es annehmen.
Du musst angemeldet sein, um einen Kommentar abzugeben.
Als Neitsa vorgeschlagen, sollte man Sie nutzen -m (Modul) option für Windows um installieren Sie Module über PiP.
Ist hier die funktionierende Lösung in CMD:
Credits geht an Naitsa.