我使用的是带有 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)