Fehler: Es konnte keine Räder für pymssql erstellen, die für die Installation von PYProject.toml-basierten Projekten erfPython

Python-Programme
Anonymous
 Fehler: Es konnte keine Räder für pymssql erstellen, die für die Installation von PYProject.toml-basierten Projekten erf

Post by Anonymous »

Ich habe ein Problem mit der Installation von PYMSQL , einer von Ihnen hatte einen ähnlichen Fall? >
Außerdem versuche ich: < /p>
Upgrade -PIP mit: Python -m -PIP -Installation -Upgrade -PIP < /p>
Upgrade Rad mit: PIP -Installation -Upgrade -Rad < /p>
Upgrade setuptools mit: pip install -upgrade setuptools < /p>
Wenn ich versuche, das zu installieren, habe ich dann empfangen: < /p>

Code: Select all

Collecting pymssql
Using cached pymssql-2.2.2.tar.gz (170 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: startedNote: you may need to restart the kernel to use updated packages.
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: pymssql
Building wheel for pymssql (pyproject.toml): started

ERROR: Command errored out with exit status 1:
command: 'C:\Users\mikol\AppData\Local\Programs\Python\Python310\python.exe' 'C:\Users\mikol\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' build_wheel 'C:\Users\mikol\AppData\Local\Temp\tmpli4438o6'
cwd: C:\Users\mikol\AppData\Local\Temp\pip-install-f4z0veo1\pymssql_f17e29cc25734af0a975be16add0d1d8
Complete output (23 lines):
setup.py: platform.system() => Windows
setup.py: platform.architecture() => ('64bit', 'WindowsPE')
setup.py: include_dirs => []
setup.py: library_dirs => []
running bdist_wheel
running build  Building wheel for pymssql (pyproject.toml): finished with status 'error'
Failed to build pymssql

running build_py
creating build
creating build\lib.win-amd64-3.10
creating build\lib.win-amd64-3.10\pymssql
copying src\pymssql\__init__.py -> build\lib.win-amd64-3.10\pymssql
running build_ext
cythoning src\pymssql\_mssql.pyx to src\pymssql\_mssql.c
cythoning src\pymssql\_pymssql.pyx to src\pymssql\_pymssql.c
building 'pymssql._mssql' extension
creating build\temp.win-amd64-3.10
creating build\temp.win-amd64-3.10\Release
creating build\temp.win-amd64-3.10\Release\src
creating build\temp.win-amd64-3.10\Release\src\pymssql
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Users\mikol\AppData\Local\Programs\Python\Python310\include -IC:\Users\mikol\AppData\Local\Programs\Python\Python310\Include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt /Tcsrc\pymssql\_mssql.c /Fobuild\temp.win-amd64-3.10\Release\src\pymssql\_mssql.obj -DMSDBLIB
_mssql.c
src\pymssql\_mssql.c(682): fatal error C1083: Nie moľna otworzy† pliku do\x88Ącz: 'sqlfront.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
----------------------------------------
ERROR: Failed building wheel for pymssql
ERROR: Could not build wheels for pymssql, which is required to install pyproject.toml-based projects
Vorschläge zur Behebung des Problems werden sehr geschätzt.

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post