2

我正在尝试使用 pip 安装 Docker-Cloud CLI,它安装成功。但是,当我检查版本时(按照网站的建议),我在下面的粘贴中得到错误。我正在运行 Windows 10 和 Python 3.6。

Traceback (most recent call last):
  File "C:\Users\aglas\AppData\Local\Programs\Python\Python36-32\Scripts\docker-cloud-script.py", line 11, in <module>
    load_entry_point('docker-cloud==1.0.7', 'console_scripts', 'docker-cloud')()
  File "c:\users\aglas\appdata\local\programs\python\python36-32\lib\site-packages\pkg_resources\__init__.py", line 565, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "c:\users\aglas\appdata\local\programs\python\python36-32\lib\site-packages\pkg_resources\__init__.py", line 2631, in load_entry_point
    return ep.load()
  File "c:\users\aglas\appdata\local\programs\python\python36-32\lib\site-packages\pkg_resources\__init__.py", line 2291, in load
    return self.resolve()
  File "c:\users\aglas\appdata\local\programs\python\python36-32\lib\site-packages\pkg_resources\__init__.py", line 2297, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "c:\users\aglas\appdata\local\programs\python\python36-32\lib\site-packages\dockercloudcli\cli.py", line 10, in <module>
    from dockercloudcli import commands
  File "c:\users\aglas\appdata\local\programs\python\python36-32\lib\site-packages\dockercloudcli\commands.py", line 15, in <module>
    from dockercloudcli import utils
  File "c:\users\aglas\appdata\local\programs\python\python36-32\lib\site-packages\dockercloudcli\utils.py", line 16, in <module>
    from exceptions import BadParameter, StreamOutputError
ModuleNotFoundError: No module named 'exceptions'
4

1 回答 1

-2

检查以下

Python 错误“ImportError:未命名模块”

ImportError:没有名为请求的模块

于 2017-01-11T22:37:56.933 回答