soyoung97 / Standard_Korean_GEC

56 stars 4 forks source link

AttributeError: module 'numpy' has no attribute 'bool'. #4

Closed andreaschari closed 8 months ago

andreaschari commented 10 months ago

With the current requirements.txt I'm getting AttributeError: module 'numpy' has no attribute 'bool'. on python 3.8

Following this https://stackoverflow.com/questions/74893742/how-to-solve-attributeerror-module-numpy-has-no-attribute-bool I upgraded numpy to 1.23.5 and the sample code works correctly now. Maybe numpy needs to be added to the requirements to get the correct version?

soyoung97 commented 8 months ago

Hi @andreaschari, thank you for the correction! I'll update the requirements.txt file.

Thanks again :)

Best, Soyoung Yoon