报错:module ‘numpy‘ has no attribute ‘typeDict"/>
使用@jit(nopython=True)装饰器报错:module ‘numpy‘ has no attribute ‘typeDict
文章目录
- 一、报错原因
- 二、解决
一、报错原因
是因为numpy和scipy库之间存在版本冲突或不兼容的问题,或者其他与numpy有关的包导致了这个错误。
二、解决
pip install --upgrade numpy scipy
更多推荐
使用@jit(nopython=True)装饰器报错:module ‘numpy‘ has no attribute ‘typeDict
发布评论