小编Jac*_*ein的帖子

错误:无法为使用 PEP 517 的 pymssql 构建轮子,并且无法直接安装

我正在尝试在 Windows 上从 pip 安装 pymssql。问题是,我不断收到以下错误:

ERROR: Failed building wheel for pymssql
Failed to build pymssql
ERROR: Could not build wheels for pymssql which use PEP 517 and cannot be installed directly
Run Code Online (Sandbox Code Playgroud)

完整日志如下:

Building wheels for collected packages: pymssql
  Building wheel for pymssql (PEP 517) ... error
  ERROR: Command errored out with exit status 1:
   command: 'c:\users\administrator\appdata\local\programs\python\python39\python.exe' 'c:\users\administrator\appdata\local\programs\python\python39\lib\site-packages\pip\_vendor\pep517\_in_process.py' build_wheel 'C:\Users\ADMINI~1\AppData\Local\Temp\tmpvh65n1en'
       cwd: C:\Users\Administrator\AppData\Local\Temp\pip-install-skfrg8ce\pymssql_3826b234076b47ab9618e9d73ff9698b
  Complete output (16 lines):
  setup.py: platform.system() => 'Windows'
  setup.py: platform.architecture() => ('64bit', 'WindowsPE')
  running bdist_wheel
  running build
  running …
Run Code Online (Sandbox Code Playgroud)

python pip pymssql

12
推荐指数
1
解决办法
1万
查看次数

标签 统计

pip ×1

pymssql ×1

python ×1