asciimoo / drawille

Pixel graphics in terminal with unicode braille characters

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem with the import of Canvas

guillaume8375 opened this issue · comments

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

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

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