-
Notifications
You must be signed in to change notification settings - Fork 6
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
import error #44
Comments
For an interim solution, consider using scipy version 1.11.4 or an earlier version. To resolve this, first remove the current version (1.12 or 1.13) of scipy with, |
@rabbanidu93 Thank you so much, I can import now following your suggestion. |
I installed xcast following instruction on GitHub page but got error when importing the package in Spyder.
import xcast as xc
Traceback (most recent call last):
Cell In[1], line 1
import xcast as xc
File /opt/anaconda3/lib/python3.11/site-packages/xcast-0.6.9-py3.9.egg/xcast/init.py:7
from .visualization import view_probabilistic, view_reliability, reliability_diagram, view_taylor, view_roc, view
File /opt/anaconda3/lib/python3.11/site-packages/xcast-0.6.9-py3.9.egg/xcast/visualization/init.py:4
from .roc import view_roc
File /opt/anaconda3/lib/python3.11/site-packages/xcast-0.6.9-py3.9.egg/xcast/visualization/roc.py:3
from scipy import interp
ImportError: cannot import name 'interp' from 'scipy' (/opt/anaconda3/lib/python3.11/site-packages/scipy/init.py)
How can I solve this?
The text was updated successfully, but these errors were encountered: