python 常见问题

Command "d:progra~2jetbra~1 estvirscriptspython.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(' ', ' ');f.close();exec(compile(code, __file__, 'exec'))" install --record c:usersadminappdatalocal emppip-zjni4l-recordinstall-record.txt --single-version-externally-managed --compile --install-headers d:progra~2jetbra~1 estvirincludesitepython2.7mysql-python" failed with error code 1 in c:usersadminappdatalocal emppip-build-fsnoa6mysql-python

需要添加插件支持:https://www.lfd.uci.edu/~gohlke/pythonlibs/#mysql-python

pip 安装报错: is not a supported wheel on this platform
  解决办法:

    查看pip支持版本:

      进入python Shell命令:

        import pip

        print(pip.pep425tags.get_supported())可以获取到pip支持的文件名还有版本

错误2: bash: virtualenv: command not found 

   find -name virtualenv

错误3: IOError: [Errno 13] Permission denied: '/usr/local/bin/node'

   没有权限,需要使用sudo pip install virtualenv 获取权限安装

原文地址:https://www.cnblogs.com/air-liyan/p/7967316.html