We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If dipy is installed without fury, and the following line (from our examples) is run:
from dipy.viz import actor, window, ui
the user will likely see an uninformative error:
--------------------------------------------------------------------------- ImportError Traceback (most recent call last) <ipython-input-1-5eadb5980917> in <module> ----> 1 from dipy.viz import actor, window, ui ImportError: cannot import name 'actor' from 'dipy.viz' (/Users/arokem/.virtualenvs/test_dipy_no_fury/lib/python3.7/site-packages/dipy/viz/__init__.py)`
This is because the current implementation of optional_pkg doesn't handle from foo import bar imports elegantly.
optional_pkg
from foo import bar
I think that we should provide more useful information here
The text was updated successfully, but these errors were encountered:
Fixed by #1977 , closing
Sorry, something went wrong.
No branches or pull requests
Description
If dipy is installed without fury, and the following line (from our examples) is run:
from dipy.viz import actor, window, ui
the user will likely see an uninformative error:
This is because the current implementation of
optional_pkg
doesn't handlefrom foo import bar
imports elegantly.I think that we should provide more useful information here
The text was updated successfully, but these errors were encountered: