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

如上图所示

这样就安装成功了

猜你喜欢

转载自www.cnblogs.com/zmdComeOn/p/11428570.html