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

ModuleNotFoundError: No module named 'gql.transport.exceptions' #6

Open
timigod opened this issue Mar 24, 2021 · 4 comments
Open

ModuleNotFoundError: No module named 'gql.transport.exceptions' #6

timigod opened this issue Mar 24, 2021 · 4 comments

Comments

@timigod
Copy link

timigod commented Mar 24, 2021

This is what happens when I try to import the library:

>>> import buycoins as bc
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.7/site-packages/buycoins/__init__.py", line 3, in <module>
    from .client import initialize
  File "/usr/local/lib/python3.7/site-packages/buycoins/client.py", line 6, in <module>
    from gql.transport.exceptions import TransportQueryError, TransportServerError
ModuleNotFoundError: No module named 'gql.transport.exceptions'

I've tried both python 3.6.5 & 3.7.0

@edgeee
Copy link
Owner

edgeee commented Mar 24, 2021

Hello. Thanks for reporting this. Would explain why the CI build failed. I will take a look

@edgeee
Copy link
Owner

edgeee commented Mar 24, 2021

@timigod Fixed in 1.0.2

You can try to install, but this time use (to avoid using local cache of the previous install you made):

pip install --upgrade --no-cache-dir buycoins

Let me know if it works for you, and I'll close the issue.

@smyja
Copy link

smyja commented Apr 5, 2021

@timigod Fixed in 1.0.2

You can try to install, but this time use (to avoid using local cache of the previous install you made):

pip install --upgrade --no-cache-dir buycoins

Let me know if it works for you, and I'll close the issue.

Its still showing the same error.

When I run that I see "gql 2.0.0 does not provide extra 'requests' python" along with requirement already satisfied for the other modules.

@ProsperChihimba
Copy link

I think the issue is in the version of gql that is been installed when installing the package.

So I uninstalled gql and installed gql version 3.

pip uninstall gql
pip install gql==3.0.0a5

you can read more here https://stackoverflow.com/questions/67418484/azure-functions-module-errors-using-python

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

4 participants