module ‘numpy‘ has no attribute ‘object‘

目录

module 'numpy' has no attribute 'object'

FreeTypeFont object has no attribute 'getsize'


module 'numpy' has no attribute 'object'

解决方案:

pip uninstall numpy

pip install numpy==1.23.4

pip3 install --user numpy==1.23.4

FreeTypeFont object has no attribute 'getsize'

解决方法:

pip install Pillow==9.5

pip3 install --user Pillow==9.5

你可能感兴趣的:(python基础,numpy)