【pycharm】报错:AttributeError: partially initialized module ‘numpy’ has no attribute ‘array’ (most likely due to a circular import)的错误 文件名与调用包的名称一致引起歧义 解决办法:修改文件名重新run 【pycharm】报错:TypeError: ‘builtin_function_or_method’ object is unsubscriptable的解决方法 小括号’()‘写成了中括号‘[]’ 解决办法:修改为‘()’