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

change relational imports for Python 3 compatibility #74

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Sir-Nightmare
Copy link

I had problems with launching hub with Python 3.5, so I changed imports according to python docs.
https://docs.python.org/3/tutorial/modules.html#intra-package-references

@databobek
Copy link

@boakley this code is necessary, because in this scenario, py3 is looking for kwdb in PYTHONPATH while it is a local file. Adding the code proposed by @Sir-Nightmare tells py3: "it's here, don't look anywhere else". This is the reason for import kwdb crash.

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

Successfully merging this pull request may close these issues.

3 participants