ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/itsdangerous' C
程序员文章站
2022-07-02 13:14:13
近期练习flask写个blog, 安装flask扩展时 报ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Library/Python/2.7/site-pac ......
近期练习flask写个blog,
安装flask扩展时
pip install flask-wtf
报error: could not install packages due to an environmenterror: [errno 13] permission denied: '/library/python/2.7/site-packages/itsdangerous' consider using the `--user` option or check the permissions.
如图所示
这里报这个错,主要是因为权限不够 ,用下面的命令安装即可
pip install flask-wtf --user
如上图所示
这样就安装成功了
文章转自:https://www.cnblogs.com/zmdComeOn/p/11428570.html
上一篇: Golang检测Linux服务器端口占用
下一篇: JS高级---逆推继承看原型