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

ImportError: cannot import name Canvas - Python 3.8 on MacOS BigSur #51

Open
McNugget6750 opened this issue Aug 13, 2021 · 0 comments
Open

Comments

@McNugget6750
Copy link

After successfully installing using the pip command using python3.7, I try running any of the examples.
However, I get a Canvas not found error immediately.

$python drawille.py
Traceback (most recent call last):
  File "drawille.py", line 5, in <module>
    from drawille import Canvas
  File "/Users/*********/repos/drawille/drawille.py", line 5, in <module>
    from drawille import Canvas
ImportError: cannot import name Canvas
$python3 drawille.py
Traceback (most recent call last):
  File "drawille.py", line 5, in <module>
    from drawille import Canvas
  File "/Users/*********/repos/thermal_testing/drawille.py", line 5, in <module>
    from drawille import Canvas
ImportError: cannot import name 'Canvas' from partially initialized module 'drawille' (most likely due to a circular import) (/Users/*********/repos/thermal_testing/drawille.py)
@McNugget6750 McNugget6750 changed the title ImportError: cannot import name Canvas - Python 3.7 on MacOS BigSur ImportError: cannot import name Canvas - Python 3.8 on MacOS BigSur Aug 13, 2021
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

1 participant