1. 程式人生 > >Could not install packages due to an EnvironmentError: [Errno 13] Permission denied問題解決方法

Could not install packages due to an EnvironmentError: [Errno 13] Permission denied問題解決方法

在搭建TensorFlow環境中,pip install xxx 時遇到了如下問題,查閱了很多資料,寫的很亂很雜,現在我獨闢一畝田,寫下自己的解決方案

  • 問題描述如下

Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: ‘c:\program files\python37\Lib\site-packages\cython.py截圖

  • 具體解決方法如下
pip install cython --user	% 注意是兩個-

在這裡插入圖片描述

  • 希望能夠幫助到您!感謝!