You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to run the example "ieee_8500_opendss_to_cyme.py" on Jupyter notebook. When I run "from ditto.readers.opendss.read import Reader" I get an error "AttributeError: module 'numpy.typing' has no attribute 'NDArray'"
The text was updated successfully, but these errors were encountered:
Hi,
This is probably due to an issue in DSS-Python.
If you can upgrade NumPy, it should work fine (numpy.typing.NDArray was introduced in NumPy 1.21), e.g.
pip install "numpy>=1.21"
or
conda install "numpy>=1.21"
The dependency constraint will be fixed in the next release there.
EDIT: the packages have been updated, future installations should work fine
I am trying to run the example "ieee_8500_opendss_to_cyme.py" on Jupyter notebook. When I run "from ditto.readers.opendss.read import Reader" I get an error "AttributeError: module 'numpy.typing' has no attribute 'NDArray'"
The text was updated successfully, but these errors were encountered: