error: command 'cl.exe' failed: No such file or directory

余生颓废 提交于 2019-11-30 16:44:55
Stam Kaly

As user590028 mentioned in the comments python requires a C compiler to install packages like pyodbc. On Windows the most common compiler is Visual Studio C++, so check the list below taken from Microsoft Visual C++ Compiler for Python 3.4

  • Visual Studio 2008 for Python 2.7.
  • Visual Studio 2010 for Python 3.4.

Newer versions of Visual Studio should work on Python 3.5.

If you install Visual Studio you should be able to build pyodbc without any errors.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!