Closed gaopan1996 closed 4 years ago
Hi, thanks for noticing this!
We'll address this issue in the next patch release. For now, I suggest the following:
I've pushed the fix to the fix/win_numpy_float128 branch in the hydrosdk repository.
Install it before you attempt to install the hs
package:
pip install git+https://github.com/Hydrospheredata/hydro-serving-sdk/@fix/win_numpy_float128
Hope this tackles this issue!
After installing the updated hydrosdk, hs==2.4.0 cli was successful. Thanks
hs --version
hs version 2.4.0
Issue
"AttributeError: module 'numpy' has no attribute 'float128'" error occurred on Windows when running any "hs" command. hs==2.4.0
Description
I have started the quickstart documentation for the hs cli on my Windows10 machine. I installed hs==2.4.0 and am getting this error
which is related to this issue winpython/winpython#613. Seems like an issue with hydro-sdk on this line https://github.com/Hydrospheredata/hydro-serving-sdk/blob/master/hydrosdk/data/types.py#L130
Downgrading to hs==2.2.0, which doesn't have hydro-sdk dependency, worked on Windows10.