module ‘numpy‘ has no attribute
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash
·
记录一个错误,在自己的笔记本上跑程序没有任何问题,但是在服务器上跑的时候所有的import都报错。如题爆出了module ‘numpy’ has no attribute这种类型的错误。
经查,是有一个文件命名为random.py,与Python库文件中的random重名,因此在linux下报错。因此在程序命名时不要和库文件重名。
A beautiful web dashboard for Linux
最近提交(Master分支:2 个月前 )
186a802e
added ecosystem file for PM2 4 年前
5def40a3
Add host customization support for the NodeJS version 4 年前
更多推荐

所有评论(0)