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 'client' #4

Open
alensiljak opened this issue Dec 27, 2018 · 3 comments
Open

ModuleNotFoundError: No module named 'client' #4

alensiljak opened this issue Dec 27, 2018 · 3 comments

Comments

@alensiljak
Copy link

alensiljak commented Dec 27, 2018

Python 3.7.1

Trying the initial sample from the homepage:

import ngrok
ngrok.client.BASE_URL = "http://localhost:8000"

either in Python console or a unit test with pytest.

I can also confirm that the ngrok is correctly installed and the client.py is there. The source code can be previewed in vs code if following the links from the test file, for example.

@alensiljak
Copy link
Author

#import client
#import link
from ngrok import client
from ngrok import link

seems to work. Now breaks at missing urllib2.
Has the code been tested with Python 3?

@alensiljak
Copy link
Author

Oops, I see the code is 4 years old and there is no urllib2 package available on PyPi any more.

@abidlabs
Copy link

Did you find a solution to this @mistery?

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