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

ImportError: cannot import name 'bool' from 'numpy' #32

Open
hengfei-wang opened this issue Dec 22, 2022 · 3 comments
Open

ImportError: cannot import name 'bool' from 'numpy' #32

hengfei-wang opened this issue Dec 22, 2022 · 3 comments

Comments

@hengfei-wang
Copy link

I encounter this problem from numpy after installing the packages in requirement.txt. Does anyone have the similar problem?

@ArjunZ786
Copy link

Yes, same problem. Were you able to fix it?

@DelinaHJ
Copy link

Reducing the version of numpy can fix it. Mine is numpy==1.23 and python3.8.10

@shahzaib3120
Copy link

Downgrading works @DelinaHJ . one can also edit the source code and remove the line importing bool as its not really used in the library anywhere.

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

4 participants