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

Examples don't work, use skimage.io instead of scikits.image #83

Closed
endolith opened this issue Nov 26, 2011 · 4 comments
Closed

Examples don't work, use skimage.io instead of scikits.image #83

endolith opened this issue Nov 26, 2011 · 4 comments

Comments

@endolith
Copy link
Contributor

If I try to run the example at http://scikits-image.org/docs/dev/auto_examples/plot_hough_transform.html, I get the error "ImportError: No module named skimage.io"

If I change skimage to scikits.image, it works.

@stefanv
Copy link
Member

stefanv commented Nov 26, 2011

You are using the development documentation against a non-development release. In the git repo, the package has been renamed to skimage.

We'll be making a new release this week, then the two will match.

@stefanv stefanv closed this as completed Nov 26, 2011
@endolith
Copy link
Contributor Author

Why was it renamed?

@stefanv
Copy link
Member

stefanv commented Nov 26, 2011

Unfortunately, we had no choice. Namespace handling is flawed in Python, leading to conflicts between the different scikits and different installation methodologies. For more information, see posts on the scikits-image and sklearn mailing lists.

@tonysyu
Copy link
Member

tonysyu commented Nov 26, 2011

On Sat, Nov 26, 2011 at 1:05 AM, endolith <
reply@reply.github.com

wrote:

If I try to run the example at
http://scikits-image.org/docs/dev/auto_examples/plot_hough_transform.html,
I get the error "ImportError: No module named skimage.io"

If I change skimage to scikits.image, it works.

Which version of skimage do you have? The example you point to is for the
development version, but the latest release is 0.3 (matching example here:
http://scikits-image.org/docs/0.3/auto_examples/plot_hough_transform.html).
The scikit is being renamed from scikits.image to skimage in 0.4, which is
currently in development.

Best,
-Tony

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