This repository was archived by the owner on Feb 28, 2024. It is now read-only.
This repository was archived by the owner on Feb 28, 2024. It is now read-only.
np.int was a deprecated alias for the builtin int. #1171
My version is R1.10.1. If my numpy's version is beyond or equal to R1.24.0, an error will output like this when skopt.space.Integer is used:
AttributeError: module 'numpy' has no attribute 'int'.
np.intwas a deprecated alias for the builtinint. To avoid this error in existing code, useintby itself.This is how to fix it:
https://stackoverflow.com/questions/74844262/how-can-i-solve-error-module-numpy-has-no-attribute-float-in-python
Hope next version will fix it.