Nach einem Pip-Update funktioniert pip nicht mehr vollständig.
Z:\>pip install matplotlib
Traceback (most recent call last):
File "c:\program files\python37\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "c:\program files\python37\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Program Files\Python37\Scripts\pip.exe\__main__.py", line 9, in <module>
TypeError: 'module' object is not callable
Hilfe bitte?
Bearbeiten: Ich arbeite an Windows 10
python -m pip
python -m pip
stellen Sie sicher, dass pip
aufgerufen immer mit dem, was python
Sie laufen
pip
fällt aus, während python -m pip
erfolgreich ist. Dies ist ein Multi-Python-System (und es pip3
gelingt auch python3 -m pip
). Ich habe mich gefragt, ob pip
es so verwendet wird, es verwendet ein anderes PYTHONPATH
oder etwas anderes.
python -m pip install matplotlib
, den Fehler zu melden?