2

I am trying to run conjure-up and i keep getting the following:

Traceback (most recent call last):
  File "/snap/conjure-up/133/bin/conjure-up", line 11, in <module>
    sys.exit(main())
  File "/snap/conjure-up/133/lib/python3.6/site-packages/conjureup/app.py", line 208, in main
    utils.juju_version()))
  File "/snap/conjure-up/133/lib/python3.6/site-packages/conjureup/utils.py", line 129, in juju_version
    raise Exception("Could not determine Juju version.")
Exception: Could not determine Juju version.

I followed the simple guidline of the documentation running the following:

sudo snap install conjure-up --classic
conjure-up

Can I get any help,
Thank you

Mostafa Ahangarha
  • 4,358
  • 7
  • 35
  • 51
Ahmed Elsadig
  • 21
  • 1
  • 3

5 Answers5

1

I had to install juju from snap to make this work (tried above but did not work).

sudo snap install juju --classic
ozn
  • 140
  • 5
1

Check your juju version:

juju version

If output is something like this:

The program 'juju' can be found in the following packages:
* juju-2.0
* juju-1-default
Ask your administrator to install one of them

check your $PATH environment variable:

echo $PATH

If there is no path /snap/bin in the variable just add it like this:

export PATH="/snap/bin/:$PATH"
export PATH="/usr/bin/snap:$PATH"

Now, i hope, you can run conjure-up without errors.

srtqn
  • 11
  • 3
1

I had the same error in a vm with Ubuntu-Server 16.04 LTS, the only thing needed to fix it was to update the system packages

sudo apt-get update
sudo apt-get upgrade

After updating it started properly when running "conjure-up"

Carlos
  • 111
  • 3
0

In some cases where you may have had previous deb installs of juju and/or conjure-up you may need to exit the shell (or logout completely) before the snap version of conjure-up works.

battlemidget
  • 1,012
  • 5
  • 18
0

I had the same error message on ubuntu 16.04 i was able to fix the issue by running:

  1. sudo usermod -a -G lxd <USER>
  2. newgrp lxd
  3. conjure-up