安装了numpy可以在python console中用,pycharm还是显示有问题
把 pycharm 里的 interpretor 指向 你已经安装np的python
random和numpy又不是一个库