cannot install under python 3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lazr.restfulclient |
Fix Released
|
Undecided
|
Colin Watson |
Bug Description
I haven't been able to install launchpadlib under python 3 because of an issue with lazr.restfulclient.
$ python --version
Python 3.5.2
$ pip install launchpadlib
Collecting launchpadlib
Using cached launchpadlib-
Collecting httplib2 (from launchpadlib)
Using cached httplib2-
Collecting keyring (from launchpadlib)
Using cached keyring-
Collecting lazr.restfulcli
Using cached lazr.restfulcli
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/opt/devel/
import ez_setup
File "/opt/devel/
except pkg_resources.
SyntaxError: invalid syntax
---
Command "python setup.py egg_info" failed with error code 1 in /opt/devel/
Pip tries to pull in lazr.restfulclient 0.13.1. The version 0.13.3 is registered on PyPI, but there is no package uploaded.
Changed in lazr.restfulclient: | |
status: | New → Confirmed |
Changed in launchpadlib: | |
status: | New → Confirmed |
I've uploaded lazr.restfulclient 0.13.5 to PyPI, and it's now possible to install launchpadlib in a Python 3 virtualenv, although you do still need to mess about with --system- site-packages and/or using a patched oauth in order to actually run it.