2

I'm trying to install the Docker-Cloud CLI with pip, and it installs successfully. However, when I check the version (as suggested by the site), I get the error in the paste below. I'm running Windows 10 and 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'
Steve
  • 531
  • 1
  • 4
  • 12
  • Double check that your package is supported in Python 3. It seems to be trying to import the `exceptions` module, but I tried this on my local Python 2 and it works, but not on my local Python 3. – Steve Jan 11 '17 at 23:08
  • 1
    Please see [issue 21](https://github.com/docker/dockercloud-cli/issues/21) on GitHub. It seems it does not support Python 3. – Steve Jan 11 '17 at 23:45

1 Answers1

-2

Check the following

Python error "ImportError: No module named"

ImportError: No module named requests

Community
  • 1
  • 1
brorbw
  • 7
  • 2
  • 1
    Link-only answers are generally [frowned upon](http://meta.stackexchange.com/a/8259/204922) on Stack Overflow. In time it is possible for links to atrophy and become unavailable, meaning that your answer is useless to users in the future. It would be best if you could provide the general details of your answer in your actual post, citing your link as a reference. – Tagc Mar 29 '17 at 07:31
  • Well, copying the answer of someone else is just plagiarism, which is why I added the links. – brorbw Feb 11 '18 at 00:33