我试着在我的个人电脑上安装Flask,它有linuxmint。最终出现以下错误:
*error: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/itsdangerous.py'
---------------------------------------------------------------------- Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-cMPDih/itsdangerous/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-HIVrsp-record/install-record.txt
--single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-cMPDih/itsdangerous/*
错误消息指示您没有在虚拟环境中工作。你可能还没有激活它。您可以轻松测试和激活它:
你每次都需要激活。您可以创建一个启动脚本,例如在bash中,以便在运行程序时激活它:
^{pr2}$相关问题 更多 >
编程相关推荐