当我使用CMD安装numpy(点安装numpy)时,我会遇到此错误!
我的胜利是10。pyyhon的版本是3.7.3
pip install numpy
C:\Users\Hamed>pip3 install numpy
Collecting numpy
Using cached https://files.pythonhosted.org/packages/4e/9d/c129d78e6b942303b762ccfdf1f8339de80c5e6021b14ef0c99ec5bdc6aa/numpy-1.16.3-cp37-cp37m-win_amd64.whl
Installing collected packages: numpy
Could not install packages due to an EnvironmentError: [WinError 5] Access is denied: 'c:\\program files\\python37\\Lib\\site-packages\\numpy'
Consider using the `--user` option or check the permissions.
答案 0 :(得分:1)
尝试以管理员身份运行cmd