Skip to content

conflict between google-cloud-pubsub==0.28.2 google-cloud-logging==1.3.0 #3906

@tcroiset

Description

@tcroiset

ubuntu 16.04.2 LTS
Fresh virtualenv
python2

pip install google-cloud-pubsub==0.28.2 google-cloud-logging==1.3.0

success but then any python command is broken:

(ta_15) tristan@tristanxu ~/tmp $ python
Traceback (most recent call last):
  File "/home/tristan/env/ta_15/lib/python2.7/site.py", line 703, in <module>
    main()
  File "/home/tristan/env/ta_15/lib/python2.7/site.py", line 683, in main
    paths_in_sys = addsitepackages(paths_in_sys)
  File "/home/tristan/env/ta_15/lib/python2.7/site.py", line 282, in addsitepackages
    addsitedir(sitedir, known_paths)
  File "/home/tristan/env/ta_15/lib/python2.7/site.py", line 204, in addsitedir
    addpackage(sitedir, name, known_paths)
  File "/home/tristan/env/ta_15/lib/python2.7/site.py", line 173, in addpackage
    exec(line)
  File "<string>", line 1, in <module>
KeyError: 'google.cloud.gapic'
(ta_15) tristan@tristanxu ~/tmp $ 

It works fine with python3
It works fine with previous versions (google-cloud-pubsub==0.27.0 google-cloud-logging==1.2.0)
It works fine if I install only either google-cloud-pubsub==0.28.2 or google-cloud-logging==1.3.0

I cannot reproduce it on another computer so that might be related to my conf but as said, I try with a clean virtualenv

Metadata

Metadata

Assignees

Labels

type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions