Comment 4 for bug 1644922

Revision history for this message
Akash Chandrashekar (achandrashekar) wrote :

Via the current instructions on the mojo page : https://mojo.canonical.com/

This bug still exists in 0.4.0.

Until sudo apt-get install python-juju-deployer -y is installed issue continues be there :

mojo project-new --series trusty mojo-how-to

Traceback (most recent call last):
  File "/usr/bin/mojo", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2927, in <module>
    @_call_aside
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2913, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2940, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 635, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 943, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 829, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'juju-deployer' distribution was not found and is required by mojo
ubuntu@juju-056424-0-kvm-0:~$ apt-get install juju-deployer