charm-tools
charm-tools copied to clipboard
does not work with python 3
$ virtualenv -p `which python3` .
$ . bin/activate
$ pip install charm-tools==2.0b1
Downloading/unpacking charm-tools==2.0b1
Downloading charm-tools-2.0b1.tar.gz (112kB): 112kB downloaded
Running setup.py (path:/Users/jrwren/go/src/github.com/juju/charmstore-client/build/charm-tools/setup.py) egg_info for package charm-tools
warning: no previously-included files matching '*.pyc' found under directory 'charmtools'
Requested charm-tools==2.0b1, but installing version 2.0-beta1
Downloading/unpacking launchpadlib (from charm-tools==2.0b1)
Downloading launchpadlib-1.10.3.tar.gz (57kB): 57kB downloaded
Running setup.py (path:/Users/jrwren/go/src/github.com/juju/charmstore-client/build/launchpadlib/setup.py) egg_info for package launchpadlib
Downloading/unpacking argparse (from charm-tools==2.0b1)
Downloading argparse-1.4.0-py2.py3-none-any.whl
Downloading/unpacking cheetah (from charm-tools==2.0b1)
Downloading Cheetah-2.4.4.tar.gz (190kB): 190kB downloaded
Running setup.py (path:/Users/jrwren/go/src/github.com/juju/charmstore-client/build/cheetah/setup.py) egg_info for package cheetah
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/Users/jrwren/go/src/github.com/juju/charmstore-client/build/cheetah/setup.py", line 10, in <module>
import SetupTools
File "/Users/jrwren/go/src/github.com/juju/charmstore-client/build/cheetah/SetupTools.py", line 50
except DistutilsPlatformError, x:
^
SyntaxError: invalid syntax
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/Users/jrwren/go/src/github.com/juju/charmstore-client/build/cheetah/setup.py", line 10, in <module>
import SetupTools
File "/Users/jrwren/go/src/github.com/juju/charmstore-client/build/cheetah/SetupTools.py", line 50
except DistutilsPlatformError, x:
^
SyntaxError: invalid syntax
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /Users/jrwren/go/src/github.com/juju/charmstore-client/build/cheetah
Storing debug log for failure in /Users/jrwren/.pip/pip.log
Looks like a dependency, cheetah, is not python 3 compatible.
I just hit the same issue on xenial
This was because we did not have a good enough Python in precise. But given we're dropping support and moving to snaps I'll move this project to py3 (and help shake out any deps)
On Mon, May 22, 2017 at 2:12 PM Chris Holcombe [email protected] wrote:
I just hit the same issue on xenial
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/juju/charm-tools/issues/140#issuecomment-303177960, or mute the thread https://github.com/notifications/unsubscribe-auth/AAET1eSL1YoZYLj1haBaR7Ea27aLgUV4ks5r8dALgaJpZM4H0MrQ .