-
Notifications
You must be signed in to change notification settings - Fork 859
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to install insightface==0.2.1 onnxruntime moviepy #459
Comments
Building wheel for opencv-python (pyproject.toml) ... error -- Trying 'Ninja (Visual Studio 17 2022 x64 v143)' generator--
CMake Error at CMakeLists.txt:2 (PROJECT):
-- Configuring incomplete, errors occurred!-- Trying 'Ninja (Visual Studio 17 2022 x64 v143)' generator - failure-- Trying 'Visual Studio 17 2022 x64 v143' generator--
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.22631.
|
i figured it out! python 3.6 no longer supported |
ERROR: Command errored out with exit status 1:
command: 'C:\Users\nmo12\anaconda3\envs\simswap\python.exe' 'C:\Users\nmo12\anaconda3\envs\simswap\lib\site-packages\pip_vendor\pep517\in_process_in_process.py' build_wheel 'C:\Users\nmo12\AppData\Local\Temp\tmpycchz7be'
cwd: C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437
Complete output (272 lines):
running bdist_wheel
running build
running build_py
running create_version
running cmake_build
Using cmake args: ['C:\Program Files\CMake\bin\cmake.exe', '-DPYTHON_INCLUDE_DIR=C:\Users\nmo12\anaconda3\envs\simswap\include', '-DPYTHON_EXECUTABLE=C:\Users\nmo12\anaconda3\envs\simswap\python.exe', '-DBUILD_ONNX_PYTHON=ON', '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON', '-DONNX_NAMESPACE=onnx', '-DPY_EXT_SUFFIX=.cp36-win_amd64.pyd', '-DCMAKE_BUILD_TYPE=Release', '-DPY_VERSION=3.6', '-A', 'x64', '-T', 'host=x64', '-DONNX_ML=1', 'C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437']
-- Building for: Visual Studio 17 2022
CMake Deprecation Warning at CMakeLists.txt:2 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.22631.
-- The C compiler identification is MSVC 19.39.33523.0
-- The CXX compiler identification is MSVC 19.39.33523.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning (dev) at CMakeLists.txt:119 (find_package):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run "cmake --help-policy CMP0148" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found PythonInterp: C:/Users/nmo12/anaconda3/envs/simswap/python.exe (found suitable version "3.6.13", minimum required is "3.6")
CMake Warning (dev) at CMakeLists.txt:121 (find_package):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run "cmake --help-policy CMP0148" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found PythonLibs: C:/Users/nmo12/anaconda3/envs/simswap/libs/python36.lib (found suitable version "3.6.13", minimum required is "3.6")
-- Found Protobuf: C:/Users/nmo12/anaconda3/envs/simswap/Library/lib/libprotobuf.lib (found version "3.17.2")
Generated: C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030_/onnx_bc0b9190e2ce4db184cf9465c75d0437/.setuptools-cmake-build/onnx/onnx-ml.proto
Generated: C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030_/onnx_bc0b9190e2ce4db184cf9465c75d0437/.setuptools-cmake-build/onnx/onnx-operators-ml.proto
Generated: C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030_/onnx_bc0b9190e2ce4db184cf9465c75d0437/.setuptools-cmake-build/onnx/onnx-data.proto
-- Could NOT find pybind11 (missing: pybind11_DIR)
CMake Deprecation Warning at third_party/pybind11/CMakeLists.txt:8 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
-- pybind11 v2.10.3
CMake Warning (dev) at third_party/pybind11/tools/FindPythonLibsNew.cmake:98 (find_package):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run "cmake --help-policy CMP0148" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
third_party/pybind11/tools/pybind11Tools.cmake:50 (find_package)
third_party/pybind11/tools/pybind11Common.cmake:180 (include)
third_party/pybind11/CMakeLists.txt:208 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found PythonLibs: C:/Users/nmo12/anaconda3/envs/simswap/libs/python36.lib
-- Performing Test HAS_MSVC_GL_LTCG
-- Performing Test HAS_MSVC_GL_LTCG - Success
-- ******** Summary ********
-- CMake version : 3.29.0-rc4
-- CMake command : C:/Program Files/CMake/bin/cmake.exe
-- System : Windows
-- C++ compiler : C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe
-- C++ compiler version : 19.39.33523.0
-- CXX flags : /DWIN32 /D_WINDOWS /W3 /GR /EHsc /std:c++17 /EHsc /wd26812
-- Build type : Release
-- Compile definitions : __STDC_FORMAT_MACROS
-- CMAKE_PREFIX_PATH :
-- CMAKE_INSTALL_PREFIX : C:/Program Files/onnx
-- CMAKE_MODULE_PATH :
-- ONNX version : 1.14.1
-- ONNX NAMESPACE : onnx
-- ONNX_USE_LITE_PROTO : OFF
-- USE_PROTOBUF_SHARED_LIBS : OFF
-- Protobuf_USE_STATIC_LIBS : ON
-- ONNX_DISABLE_EXCEPTIONS : OFF
-- ONNX_WERROR : OFF
-- ONNX_BUILD_TESTS : OFF
-- ONNX_BUILD_BENCHMARKS : OFF
-- Protobuf compiler : C:/Users/nmo12/anaconda3/envs/simswap/Library/bin/protoc.exe
-- Protobuf includes : C:/Users/nmo12/anaconda3/envs/simswap/Library/include
-- Protobuf libraries : C:/Users/nmo12/anaconda3/envs/simswap/Library/lib/libprotobuf.lib
-- BUILD_ONNX_PYTHON : ON
-- Python version : 3.6
-- Python executable : C:/Users/nmo12/anaconda3/envs/simswap/python.exe
-- Python includes : C:/Users/nmo12/anaconda3/envs/simswap/include
-- Configuring done (11.4s)
-- Generating done (0.1s)
-- Build files have been written to: C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030_/onnx_bc0b9190e2ce4db184cf9465c75d0437/.setuptools-cmake-build
MSBuild version 17.9.8+b34f75857 for .NET Framework
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\ZERO_CHECK.vcxproj]
1>Checking Build System
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\gen_onnx_proto.vcxproj]
Running gen_proto.py on onnx/onnx.in.proto
Processing C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437\onnx\onnx.in.proto
Writing C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030_/onnx_bc0b9190e2ce4db184cf9465c75d0437/.setuptools-cmake-build/onnx\onnx-ml.proto
Writing C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030_/onnx_bc0b9190e2ce4db184cf9465c75d0437/.setuptools-cmake-build/onnx\onnx-ml.proto3
generating C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030_/onnx_bc0b9190e2ce4db184cf9465c75d0437/.setuptools-cmake-build/onnx\onnx_pb.py
Building Custom Rule C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030_/onnx_bc0b9190e2ce4db184cf9465c75d0437/CMakeLists.txt
Running C++ protocol buffer compiler on C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030_/onnx_bc0b9190e2ce4db184cf9465c75d0437/.setuptools-cmake-build/onnx/onnx-ml.proto
Failed to generate mypy stubs: No module named 'six'
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\gen_onnx_data_proto.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\gen_onnx_operators_proto.vcxproj]
Running gen_proto.py on onnx/onnx-data.in.proto
Processing C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437\onnx\onnx-data.in.proto
Writing C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030_/onnx_bc0b9190e2ce4db184cf9465c75d0437/.setuptools-cmake-build/onnx\onnx-data.proto
Writing C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030_/onnx_bc0b9190e2ce4db184cf9465c75d0437/.setuptools-cmake-build/onnx\onnx-data.proto3
generating C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030_/onnx_bc0b9190e2ce4db184cf9465c75d0437/.setuptools-cmake-build/onnx\onnx_data_pb.py
Building Custom Rule C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030_/onnx_bc0b9190e2ce4db184cf9465c75d0437/CMakeLists.txt
Running gen_proto.py on onnx/onnx-operators.in.proto
Processing C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437\onnx\onnx-operators.in.proto
Writing C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030_/onnx_bc0b9190e2ce4db184cf9465c75d0437/.setuptools-cmake-build/onnx\onnx-operators-ml.proto
Writing C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030_/onnx_bc0b9190e2ce4db184cf9465c75d0437/.setuptools-cmake-build/onnx\onnx-operators-ml.proto3
generating C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030_/onnx_bc0b9190e2ce4db184cf9465c75d0437/.setuptools-cmake-build/onnx\onnx_operators_pb.py
Building Custom Rule C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030_/onnx_bc0b9190e2ce4db184cf9465c75d0437/CMakeLists.txt
Running C++ protocol buffer compiler on C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030_/onnx_bc0b9190e2ce4db184cf9465c75d0437/.setuptools-cmake-build/onnx/onnx-data.proto
Running C++ protocol buffer compiler on C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030_/onnx_bc0b9190e2ce4db184cf9465c75d0437/.setuptools-cmake-build/onnx/onnx-operators-ml.proto
Failed to generate mypy stubs: No module named 'six'
Failed to generate mypy stubs: No module named 'six'
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_proto.vcxproj]
Building Custom Rule C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030_/onnx_bc0b9190e2ce4db184cf9465c75d0437/CMakeLists.txt
onnx-ml.pb.cc
onnx-operators-ml.pb.cc
onnx-data.pb.cc
onnx_proto.vcxproj -> C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\Release\onnx_proto.lib
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx.vcxproj]
Building Custom Rule C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030_/onnx_bc0b9190e2ce4db184cf9465c75d0437/CMakeLists.txt
checker.cc
assertions.cc
interned_strings.cc
ir_pb_converter.cc
model_helpers.cc
path.cc
status.cc
attr_proto_util.cc
data_type_utils.cc
function.cc
parser.cc
printer.cc
schema.cc
shape_inference.cc
tensor_proto_util.cc
tensor_util.cc
implementation.cc
convert.cc
helper.cc
defs.cc
old.cc
utils.cc
defs.cc
old.cc
defs.cc
old.cc
defs.cc
old.cc
utils.cc
defs.cc
old.cc
defs.cc
old.cc
defs.cc
old.cc
defs.cc
old.cc
defs.cc
old.cc
utils.cc
defs.cc
old.cc
defs.cc
defs.cc
old.cc
utils.cc
defs.cc
old.cc
defs.cc
onnx.vcxproj -> C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\Release\onnx.lib
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj]
Building Custom Rule C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030_/onnx_bc0b9190e2ce4db184cf9465c75d0437/CMakeLists.txt
cl : command line warning D9002: ignoring unknown option '-fvisibility=hidden' [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj]
cpp2py_export.cc
Creating library C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030_/onnx_bc0b9190e2ce4db184cf9465c75d0437/.setuptools-cmake-build/Release/onnx_cpp2py_export.lib and object C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030_/onnx_bc0b9190e2ce4db184cf9465c75d0437/.setuptools-cmake-build/Release/onnx_cpp2py_export.exp
cpp2py_export.obj : error LNK2019: unresolved external symbol "private: static int google::protobuf::io::CodedInputStream::default_recursion_limit_" (?default_recursion_limit_@CodedInputStream@io@protobuf@google@@0Ha) referenced in function "bool cdecl onnx::ParseProtoFromBytes(class onnx::AttributeProto *,char const *,unsigned int64)" (??$ParseProtoFromBytes@VAttributeProto@onnx@@@onnx@@YA_NPEAVAttributeProto@0@PEBD_K@Z) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj]
onnx.lib(implementation.obj) : error LNK2001: unresolved external symbol "private: static int google::protobuf::io::CodedInputStream::default_recursion_limit" (?default_recursion_limit@CodedInputStream@io@protobuf@google@@0Ha) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj]
onnx.lib(checker.obj) : error LNK2001: unresolved external symbol "private: static int google::protobuf::io::CodedInputStream::default_recursion_limit_" (?default_recursion_limit_@CodedInputStream@io@protobuf@google@@0Ha) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj]
onnx.lib(parser.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3v?$ExplicitlyConstructed@V?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj]
onnx.lib(ir_pb_converter.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3v?$ExplicitlyConstructed@V?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj]
onnx_proto.lib(onnx-ml.pb.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3v?$ExplicitlyConstructed@V?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj]
onnx_proto.lib(onnx-data.pb.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3v?$ExplicitlyConstructed@V?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj]
onnx.lib(old.cc.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3v?$ExplicitlyConstructed@V?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj]
onnx.lib(implementation.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3v?$ExplicitlyConstructed@V?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj]
onnx.lib(shape_inference.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3v?$ExplicitlyConstructed@V?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj]
onnx.lib(printer.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3v?$ExplicitlyConstructed@V?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj]
onnx.lib(defs.cc.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3v?$ExplicitlyConstructed@V?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj]
onnx.lib(old.cc.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3v?$ExplicitlyConstructed@V?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj]
onnx.lib(defs.cc.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3v?$ExplicitlyConstructed@V?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj]
onnx.lib(utils.cc.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3v?$ExplicitlyConstructed@V?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj]
onnx.lib(defs.cc.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3v?$ExplicitlyConstructed@V?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj]
onnx.lib(old.cc.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3v?$ExplicitlyConstructed@V?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj]
onnx.lib(defs.cc.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3v?$ExplicitlyConstructed@V?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj]
onnx.lib(old.cc.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3v?$ExplicitlyConstructed@V?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj]
onnx.lib(defs.cc.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3v?$ExplicitlyConstructed@V?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj]
onnx.lib(old.cc.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3v?$ExplicitlyConstructed@V?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj]
onnx.lib(defs.cc.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3v?$ExplicitlyConstructed@V?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj]
onnx.lib(old.cc.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3v?$ExplicitlyConstructed@V?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj]
C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\Release\onnx_cpp2py_export.cp36-win_amd64.pyd : fatal error LNK1120: 2 unresolved externals [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj]
Traceback (most recent call last):
File "C:\Users\nmo12\anaconda3\envs\simswap\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 363, in
main()
File "C:\Users\nmo12\anaconda3\envs\simswap\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 345, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "C:\Users\nmo12\anaconda3\envs\simswap\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 262, in build_wheel
metadata_directory)
File "C:\Users\nmo12\AppData\Local\Temp\pip-build-env-vixzjc1o\overlay\Lib\site-packages\setuptools\build_meta.py", line 231, in build_wheel
wheel_directory, config_settings)
File "C:\Users\nmo12\AppData\Local\Temp\pip-build-env-vixzjc1o\overlay\Lib\site-packages\setuptools\build_meta.py", line 215, in build_with_temp_dir
self.run_setup()
File "C:\Users\nmo12\AppData\Local\Temp\pip-build-env-vixzjc1o\overlay\Lib\site-packages\setuptools\build_meta.py", line 268, in run_setup
self).run_setup(setup_script=setup_script)
File "C:\Users\nmo12\AppData\Local\Temp\pip-build-env-vixzjc1o\overlay\Lib\site-packages\setuptools\build_meta.py", line 158, in run_setup
exec(compile(code, file, 'exec'), locals())
File "setup.py", line 365, in
"backend-test-tools = onnx.backend.test.cmd_tools:main",
File "C:\Users\nmo12\AppData\Local\Temp\pip-build-env-vixzjc1o\overlay\Lib\site-packages\setuptools_init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "C:\Users\nmo12\anaconda3\envs\simswap\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Users\nmo12\anaconda3\envs\simswap\lib\distutils\dist.py", line 955, in run_commands
self.run_command(cmd)
File "C:\Users\nmo12\anaconda3\envs\simswap\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\Users\nmo12\AppData\Local\Temp\pip-build-env-vixzjc1o\overlay\Lib\site-packages\wheel\bdist_wheel.py", line 299, in run
self.run_command('build')
File "C:\Users\nmo12\anaconda3\envs\simswap\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\nmo12\anaconda3\envs\simswap\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\Users\nmo12\anaconda3\envs\simswap\lib\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "C:\Users\nmo12\anaconda3\envs\simswap\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\nmo12\anaconda3\envs\simswap\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "setup.py", line 236, in run
self.run_command("cmake_build")
File "C:\Users\nmo12\anaconda3\envs\simswap\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\nmo12\anaconda3\envs\simswap\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "setup.py", line 230, in run
subprocess.check_call(build_args)
File "C:\Users\nmo12\anaconda3\envs\simswap\lib\subprocess.py", line 311, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['C:\Program Files\CMake\bin\cmake.exe', '--build', '.', '--config', 'Release', '--', '/maxcpucount:12']' returned non-zero exit status 1.
ERROR: Failed building wheel for onnx
Building wheel for opencv-python (pyproject.toml) ... error
The text was updated successfully, but these errors were encountered: