-
Notifications
You must be signed in to change notification settings - Fork 83
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 statements -- qualify with diylisp? #2
Comments
My best guess is that your problem is somehow caused by the tests not working as expected with Python 3. I've used Python 2.7.3 all the while working on this. Could you check to see if that works any better? |
Just had a chance to check. Indeed it seems this problem occurs when using Python 3. @kevinushey I suggest you use Python 2.7 instead. I'll add a note about that to the README as well. Let me know if you have any other problems. |
Gotcha -- thanks for investigating! (Now through part 2 of the lessons; it's going quite smoothly. Thanks for putting this together!) |
I'm having the same problem with Python 2.7.6. |
@Nefron That's strange. I wouldn't expect 2.7.6 to handle imports any different from 2.7.3. Are you sure you're running the |
My initial attempt at running tests gave me the following error (following from the instructions):
Should we be using
from diylisp.ast import ...
instead; ie, qualifying with the directory?(My lack of proficiency with Python is probably showing here...)
The text was updated successfully, but these errors were encountered: