子钦加油

扩大
缩小

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

近期练习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

如上图所示

 

这样就安装成功了

 

posted on 2019-08-29 11:07 子钦加油 阅读(...) 评论(...) 编辑 收藏

导航

返回顶部