错误:命令 'cl.exe' 失败:没有这样的文件或目录,当安装 pybluez - cl.exe 在 PATH 中

时间:2021-01-05 17:49:48

标签: python pybluez cl.exe

我尝试用 Python 安装 pybluez。 所以,我有 VS 2019、构建工具和 Windows 10 SDK。 cl.exe 在路径中(... et\tools;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29333\bin\Hostx64\x64;):

C:\var\www\IO>cl
Compilateur d'optimisation Microsoft (R) C/C++ version 19.28.29335 pour x64
Copyright (C) Microsoft Corporation. Tous droits réservés.

utilisation : cl [ option... ] nom de fichier... [ /link linkoption... ]

但是,当我安装 pybluez 时,出现此错误:

Skipping optional fixer: buffer
Skipping optional fixer: idioms
Skipping optional fixer: set_literal
Skipping optional fixer: ws_comma
Fixing build\lib.win-amd64-3.8\bluetooth\ble.py build\lib.win-amd64-3.8\bluetooth\bluez.py build\lib.win-amd64-3.8\bluetooth\btcommon.py build\lib.win-amd64-3.8\bluetooth\macos.py build\lib.win-amd64-3.8\bluetooth\msbt.py build\lib.win-amd64-3.8\bluetooth\widcomm.py build\lib.win-amd64-3.8\bluetooth\__init__.py
Skipping optional fixer: buffer
Skipping optional fixer: idioms
Skipping optional fixer: set_literal
Skipping optional fixer: ws_comma
running build_ext
building 'bluetooth._msbt' extension
creating build\temp.win-amd64-3.8
creating build\temp.win-amd64-3.8\Release
creating build\temp.win-amd64-3.8\Release\msbt
cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -I.\port3 -Ic:\users\xxxx\appdata\local\programs\python\python38\include -Ic:\users\xxxx\appdata\local\programs\python\python38\include /Tcmsbt\_msbt.c /Fobuild\temp.win-amd64-3.8\Release\msbt\_msbt.obj
error: command 'cl.exe' failed: No such file or directory
----------------------------------------

你能帮我吗?

F.

0 个答案:

没有答案
相关问题