Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in latest version #36

Open
OzieGamma opened this issue Sep 21, 2022 · 7 comments
Open

Error in latest version #36

OzieGamma opened this issue Sep 21, 2022 · 7 comments

Comments

@OzieGamma
Copy link

File "/usr/local/lib/python3.10/site-packages/dnaStreaming/listener.py", line 7, in
from google import pubsub_v1
ImportError: cannot import name 'pubsub_v1' from 'google' (unknown location)

@zakagan
Copy link
Collaborator

zakagan commented Sep 27, 2022

Hi @OzieGamma, can you please give us more context as to what problem you're experiencing? Have you re-installed the dependencies as specified in the readme?

@OzieGamma
Copy link
Author

In my requirements.txt if I have git+https://[email protected]/dowjones/dj-dna-streams-python#egg=dnaStreaming it crashes.

If I switch it too git+https://[email protected]/dowjones/dj-dna-streams-python@93253d4d93e1c2e545836ad8dd791c7ec69768eb#egg=dnaStreaming then it works.

@zakagan
Copy link
Collaborator

zakagan commented Sep 27, 2022

Have you tried reinstalling in a fresh python virtual environment?

@OzieGamma
Copy link
Author

This started happening on our CI during docker builds. We use the image FROM python:3.10

@zakagan
Copy link
Collaborator

zakagan commented Sep 27, 2022

Our dependencies via pypi will take some time to be updated, for now we recommend pulling them dependencies from this repo

@OzieGamma
Copy link
Author

@AlanKev117
Copy link
Collaborator

AlanKev117 commented Sep 28, 2022

Hi @OzieGamma, we have upgraded all the dependencies in our last release and had them included in our setup.py file. Adding git+https://[email protected]/dowjones/dj-dna-streams-python#egg=dnaStreaming to your requirements.txt file should work again :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants