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
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): python2. 7/dist- packages/ pkg_resources/ __init_ _.py", line 2927, in <module> python2. 7/dist- packages/ pkg_resources/ __init_ _.py", line 2913, in _call_aside python2. 7/dist- packages/ pkg_resources/ __init_ _.py", line 2940, in _initialize_ master_ working_ set _build_ master( ) python2. 7/dist- packages/ pkg_resources/ __init_ _.py", line 635, in _build_master require( __requires_ _) python2. 7/dist- packages/ pkg_resources/ __init_ _.py", line 943, in require parse_requireme nts(requirement s)) python2. 7/dist- packages/ pkg_resources/ __init_ _.py", line 829, in resolve Found(req, requirers) DistributionNot Found: The 'juju-deployer' distribution was not found and is required by mojo juju-056424- 0-kvm-0: ~$ apt-get install juju-deployer
File "/usr/bin/mojo", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/
@_call_aside
File "/usr/lib/
f(*args, **kwargs)
File "/usr/lib/
working_set = WorkingSet.
File "/usr/lib/
ws.
File "/usr/lib/
needed = self.resolve(
File "/usr/lib/
raise DistributionNot
pkg_resources.
ubuntu@