I'm trying to run an example on Flask with the command pip install -r requirements.txt
requirements.txt
Flask==0.10.1 An error occurs
Cleaning up ... Command / usr / bin / python3 -c "import setuptools, tokenize; file = '/ tmp / pip-build-mjv2up4b / Flask / setup.py'; exec (compile (getattr (tokenize, 'open' , open) ( file ) .read (). replace ('\ r \ n', '\ n'), file , 'exec')) "install --record / tmp / pip-b0i5mgt4-record / install-record .txt - single-version-externally-managed - compile failed with error code 1 in / tmp / pip-build-mjv2up4b / Flask Storing debug log for failure in / home / pi /.pip / pip.log
~$ python -V Python 3.4.2 ~$ pip -V pip 1.5.6 from /usr/lib/python3/dist-packages (python 3.4)
Storing debug log for failure in /home/pi/.pip/pip.log- it did not help? - MaxUerror: could not create '/usr/local/lib/python3.4/dist-packages/flask': Permission denied- MaxU