Open hjvupnonon opened 1 month ago
Hi, @hjvupnonon! This is a common issue that some other also reported, but I have not met this yet in my own environment. So I suggested you to do the following attempts:
Also you can try pip install external/dv-toolkit/. -v
to print detailed error info and send me the printing log.
When I type pip install external/dv-toolkit/. -v, I get the following log
(.venv) PS C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-emlb-main> pip install ex
ternal/dv-toolkit/. -v
Using pip 24.2 from C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-emlb-main\.venv\
Lib\site-packages\pip (python 3.11)
Processing c:\users\jn\desktop\cuke-emlb-main\cuke-emlb-main\cuke-emlb-main\external\dv-too
lkit
Running command python setup.py egg_info
running egg_info
creating C:\Users\JN\AppData\Local\Temp\pip-pip-egg-info-ugttgfx4\dv_toolkit.egg-info
writing C:\Users\JN\AppData\Local\Temp\pip-pip-egg-info-ugttgfx4\dv_toolkit.egg-info\PKG-
INFO
writing dependency_links to C:\Users\JN\AppData\Local\Temp\pip-pip-egg-info-ugttgfx4\dv_t
oolkit.egg-info\dependency_links.txt
writing requirements to C:\Users\JN\AppData\Local\Temp\pip-pip-egg-info-ugttgfx4\dv_toolk
it.egg-info\requires.txt
writing top-level names to C:\Users\JN\AppData\Local\Temp\pip-pip-egg-info-ugttgfx4\dv_to
olkit.egg-info\top_level.txt
writing manifest file 'C:\Users\JN\AppData\Local\Temp\pip-pip-egg-info-ugttgfx4\dv_toolki
t.egg-info\SOURCES.txt'
reading manifest file 'C:\Users\JN\AppData\Local\Temp\pip-pip-egg-info-ugttgfx4\dv_toolki
t.egg-info\SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'C:\Users\JN\AppData\Local\Temp\pip-pip-egg-info-ugttgfx4\dv_toolki
t.egg-info\SOURCES.txt'
Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy>=1.24 in c:\users\jn\desktop\cuke-emlb-main\cuke-emlb-
main\cuke-emlb-main\.venv\lib\site-packages (from dv_toolkit==0.1.0) (1.26.4)
Requirement already satisfied: dv_processing>=1.7 in c:\users\jn\desktop\cuke-emlb-main\cuk
e-emlb-main\cuke-emlb-main\.venv\lib\site-packages (from dv_toolkit==0.1.0) (1.7.9)
Collecting plotly>=5.17 (from dv_toolkit==0.1.0)
Obtaining dependency information for plotly>=5.17 from https://files.pythonhosted.org/pac
kages/b3/f6/64fe388089588a0c364b03809443cd628fe0261d1364313fb7aec6bb0ebc/plotly-5.24.0-py3-
none-any.whl.metadata
Using cached plotly-5.24.0-py3-none-any.whl.metadata (7.3 kB)
Collecting matplotlib>=3.7 (from dv_toolkit==0.1.0)
Obtaining dependency information for matplotlib>=3.7 from https://files.pythonhosted.org/
packages/8b/ce/15b0bb2fb29b3d46211d8ca740b96b5232499fc49200b58b8d571292c9a6/matplotlib-3.9.
2-cp311-cp311-win_amd64.whl.metadata
Using cached matplotlib-3.9.2-cp311-cp311-win_amd64.whl.metadata (11 kB)
Collecting contourpy>=1.0.1 (from matplotlib>=3.7->dv_toolkit==0.1.0)
Obtaining dependency information for contourpy>=1.0.1 from https://files.pythonhosted.org
/packages/8d/2f/804f02ff30a7fae21f98198828d0857439ec4c91a96e20cf2d6c49372966/contourpy-1.3.
0-cp311-cp311-win_amd64.whl.metadata
Using cached contourpy-1.3.0-cp311-cp311-win_amd64.whl.metadata (5.4 kB)
Collecting cycler>=0.10 (from matplotlib>=3.7->dv_toolkit==0.1.0)
Obtaining dependency information for cycler>=0.10 from https://files.pythonhosted.org/pac
kages/e7/05/c19819d5e3d95294a6f5947fb9b9629efb316b96de511b418c53d245aae6/cycler-0.12.1-py3-
none-any.whl.metadata
Using cached cycler-0.12.1-py3-none-any.whl.metadata (3.8 kB)
Collecting fonttools>=4.22.0 (from matplotlib>=3.7->dv_toolkit==0.1.0)
Obtaining dependency information for fonttools>=4.22.0 from https://files.pythonhosted.or
g/packages/c8/e1/059700c154bd7170d1c37061239836d2e51ff608f47075450f06dd3c292a/fonttools-4.5
3.1-cp311-cp311-win_amd64.whl.metadata
Using cached fonttools-4.53.1-cp311-cp311-win_amd64.whl.metadata (165 kB)
Collecting kiwisolver>=1.3.1 (from matplotlib>=3.7->dv_toolkit==0.1.0)
Obtaining dependency information for kiwisolver>=1.3.1 from https://files.pythonhosted.or
g/packages/a1/65/d43e9a20aabcf2e798ad1aff6c143ae3a42cf506754bcb6a7ed8259c8425/kiwisolver-1.
4.7-cp311-cp311-win_amd64.whl.metadata
Using cached kiwisolver-1.4.7-cp311-cp311-win_amd64.whl.metadata (6.4 kB)
Collecting packaging>=20.0 (from matplotlib>=3.7->dv_toolkit==0.1.0)
Obtaining dependency information for packaging>=20.0 from https://files.pythonhosted.org/
packages/08/aa/cc0199a5f0ad350994d660967a8efb233fe0416e4639146c089643407ce6/packaging-24.1-
py3-none-any.whl.metadata
Using cached packaging-24.1-py3-none-any.whl.metadata (3.2 kB)
Collecting pillow>=8 (from matplotlib>=3.7->dv_toolkit==0.1.0)
Obtaining dependency information for pillow>=8 from https://files.pythonhosted.org/packag
es/c1/d0/5866318eec2b801cdb8c82abf190c8343d8a1cd8bf5a0c17444a6f268291/pillow-10.4.0-cp311-c
p311-win_amd64.whl.metadata
Using cached pillow-10.4.0-cp311-cp311-win_amd64.whl.metadata (9.3 kB)
Requirement already satisfied: pyparsing>=2.3.1 in c:\users\jn\desktop\cuke-emlb-main\cuke-
emlb-main\cuke-emlb-main\.venv\lib\site-packages (from matplotlib>=3.7->dv_toolkit==0.1.0)
(3.1.4)
Collecting python-dateutil>=2.7 (from matplotlib>=3.7->dv_toolkit==0.1.0)
Obtaining dependency information for python-dateutil>=2.7 from https://files.pythonhosted
.org/packages/ec/57/56b9bcc3c9c6a792fcbaf139543cee77261f3651ca9da0c93f5c1221264b/python_dat
eutil-2.9.0.post0-py2.py3-none-any.whl.metadata
Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
Collecting tenacity>=6.2.0 (from plotly>=5.17->dv_toolkit==0.1.0)
Obtaining dependency information for tenacity>=6.2.0 from https://files.pythonhosted.org/
packages/b6/cb/b86984bed139586d01532a587464b5805f12e397594f19f931c4c2fbfa61/tenacity-9.0.0-
py3-none-any.whl.metadata
Using cached tenacity-9.0.0-py3-none-any.whl.metadata (1.2 kB)
Requirement already satisfied: six>=1.5 in c:\users\jn\desktop\cuke-emlb-main\cuke-emlb-mai
n\cuke-emlb-main\.venv\lib\site-packages (from python-dateutil>=2.7->matplotlib>=3.7->dv_to
olkit==0.1.0) (1.16.0)
Using cached matplotlib-3.9.2-cp311-cp311-win_amd64.whl (7.8 MB)
Using cached plotly-5.24.0-py3-none-any.whl (19.0 MB)
Using cached contourpy-1.3.0-cp311-cp311-win_amd64.whl (217 kB)
Using cached cycler-0.12.1-py3-none-any.whl (8.3 kB)
Using cached fonttools-4.53.1-cp311-cp311-win_amd64.whl (2.2 MB)
Using cached kiwisolver-1.4.7-cp311-cp311-win_amd64.whl (56 kB)
Using cached packaging-24.1-py3-none-any.whl (53 kB)
Using cached pillow-10.4.0-cp311-cp311-win_amd64.whl (2.6 MB)
Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Using cached tenacity-9.0.0-py3-none-any.whl (28 kB)
Building wheels for collected packages: dv_toolkit
Running command python setup.py bdist_wheel
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-311
creating build\lib.win-amd64-cpython-311\dv_toolkit
copying python\src\dv_toolkit\__init__.py -> build\lib.win-amd64-cpython-311\dv_toolkit
creating build\lib.win-amd64-cpython-311\dv_toolkit\plot
copying python\src\dv_toolkit\plot\player.py -> build\lib.win-amd64-cpython-311\dv_toolki
t\plot
copying python\src\dv_toolkit\plot\__init__.py -> build\lib.win-amd64-cpython-311\dv_tool
kit\plot
creating build\lib.win-amd64-cpython-311\dv_toolkit\plot\tools
copying python\src\dv_toolkit\plot\tools\func.py -> build\lib.win-amd64-cpython-311\dv_to
olkit\plot\tools
copying python\src\dv_toolkit\plot\tools\go_player.py -> build\lib.win-amd64-cpython-311\
dv_toolkit\plot\tools
copying python\src\dv_toolkit\plot\tools\mp_player.py -> build\lib.win-amd64-cpython-311\
dv_toolkit\plot\tools
copying python\src\dv_toolkit\plot\tools\__init__.py -> build\lib.win-amd64-cpython-311\d
v_toolkit\plot\tools
running build_ext
-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.19045.
-- The C compiler identification is MSVC 19.39.33520.0
-- The CXX compiler identification is MSVC 19.39.33520.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/
VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/
VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe - broken
CMake Error at C:/Users/JN/Desktop/cuke-emlb-main/cuke-emlb-main/cuke-emlb-main/.venv/Lib
/site-packages/cmake/data/share/cmake-3.30/Modules/CMakeTestCCompiler.cmake:67 (message):
The C compiler
"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/bi
n/Hostx64/x64/cl.exe"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: 'C:/Users/JN/Desktop/cuke-emlb-main/cuke-emlb-main/cuke-emlb-main/externa
l/dv-toolkit/build/temp.win-amd64-cpython-311/Release/_lib_toolkit/CMakeFiles/CMakeScratch/
TryCompile-zme0av'
Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Community/MSBuil
d/Current/Bin/amd64/MSBuild.exe" cmTC_6feca.vcxproj /p:Configuration=Debug /p:Platform=x64
/p:VisualStudioVersion=17.0 /v:n
閫傜敤浜\x8e .NET Framework MSBuild 鐗堟湰 17.9.5+33de0b227
鐢熸垚鍚\xaf鍔ㄦ椂闂翠负 2024/9/10 15:07:52銆\x82
鑺傜偣 1 涓婄殑椤圭洰鈥淐:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-emlb-m
ain\external\dv-toolkit\build\temp.win-amd64-cpython-311\Release\_lib_toolkit\CMakeFiles\CM
akeScratch\TryCompile-zme0av\cmTC_6feca.vcxproj鈥\x9d(榛樿\xaeょ洰鏍\x87)銆\x82
PrepareForBuild:
姝e湪鍒涘缓鐩\xae褰曗\x80渃mTC_6feca.dir\Debug\鈥濄\x80\x82
宸插惎鐢ㄧ粨鏋勫寲杈撳嚭銆傜紪璇戝櫒璇婃柇鐨勬牸寮忚\xae剧疆灏嗗弽鏄犻敊璇\xaf灞傛\
xac$粨鏋勩\x80傛湁鍏宠\xaf︾粏淇℃伅锛岃\xaf峰弬闃\x85 https://aka.ms/cpp/structured-output
銆\x82
姝e湪鍒涘缓鐩\xae褰曗\x80淐:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-e
mlb-main\external\dv-toolkit\build\temp.win-amd64-cpython-311\Release\_lib_toolkit\CMakeFil
es\CMakeScratch\TryCompile-zme0av\Debug\鈥濄\x80\x82
姝e湪鍒涘缓鐩\xae褰曗\x80渃mTC_6feca.dir\Debug\cmTC_6feca.tlog\鈥濄\x80\x82
InitializeBuildStatus:
姝e湪鍒涘缓鈥渃mTC_6feca.dir\Debug\cmTC_6feca.tlog\unsuccessfulbuild鈥濓紝鍥犱负宸
叉寚瀹氣\x80淎lwaysCreate鈥濄\x80\x82
姝e湪瀵光\x80渃mTC_6feca.dir\Debug\cmTC_6feca.tlog\unsuccessfulbuild鈥濇墽琛\x8c T
ouch 浠诲姟銆\x82
ClCompile:
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\b
in\HostX64\x64\CL.exe /c /Zi /W1 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WI
NDOWS /D "CMAKE_INTDIR=\"Debug\"" /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:i
nline /Fo"cmTC_6feca.dir\Debug\\" /Fd"cmTC_6feca.dir\Debug\vc143.pdb" /external:W1 /Gd /TC
/errorReport:queue "C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-emlb-main\extern
al\dv-toolkit\build\temp.win-amd64-cpython-311\Release\_lib_toolkit\CMakeFiles\CMakeScratch
\TryCompile-zme0av\testCCompiler.c"
鐢ㄤ簬 x64 鐨\x84 Microsoft (R) C/C++ 浼樺寲缂栬瘧鍣\xa8 19.39.33520 鐗\x88
鐗堟潈鎵\x80鏈\x89(C) Microsoft Corporation銆備繚鐣欐墍鏈夋潈鍒┿\x80\x82
cl /c /Zi /W1 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D "C
MAKE_INTDIR=\"Debug\"" /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"c
mTC_6feca.dir\Debug\\" /Fd"cmTC_6feca.dir\Debug\vc143.pdb" /external:W1 /Gd /TC /errorRepor
t:queue "C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-emlb-main\external\dv-toolk
it\build\temp.win-amd64-cpython-311\Release\_lib_toolkit\CMakeFiles\CMakeScratch\TryCompile
-zme0av\testCCompiler.c"
testCCompiler.c
Link:
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\b
in\HostX64\x64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Users\JN\Desktop\cuke-emlb-main\cuke-em
lb-main\cuke-emlb-main\external\dv-toolkit\build\temp.win-amd64-cpython-311\Release\_lib_to
olkit\CMakeFiles\CMakeScratch\TryCompile-zme0av\Debug\cmTC_6feca.exe" /INCREMENTAL /ILK:"cm
TC_6feca.dir\Debug\cmTC_6feca.ilk" /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib s
hell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC
:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/Users/JN/Desktop/cuke
-emlb-main/cuke-emlb-main/cuke-emlb-main/external/dv-toolkit/build/temp.win-amd64-cpython-3
11/Release/_lib_toolkit/CMakeFiles/CMakeScratch/TryCompile-zme0av/Debug/cmTC_6feca.pdb" /SU
BSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Users/JN/Desktop/cuke-emlb-main
/cuke-emlb-main/cuke-emlb-main/external/dv-toolkit/build/temp.win-amd64-cpython-311/Release
/_lib_toolkit/CMakeFiles/CMakeScratch/TryCompile-zme0av/Debug/cmTC_6feca.lib" /MACHINE:X64
/machine:x64 cmTC_6feca.dir\Debug\testCCompiler.obj
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Mic
rosoft.CppCommon.targets(1151,5): error MSB6003: 鎸囧畾鐨勪换鍔″彲鎵ц\xa1屾枃浠垛\x80渓ink.
exe鈥濇湭鑳借繍琛屻\x80係ystem.IO.DirectoryNotFoundException: 鏈\xaa鑳芥壘鍒拌矾寰勨\x80淐:
\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-emlb-main\external\dv-toolkit\build\te
mp.win-amd64-cpython-311\Release\_lib_toolkit\CMakeFiles\CMakeScratch\TryCompile-zme0av\cmT
C_6feca.dir\Debug\cmTC_6feca.tlog鈥濈殑涓\x80閮ㄥ垎銆\x82 [C:\Users\JN\Desktop\cuke-emlb-ma
in\cuke-emlb-main\cuke-emlb-main\external\dv-toolkit\build\temp.win-amd64-cpython-311\Relea
se\_lib_toolkit\CMakeFiles\CMakeScratch\TryCompile-zme0av\cmTC_6feca.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Mic
rosoft.CppCommon.targets(1151,5): error MSB6003: 鍦\xa8 System.IO.__Error.WinIOError(Int
32 errorCode, String maybeFullPath) [C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke
-emlb-main\external\dv-toolkit\build\temp.win-amd64-cpython-311\Release\_lib_toolkit\CMakeF
iles\CMakeScratch\TryCompile-zme0av\cmTC_6feca.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Mic
rosoft.CppCommon.targets(1151,5): error MSB6003: 鍦\xa8 System.IO.FileSystemEnumerableIt
erator`1.CommonInit() [C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-emlb-main\ext
ernal\dv-toolkit\build\temp.win-amd64-cpython-311\Release\_lib_toolkit\CMakeFiles\CMakeScra
tch\TryCompile-zme0av\cmTC_6feca.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Mic
rosoft.CppCommon.targets(1151,5): error MSB6003: 鍦\xa8 System.IO.FileSystemEnumerableIt
erator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption sea
rchOption, SearchResultHandler`1 resultHandler, Boolean checkHost) [C:\Users\JN\Desktop\cuk
e-emlb-main\cuke-emlb-main\cuke-emlb-main\external\dv-toolkit\build\temp.win-amd64-cpython-
311\Release\_lib_toolkit\CMakeFiles\CMakeScratch\TryCompile-zme0av\cmTC_6feca.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Mic
rosoft.CppCommon.targets(1151,5): error MSB6003: 鍦\xa8 System.IO.Directory.GetFiles(Str
ing path, String searchPattern) [C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-eml
b-main\external\dv-toolkit\build\temp.win-amd64-cpython-311\Release\_lib_toolkit\CMakeFiles
\CMakeScratch\TryCompile-zme0av\cmTC_6feca.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Mic
rosoft.CppCommon.targets(1151,5): error MSB6003: 鍦\xa8 Microsoft.Build.Utilities.Tracke
dDependencies.ExpandWildcards(ITaskItem[] expand) [C:\Users\JN\Desktop\cuke-emlb-main\cuke-
emlb-main\cuke-emlb-main\external\dv-toolkit\build\temp.win-amd64-cpython-311\Release\_lib_
toolkit\CMakeFiles\CMakeScratch\TryCompile-zme0av\cmTC_6feca.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Mic
rosoft.CppCommon.targets(1151,5): error MSB6003: 鍦\xa8 Microsoft.Build.Utilities.Canoni
calTrackedOutputFiles.InternalConstruct(ITask ownerTask, ITaskItem[] tlogFiles, Boolean con
structOutputsFromTLogs) [C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-emlb-main\e
xternal\dv-toolkit\build\temp.win-amd64-cpython-311\Release\_lib_toolkit\CMakeFiles\CMakeSc
ratch\TryCompile-zme0av\cmTC_6feca.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Mic
rosoft.CppCommon.targets(1151,5): error MSB6003: 鍦\xa8 Microsoft.Build.CPPTasks.Tracked
VCToolTask.PostExecuteTool(Int32 exitCode) [C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-ma
in\cuke-emlb-main\external\dv-toolkit\build\temp.win-amd64-cpython-311\Release\_lib_toolkit
\CMakeFiles\CMakeScratch\TryCompile-zme0av\cmTC_6feca.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Mic
rosoft.CppCommon.targets(1151,5): error MSB6003: 鍦\xa8 Microsoft.Build.CPPTasks.Tracked
VCToolTask.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCo
mmands) [C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-emlb-main\external\dv-toolk
it\build\temp.win-amd64-cpython-311\Release\_lib_toolkit\CMakeFiles\CMakeScratch\TryCompile
-zme0av\cmTC_6feca.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Mic
rosoft.CppCommon.targets(1151,5): error MSB6003: 鍦\xa8 Microsoft.Build.Utilities.ToolTa
sk.Execute() [C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-emlb-main\external\dv-
toolkit\build\temp.win-amd64-cpython-311\Release\_lib_toolkit\CMakeFiles\CMakeScratch\TryCo
mpile-zme0av\cmTC_6feca.vcxproj]
宸插畬鎴愮敓鎴愰」鐩\xae鈥淐:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-eml
b-main\external\dv-toolkit\build\temp.win-amd64-cpython-311\Release\_lib_toolkit\CMakeFiles
\CMakeScratch\TryCompile-zme0av\cmTC_6feca.vcxproj鈥\x9d(榛樿\xaeょ洰鏍\x87)鐨勬搷浣\x9c -
澶辫触銆\x82
鐢熸垚澶辫触銆\x82
鈥淐:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-emlb-main\external\dv-toolk
it\build\temp.win-amd64-cpython-311\Release\_lib_toolkit\CMakeFiles\CMakeScratch\TryCompile
-zme0av\cmTC_6feca.vcxproj鈥\x9d(榛樿\xaeょ洰鏍\x87) (1) ->
(Link 鐩\xae鏍\x87) ->
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\M
icrosoft.CppCommon.targets(1151,5): error MSB6003: 鎸囧畾鐨勪换鍔″彲鎵ц\xa1屾枃浠垛\x80渓in
k.exe鈥濇湭鑳借繍琛屻\x80係ystem.IO.DirectoryNotFoundException: 鏈\xaa鑳芥壘鍒拌矾寰勨\x80
淐:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-emlb-main\external\dv-toolkit\build
\temp.win-amd64-cpython-311\Release\_lib_toolkit\CMakeFiles\CMakeScratch\TryCompile-zme0av\
cmTC_6feca.dir\Debug\cmTC_6feca.tlog鈥濈殑涓\x80閮ㄥ垎銆\x82 [C:\Users\JN\Desktop\cuke-emlb
-main\cuke-emlb-main\cuke-emlb-main\external\dv-toolkit\build\temp.win-amd64-cpython-311\Re
lease\_lib_toolkit\CMakeFiles\CMakeScratch\TryCompile-zme0av\cmTC_6feca.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Mic
rosoft.CppCommon.targets(1151,5): error MSB6003: 鍦\xa8 System.IO.__Error.WinIOError(Int
32 errorCode, String maybeFullPath) [C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke
-emlb-main\external\dv-toolkit\build\temp.win-amd64-cpython-311\Release\_lib_toolkit\CMakeF
iles\CMakeScratch\TryCompile-zme0av\cmTC_6feca.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Mic
rosoft.CppCommon.targets(1151,5): error MSB6003: 鍦\xa8 System.IO.FileSystemEnumerableIt
erator`1.CommonInit() [C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-emlb-main\ext
ernal\dv-toolkit\build\temp.win-amd64-cpython-311\Release\_lib_toolkit\CMakeFiles\CMakeScra
tch\TryCompile-zme0av\cmTC_6feca.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Mic
rosoft.CppCommon.targets(1151,5): error MSB6003: 鍦\xa8 System.IO.FileSystemEnumerableIt
erator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption sea
rchOption, SearchResultHandler`1 resultHandler, Boolean checkHost) [C:\Users\JN\Desktop\cuk
e-emlb-main\cuke-emlb-main\cuke-emlb-main\external\dv-toolkit\build\temp.win-amd64-cpython-
311\Release\_lib_toolkit\CMakeFiles\CMakeScratch\TryCompile-zme0av\cmTC_6feca.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Mic
rosoft.CppCommon.targets(1151,5): error MSB6003: 鍦\xa8 System.IO.Directory.GetFiles(Str
ing path, String searchPattern) [C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-eml
b-main\external\dv-toolkit\build\temp.win-amd64-cpython-311\Release\_lib_toolkit\CMakeFiles
\CMakeScratch\TryCompile-zme0av\cmTC_6feca.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Mic
rosoft.CppCommon.targets(1151,5): error MSB6003: 鍦\xa8 Microsoft.Build.Utilities.Tracke
dDependencies.ExpandWildcards(ITaskItem[] expand) [C:\Users\JN\Desktop\cuke-emlb-main\cuke-
emlb-main\cuke-emlb-main\external\dv-toolkit\build\temp.win-amd64-cpython-311\Release\_lib_
toolkit\CMakeFiles\CMakeScratch\TryCompile-zme0av\cmTC_6feca.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Mic
rosoft.CppCommon.targets(1151,5): error MSB6003: 鍦\xa8 Microsoft.Build.Utilities.Canoni
calTrackedOutputFiles.InternalConstruct(ITask ownerTask, ITaskItem[] tlogFiles, Boolean con
structOutputsFromTLogs) [C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-emlb-main\e
xternal\dv-toolkit\build\temp.win-amd64-cpython-311\Release\_lib_toolkit\CMakeFiles\CMakeSc
ratch\TryCompile-zme0av\cmTC_6feca.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Mic
rosoft.CppCommon.targets(1151,5): error MSB6003: 鍦\xa8 Microsoft.Build.CPPTasks.Tracked
VCToolTask.PostExecuteTool(Int32 exitCode) [C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-ma
in\cuke-emlb-main\external\dv-toolkit\build\temp.win-amd64-cpython-311\Release\_lib_toolkit
\CMakeFiles\CMakeScratch\TryCompile-zme0av\cmTC_6feca.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Mic
rosoft.CppCommon.targets(1151,5): error MSB6003: 鍦\xa8 Microsoft.Build.CPPTasks.Tracked
VCToolTask.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCo
mmands) [C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-emlb-main\external\dv-toolk
it\build\temp.win-amd64-cpython-311\Release\_lib_toolkit\CMakeFiles\CMakeScratch\TryCompile
-zme0av\cmTC_6feca.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Mic
rosoft.CppCommon.targets(1151,5): error MSB6003: 鍦\xa8 Microsoft.Build.Utilities.ToolTa
sk.Execute() [C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-emlb-main\external\dv-
toolkit\build\temp.win-amd64-cpython-311\Release\_lib_toolkit\CMakeFiles\CMakeScratch\TryCo
mpile-zme0av\cmTC_6feca.vcxproj]
0 涓\xaa璀﹀憡
1 涓\xaa閿欒\xaf\xaf
宸茬敤鏃堕棿 00:00:00.33
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:4 (project)
-- Configuring incomplete, errors occurred!
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-emlb-main\external\dv-tool
kit\setup.py", line 188, in <module>
setup(
File "C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-emlb-main\.venv\Lib\site-p
ackages\setuptools\__init__.py", line 117, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-emlb-main\.venv\Lib\site-p
ackages\setuptools\_distutils\core.py", line 184, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-emlb-main\.venv\Lib\site-p
ackages\setuptools\_distutils\core.py", line 200, in run_commands
dist.run_commands()
File "C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-emlb-main\.venv\Lib\site-p
ackages\setuptools\_distutils\dist.py", line 954, in run_commands
self.run_command(cmd)
File "C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-emlb-main\.venv\Lib\site-p
ackages\setuptools\dist.py", line 950, in run_command
super().run_command(command)
File "C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-emlb-main\.venv\Lib\site-p
ackages\setuptools\_distutils\dist.py", line 973, in run_command
cmd_obj.run()
File "C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-emlb-main\.venv\Lib\site-p
ackages\setuptools\command\bdist_wheel.py", line 384, in run
self.run_command("build")
File "C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-emlb-main\.venv\Lib\site-p
ackages\setuptools\_distutils\cmd.py", line 316, in run_command
self.distribution.run_command(command)
File "C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-emlb-main\.venv\Lib\site-p
ackages\setuptools\dist.py", line 950, in run_command
super().run_command(command)
File "C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-emlb-main\.venv\Lib\site-p
ackages\setuptools\_distutils\dist.py", line 973, in run_command
cmd_obj.run()
File "C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-emlb-main\.venv\Lib\site-p
ackages\setuptools\_distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-emlb-main\.venv\Lib\site-p
ackages\setuptools\_distutils\cmd.py", line 316, in run_command
self.distribution.run_command(command)
File "C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-emlb-main\.venv\Lib\site-p
ackages\setuptools\dist.py", line 950, in run_command
super().run_command(command)
File "C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-emlb-main\.venv\Lib\site-p
ackages\setuptools\_distutils\dist.py", line 973, in run_command
cmd_obj.run()
File "C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-emlb-main\.venv\Lib\site-p
ackages\setuptools\command\build_ext.py", line 98, in run
_build_ext.run(self)
File "C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-emlb-main\.venv\Lib\site-p
ackages\setuptools\_distutils\command\build_ext.py", line 359, in run
self.build_extensions()
File "C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-emlb-main\.venv\Lib\site-p
ackages\setuptools\_distutils\command\build_ext.py", line 476, in build_extensions
self._build_extensions_serial()
File "C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-emlb-main\.venv\Lib\site-p
ackages\setuptools\_distutils\command\build_ext.py", line 502, in _build_extensions_serial
self.build_extension(ext)
File "C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-emlb-main\external\dv-tool
kit\setup.py", line 132, in build_extension
ret = subprocess.run(["cmake", ext.sourcedir, *cmake_args], cwd=build_temp, check=Tru
e)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^
File "D:\ANACUDA\Lib\subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['cmake', 'C:\\Users\\JN\\Desktop\\cuke-emlb-main
\\cuke-emlb-main\\cuke-emlb-main\\external\\dv-toolkit', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=
C:\\Users\\JN\\Desktop\\cuke-emlb-main\\cuke-emlb-main\\cuke-emlb-main\\external\\dv-toolki
t\\build\\lib.win-amd64-cpython-311\\dv_toolkit/lib', '-DPYTHON_EXECUTABLE=C:\\Users\\JN\\D
esktop\\cuke-emlb-main\\cuke-emlb-main\\cuke-emlb-main\\.venv\\Scripts\\python.exe', '-DCMA
KE_BUILD_TYPE=Release', '-DPython3_EXECUTABLE=C:\\Users\\JN\\Desktop\\cuke-emlb-main\\cuke-
emlb-main\\cuke-emlb-main\\.venv\\Scripts\\python.exe', '-DTOOLKIT_ENABLE_SAMPLES=OFF', '-D
TOOLKIT_ENABLE_PYTHON=ON', '-A', 'x64', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\\Users
\\JN\\Desktop\\cuke-emlb-main\\cuke-emlb-main\\cuke-emlb-main\\external\\dv-toolkit\\build\
\lib.win-amd64-cpython-311']' returned non-zero exit status 1.
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
full command: 'C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-emlb-main\.venv\Scr
ipts\python.exe' -u -c '
exec(compile('"'"''"'"''"'"'
# This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py
#
# - It imports setuptools before invoking setup.py, to enable projects that directly
# import from `distutils.core` to work with newer packaging standards.
# - It provides a clear error message when setuptools is not installed.
# - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so
# setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning:
# manifest_maker: standard file '"'"'-c'"'"' not found".
# - It generates a shim setup.py, for handling setup.cfg-only projects.
import os, sys, tokenize
try:
import setuptools
except ImportError as error:
print(
"ERROR: Can not execute `setup.py` since setuptools is not available in "
"the build environment.",
file=sys.stderr,
)
sys.exit(1)
__file__ = %r
sys.argv[0] = __file__
if os.path.exists(__file__):
filename = __file__
with tokenize.open(__file__) as f:
setup_py_code = f.read()
else:
filename = "<auto-generated setuptools caller>"
setup_py_code = "from setuptools import setup; setup()"
exec(compile(setup_py_code, filename, "exec"))
'"'"''"'"''"'"' % ('"'"'C:\\Users\\JN\\Desktop\\cuke-emlb-main\\cuke-emlb-main\\cuke-emlb
-main\\external\\dv-toolkit\\setup.py'"'"',), "<pip-setuptools-caller>", "exec"))' bdist_wh
eel -d 'C:\Users\JN\AppData\Local\Temp\pip-wheel-v3p9r_za'
cwd: C:\Users\JN\Desktop\cuke-emlb-main\cuke-emlb-main\cuke-emlb-main\external\dv-toolkit
\\
Building wheel for dv_toolkit (setup.py) ... error
ERROR: Failed building wheel for dv_toolkit
Running setup.py clean for dv_toolkit
Running command python setup.py clean
running clean
removing 'build\temp.win-amd64-cpython-311' (and everything under it)
removing 'build\lib.win-amd64-cpython-311' (and everything under it)
'build\bdist.win-amd64' does not exist -- can't clean it
'build\scripts-3.11' does not exist -- can't clean it
removing 'build'
Failed to build dv_toolkit
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (dv
_toolkit)
Thank you for your trouble. Looking forward to your reply!
Hi @hjvupnonon, I think you have not installed Cmake in your computer yet or you don't set cmake as system-wide.
Hi, @hjvupnonon, I wanna know whether installing Cmake can resolve this issue so that I can close it? Best.
Hi,I installed cmake, but it didn't fix the problem. ------------------ 原始邮件 ------------------ 发件人: "KugaMaxx/cuke-emlb" @.>; 发送时间: 2024年9月13日(星期五) 下午3:51 @.>; 抄送: "𝑤𝒉𝑖𝑡𝑒𝑖𝑛 @.**@.>; 主题: Re: [KugaMaxx/cuke-emlb] ERROR: Failed building wheel for dv_toolkit (Issue #10)
Hi, @hjvupnonon, I wanna know whether installing Cmake can resolve this issue so that I can close it? Best.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
Hi,I installed cmake, but it didn't fix the problem.
Hi,I'm sorry for the sudden interruption. I have been troubled by this problem for a long time. I have tried many methods online, but there is still no result. I hope to get your reply. 1.. / external/dv toolkit/python/external/pybind11 something inside