我在 pyodbc 安装时遇到错误,我正在研究这个问题,也许是 c++ 重新分布安装问题,但即使使用 c++ 重新分布安装更新了问题 oc
\n\n尝试安装 pyodbc 时出现错误
\n\nC:\\Users\\MacInBox>pip install pyodbc\nCollecting pyodbc\n Using cached https://files.pythonhosted.org/packages/75/29/aa190749bac37ede0f11a68a75e7055254699c11572bd94213f1163dfd8f/pyodbc-4.0.27.tar.gz\nInstalling collected packages: pyodbc\n Running setup.py install for pyodbc ... error\n ERROR: Command errored out with exit status 1:\n command: \'c:\\users\\macinbox\\appdata\\local\\programs\\python\\python38-32\\python.exe\' -u -c \'import sys, setuptools, tokenize; sys.argv[0] = \'"\'"\'C:\\\\Users\\\\MacInBox\\\\AppData\\\\Local\\\\Temp\\\\pip-install-ysm4ul3_\\\\pyodbc\\\\setup.py\'"\'"\'; __file__=\'"\'"\'C:\\\\Users\\\\MacInBox\\\\AppData\\\\Local\\\\Temp\\\\pip-install-ysm4ul3_\\\\pyodbc\\\\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\\MacInBox\\AppData\\Local\\Temp\\pip-record-fzctfb9u\\install-record.txt\' --single-version-externally-managed --compile\n cwd: C:\\Users\\MacInBox\\AppData\\Local\\Temp\\pip-install-ysm4ul3_\\pyodbc\\\n Complete output (12 lines):\n running install\n running build\n running build_ext\n building \'pyodbc\' extension\n creating build\n creating build\\temp.win32-3.8\n creating …Run Code Online (Sandbox Code Playgroud)