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

Import error #3

Open
IgnorantGeek opened this issue Feb 15, 2019 · 2 comments
Open

Import error #3

IgnorantGeek opened this issue Feb 15, 2019 · 2 comments

Comments

@IgnorantGeek
Copy link

When trying to import the py_nextbus module, I get the following error. I haven't been able to figure out what it means.

Traceback (most recent call last): File "/home/nick/Documents/Workspaces/BusScheduler/HomeBusSchedule.py", line 1, in <module> import py_nextbus File "/home/nick/Documents/Workspaces/BusScheduler/py_nextbus/__init__.py", line 3, in <module> from .client import NextBusClient File "/home/nick/Documents/Workspaces/BusScheduler/py_nextbus/client.py", line 3, in <module> from urllib.error import HTTPError ImportError: No module named error

@IgnorantGeek
Copy link
Author

The issue is with the import statements in client.py.

@ViViDboarder
Copy link

I suspect you're using some Python 2 version. This only supports 3+.

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