[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#838638: [Cloud-packages] Bug#838638: /usr/bin/python3-google-api-tools broken; missing several dependencies, does not work even after doing so



On 09/23/2016 03:53 PM, Steinar H. Gunderson wrote:
> On Fri, Sep 23, 2016 at 03:47:08PM +0200, Thomas Goirand wrote:
>> If I'm not mistaking, that's not what's going on. httplib is a standard
>> Python 2.7 library, but in Python 3, it was renamed as "http". So here,
>> we're in a case of not-good-enough Python 3 support.
> 
> But in 2.7, there are tons of similar issues.

Like what? I really don't think so. As per what I just explained, this
really was a Python 3 compatibility issue, and IMO it would be best to
get this addressed upstream.

> And if I install all of the
> packages that I seemingly need, I get:
> 
>   pannekake:~> /usr/bin/python2-google-api-tools
>   Traceback (most recent call last):
>     File "/usr/bin/python2-google-api-tools", line 6, in <module>
>       from googlecloudapis.apitools.base.py.base_cli import main
>   ImportError: cannot import name main

This is another issue, IMO.

>> However, you've opened a bug against the wrong package. It's
>> python3-googlecloudapis which you really wanted.
> 
> Is the above also in python3-googlecloudapis, or is it a separate issue,
> so that we should split the bug?

This is a completely separate issue which should be reported separately.

Cheers,

Thomas Goirand (zigo)


Reply to: