相关疑难解决方法(0)

错误:无法为 pymssql 构建轮子,这是在 Mac M1 中安装基于 pyproject.toml 的项目所必需的

我使用的是带有 M1 芯片的 MacBook,但似乎有很多东西没有针对它进行优化。
pyodbc不适合我,所以我想使用pymssql.
不过,当我尝试运行时遇到了这个问题pip install pymssql

错误如下。

  Using cached pymssql-2.2.2.tar.gz (170 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: pymssql
  Building wheel for pymssql (pyproject.toml) ... error
  ERROR: Command errored out with exit status 1:
Your project path and someinfo about it.

Complete output (25 lines):
  setup.py: platform.system() => Darwin
  setup.py: platform.architecture() => ('64bit', '')
  setup.py: platform.libc_ver() => …
Run Code Online (Sandbox Code Playgroud)

macos pip pymssql apple-m1

6
推荐指数
2
解决办法
2万
查看次数

标签 统计

apple-m1 ×1

macos ×1

pip ×1

pymssql ×1