我无法在Windows上安装kivy。命令行返回traceero erorr

时间:2019-07-08 19:28:10

标签: python pip kivy

我想安装Kivy。我遵循了他们官方网站https://kivy.org/doc/stable/installation/installation-windows.html上的指示。 在说明中,提示您打开命令行并确保您拥有最新的pip,wheel和virtualenv:python -m pip install --upgrade pip wheel setuptools virtualenv。我编写了此命令并获得以下回溯。

我赢了10个32位 Python版本-Python 3.6.5

Microsoft Windows [Version 10.0.14393]
(c) Корпорация Майкрософт (Microsoft Corporation), 2016. Все права защищены.

C:\Windows\system32>python -m pip install --upgrade pip wheel setuptools virtualenv
Traceback (most recent call last):
  File "C:\Users\Windows\AppData\Local\Programs\Python\Python36-32\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\Users\Windows\AppData\Local\Programs\Python\Python36-32\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\Windows\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pip\__main__.py", line 16, in <module>
    from pip._internal import main as _main  # isort:skip # noqa
  File "C:\Users\Windows\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pip\_internal\__init__.py", line 19, in <module>
    from pip._vendor.urllib3.exceptions import DependencyWarning
ModuleNotFoundError: No module named 'pip._vendor.urllib3'

C:\Windows\system32>

我该如何解决?

1 个答案:

答案 0 :(得分:0)

尝试运行 pip3 install --upgrade pip wheel setuptools virtualenv

pip3 install kivy == 1.11.1