I was trying to install the below packages and I got the issue. Kindly help to install the packages. Since I got the below error.
pip install flask
pip install flask-script
pip install WTForms
pip install mongoengine
pip install flask_mongoengine
creating /usr/local/lib/python2.7/dist-packages/flask_mongoengine
error: could not create '/usr/local/lib/python2.7/dist-packages/flask_mongoengine': Permission denied
----------------------------------------
Command /usr/bin/python -c "import setuptools;__file__='/home/rohit/build/flask-mongoengine/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-aOAE4a-record/install-record.txt failed with error code 1
Storing complete log in /home/rohit/.pip/pip.log
___________________________________________________________________________________________________________________________________
Running setup.py install for flask-script
error: /usr/local/lib/python2.7/dist-packages/flaskext: Permission denied
Complete output from command /usr/bin/python -c "import setuptools;__file__='/home/rohit/build/flask-script/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-Nk3gHq-record/install-record.txt:
I was trying to install the below packages and I got the issue. Kindly help if you know Andrzej,
pip install flask
pip install flask-script
pip install WTForms
pip install mongoengine
pip install flask_mongoengine
creating /usr/local/lib/python2.7/dist-packages/flask_mongoengine
error: could not create '/usr/local/lib/python2.7/dist-packages/flask_mongoengine': Permission denied
----------------------------------------
Command /usr/bin/python -c "import setuptools;__file__='/home/rohit/build/flask-mongoengine/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-aOAE4a-record/install-record.txt failed with error code 1
Storing complete log in /home/rohit/.pip/pip.log
___________________________________________________________________________________________________________________________________
Running setup.py install for flask-script
error: /usr/local/lib/python2.7/dist-packages/flaskext: Permission denied
Complete output from command /usr/bin/python -c "import setuptools;__file__='/home/rohit/build/flask-script/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-Nk3gHq-record/install-record.txt:
running install
_________________________________________________________________________________________________________________________________________
copying flaskext/script.py -> /usr/local/lib/python2.7/dist-packages/flaskext
error: /usr/local/lib/python2.7/dist-packages/flaskext: Permission denied
----------------------------------------
Command /usr/bin/python -c "import setuptools;__file__='/home/rohit/build/flask-script/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-Nk3gHq-record/install-record.txt failed with error code 1
Storing complete log in /home/rohit/.pip/pip.log
running install
_________________________________________________________________________________________________________________________________________
copying flaskext/script.py -> /usr/local/lib/python2.7/dist-packages/flaskext
error: /usr/local/lib/python2.7/dist-packages/flaskext: Permission denied
----------------------------------------
Command /usr/bin/python -c "import setuptools;__file__='/home/rohit/build/flask-script/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-Nk3gHq-record/install-record.txt failed with error code 1
Storing complete log in /home/rohit/.pip/pip.logej,
pip install flask
pip install flask-script
pip install WTForms
pip install mongoengine
pip install flask_mongoengine
creating /usr/local/lib/python2.7/dist-packages/flask_mongoengine
error: could not create '/usr/local/lib/python2.7/dist-packages/flask_mongoengine': Permission denied
----------------------------------------
Command /usr/bin/python -c "import setuptools;__file__='/home/rohit/build/flask-mongoengine/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-aOAE4a-record/install-record.txt failed with error code 1
Storing complete log in /home/rohit/.pip/pip.log
___________________________________________________________________________________________________________________________________
Running setup.py install for flask-script
error: /usr/local/lib/python2.7/dist-packages/flaskext: Permission denied
Complete output from command /usr/bin/python -c "import setuptools;__file__='/home/rohit/build/flask-script/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-Nk3gHq-record/install-record.txt:
running install
_________________________________________________________________________________________________________________________________________
copying flaskext/script.py -> /usr/local/lib/python2.7/dist-packages/flaskext
error: /usr/local/lib/python2.7/dist-packages/flaskext: Permission denied
----------------------------------------
Command /usr/bin/python -c "import setuptools;__file__='/home/rohit/build/flask-script/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-Nk3gHq-record/install-record.txt failed with error code 1
Storing complete log in /home/rohit/.pip/pip.log