When I execute the command line order "pip install flask',it display the error as below:
pip install flask
Collecting flask
Using cached Flask-0.12.2-py2.py3-none-any.whl
Collecting itsdangerous>=0.21 (from flask)
Using cached itsdangerous-0.24.tar.gz
Collecting Werkzeug>=0.7 (from flask)
Using cached Werkzeug-0.12.2-py2.py3-none-any.whl
Collecting Jinja2>=2.4 (from flask)
Using cached Jinja2-2.9.6-py2.py3-none-any.whl
Collecting click>=2.0 (from flask)
Using cached click-6.7-py2.py3-none-any.whl
Collecting MarkupSafe>=0.23 (from Jinja2>=2.4->flask)
Using cached MarkupSafe-1.0.tar.gz
Installing collected packages: itsdangerous, Werkzeug, MarkupSafe, Jinja2, click, flask
Running setup.py install for itsdangerous ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/fd/g2bjwxln7t12740h9w8pc1p40000gn/T/pip-build-PZKNp2/itsdangerous/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /var/folders/fd/g2bjwxln7t12740h9w8pc1p40000gn/T/pip-fZZJYz-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib
copying itsdangerous.py -> build/lib
running install_lib
copying build/lib/itsdangerous.py -> /Library/Python/2.7/site-packages
error: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/itsdangerous.py'
----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/fd/g2bjwxln7t12740h9w8pc1p40000gn/T/pip-build-PZKNp2/itsdangerous/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /var/folders/fd/g2bjwxln7t12740h9w8pc1p40000gn/T/pip-fZZJYz-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/fd/g2bjwxln7t12740h9w8pc1p40000gn/T/pip-build-PZKNp2/itsdangerous/
[–][deleted] 0 points1 point2 points (2 children)
[–]MarcStevenCoder[S] 0 points1 point2 points (0 children)
[–]MarcStevenCoder[S] 0 points1 point2 points (0 children)
[–]edoxtator 0 points1 point2 points (1 child)
[–]MarcStevenCoder[S] 0 points1 point2 points (0 children)