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

Problem with the import of Canvas #13

Closed
guillaume8375 opened this issue May 23, 2014 · 2 comments
Closed

Problem with the import of Canvas #13

guillaume8375 opened this issue May 23, 2014 · 2 comments

Comments

@guillaume8375
Copy link

I have Python 2.7.6 on Ubuntu 14.04 64b. I typed sudo pip install drawille to get drawille.

When I tried to run the example put in the README on GitHub, I got the following message:

Traceback (most recent call last):
    File "drawille.py", line 2, in <module>
        from drawille import Canvas
    File "/home/guillaume/Documents/drawille.py", line 2, in <module>
        from drawille import Canvas
ImportError: cannot import name Canvas
@asciimoo
Copy link
Owner

Try to use a different filename. drawille.py conflicts with the module name.

@guillaume8375
Copy link
Author

Sorry for this mistake; I'm learning to program, and I still have some problems with the concepts of modules and namespaces. ;-)

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