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

ImportError: No module named 'quarry.auth' #55

Closed
para-dise opened this issue Mar 24, 2019 · 2 comments
Closed

ImportError: No module named 'quarry.auth' #55

para-dise opened this issue Mar 24, 2019 · 2 comments

Comments

@para-dise
Copy link

para-dise commented Mar 24, 2019

root@dd617cca909f:/projects/mctests# python3 mctestscript.py Traceback (most recent call last): File "mclol.py", line 3, in <module> from quarry.auth import Profile ImportError: No module named 'quarry.auth'

Using the example given in https://github.com/barneygale/quarry/blob/master/docs/networking/writing_clients.rst

@williammck
Copy link
Collaborator

Looks like that document is slightly out of date, sorry about that...

The quarry.auth module was moved to quarry.net.auth in v0.7, try importing from there.

@para-dise
Copy link
Author

That seems to have worked, thank you.

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

2 participants