Skip to content

Instantly share code, notes, and snippets.

@mh0w
Last active November 22, 2024 11:41
Show Gist options
  • Save mh0w/7bfda11a9a06ae8d3f2d018cef14e1e8 to your computer and use it in GitHub Desktop.
Save mh0w/7bfda11a9a06ae8d3f2d018cef14e1e8 to your computer and use it in GitHub Desktop.
Common errors and possible solutions
#### Issue: np.float not found
Explanation: the issue is that np.float is being called for, but np.float is deprecated in newer
versions of numpy.
Solution(s):
(i) use float instead
(ii) create np.float = float, (iii) update the package that calls for np.float
import numpy as np
np.float == float
np.bool == float
(iv) downgrade numpy to a version that features np.float
#### Issue:
Explanation:
Solution(s):
#### Issue:
Explanation:
Solution(s):
#### Issue:
Explanation:
Solution(s):
#### Issue:
Explanation:
Solution(s):
#### Issue:
Explanation:
Solution(s):
#### Issue:
Explanation:
Solution(s):
#### Issue:
Explanation:
Solution(s):
#### Issue:
Explanation:
Solution(s):
#### Issue:
Explanation:
Solution(s):
#### Issue:
Explanation:
Solution(s):
#### Issue:
Explanation:
Solution(s):
#### Issue:
Explanation:
Solution(s):
#### Issue:
Explanation:
Solution(s):
#### Issue:
Explanation:
Solution(s):
#### Issue:
Explanation:
Solution(s):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment