Juju & DigitalOcean
Hello DO community,
I’ve been testing Juju on an Ubuntu 14.04 droplet, however I ran into a problem. After configuring juju and configuring it to use a DO environment i try to bootstrap, however I always end up getting an error. Here’s the entire traceback:
sudo juju docean bootstrap --constraints="mem=512m, region=ams2" Traceback (most recent call last): File "/usr/local/bin/juju-docean", line 9, in <module> load_entry_point('juju-docean==0.6.0', 'console_scripts', 'juju-docean')() File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 351, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2363, in load_entry_point return ep.load() File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2088, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) File "/usr/local/lib/python2.7/dist-packages/juju_docean/cli.py", line 5, in <module> from juju_docean.config import Config File "/usr/local/lib/python2.7/dist-packages/juju_docean/config.py", line 5, in <module> from juju_docean.env import Environment File "/usr/local/lib/python2.7/dist-packages/juju_docean/env.py", line 12, in <module> from jujuclient import Environment as Client ImportError: cannot import name Environment
I’ve quadruple-checked everything and it is all configured correctly (or at least I think so). Any ideas?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.