-
Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。: 'c:\\program files\\python37\\Lib\\site-packages\\pytz'
Consider using the `--user` option or check the permissions.
-
方法一:解决办法:命令行中加 --user
如:pip install --user Django==2.1.3
如: pip install --user beautifulsoup4 安装beautifulsoup4
如: python -m pip install --user --upgrade pip 升级pip
-
方法二:文件夹----属性----安全----(设置User用777权限)