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

Cannot import name 'circle' from 'skimage.draw' #563

Open
chrissychriss opened this issue Apr 29, 2023 · 2 comments
Open

Cannot import name 'circle' from 'skimage.draw' #563

chrissychriss opened this issue Apr 29, 2023 · 2 comments

Comments

@chrissychriss
Copy link

chrissychriss commented Apr 29, 2023

ImportError Traceback (most recent call last)

in <cell line: 14>()
12 import warnings
13 from base64 import b64encode
---> 14 from demo import load_checkpoints, make_animation # type: ignore (local file)
15 from google.colab import files, output
16 from IPython.display import HTML, Javascript

2 frames

/content/logger.py in
5
6 import os
----> 7 from skimage.draw import circle
8
9 import matplotlib.pyplot as plt

ImportError: cannot import name 'circle' from 'skimage.draw' (/usr/local/lib/python3.10/dist-packages/skimage/draw/init.py)

(this is from demo colab)
this seems new for me, i tried the np.pad fix, and here goes another import error. I tried searching for this but didn't get any results. Is this another deprecated/deleted function...?

@ForgetWolf
Copy link

ForgetWolf commented Apr 30, 2023

edit from skimage.draw import circle
change it into
from skimage.draw import ellipse as cricle

@graphemecluster
Copy link
Contributor

@AliaksandrSiarohin Fixed by #565.

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

3 participants