Command "d:\progra~2\jetbra~1\testvir\scripts\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\admin\\appdata\\local\\temp\\pip-build-fsnoa6\\mysql-python\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record c:\users\admin\appdata\local\temp\pip-zjni4l-record\install-record.txt --single-version-externally-managed --compile --install-headers d:\progra~2\jetbra~1\testvir\include\site\python2.7\mysql-python" failed with error code 1 in c:\users\admin\appdata\local\temp\pip-build-fsnoa6\mysql-python\node
須要添加插件支持:https://www.lfd.uci.edu/~gohlke/pythonlibs/#mysql-pythonpython
pip 安裝報錯: is not a supported wheel on this platform
解決辦法:mysql
查看pip支持版本:sql
進入python Shell命令:bash
import pipapp
print(pip.pep425tags.get_supported())能夠獲取到pip支持的文件名還有版本python2.7
錯誤2: bash: virtualenv: command not found ui
find -name virtualenvthis
錯誤3: IOError: [Errno 13] Permission denied: '/usr/local/bin/node'插件
沒有權限,須要使用sudo pip install virtualenv 獲取權限安裝