Skip to content
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

Error: module 'numpy' has no attribute 'int' #42

Open
efrainceh opened this issue Jul 13, 2023 · 4 comments
Open

Error: module 'numpy' has no attribute 'int' #42

efrainceh opened this issue Jul 13, 2023 · 4 comments

Comments

@efrainceh
Copy link

I got this message while trying to Export a Full Table after humanization.

image

@gracevikman
Copy link

Hi, I was using biophi from command line and also got this error. I fixed it by going to line 83 of biophi/humanization/methods/humanness.py:

curve = curve.astype(np.int64)

@efrainceh
Copy link
Author

Ok, thanks!

@gracevikman
Copy link

No problem. I think it has to do with the version of numpy since I didn't have any issues when I set up the conda environment for biophi in the readme.

tony-res added a commit to tony-res/BioPhi that referenced this issue Jul 28, 2023
Fixing np.int bug. Merck#42

Numpy no longer aliases `np.int`. Instead it recommends just to use the built in `int` type.
@tony-res
Copy link
Contributor

I created a pull request to fix.

prihoda pushed a commit that referenced this issue Aug 8, 2023
Fixing np.int bug. #42

Numpy no longer aliases `np.int`. Instead it recommends just to use the built in `int` type.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants