******************************************************************************** conan test conan-center-index\recipes\cpython\all\test_package\conanfile.py cpython/3.7.10@ --profile=C:\J\w\BuildSingleReference/12038/e16764b6-ac64-4b75-bed2-3e1bbc90f754/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=Visual Studio compiler.runtime=MD compiler.version=14 os=Windows os_build=Windows [options] cpython:shared=False [build_requires] [env] cpython/3.7.10 (test package): Installing package Requirements cpython/3.7.10 from local cache - Cache zlib/1.2.11 from 'conan-center' - Cache Packages cpython/3.7.10:ee5dab950b6ea94ae953b93c55343e98c2ec39df - Cache zlib/1.2.11:63da998e3642b50bee33f4449826b2d623661505 - Cache Installing (downloading, building) binaries... zlib/1.2.11: Already installed! [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK cpython/3.7.10: Already installed! cpython/3.7.10: Setting PYTHON environment variable: C:\J\w\BuildSingleReference\.conan\data\cpython\3.7.10\_\_\package\ee5dab950b6ea94ae953b93c55343e98c2ec39df\bin\python.exe cpython/3.7.10: Setting PYTHONHOME environment variable: C:\J\w\BuildSingleReference\.conan\data\cpython\3.7.10\_\_\package\ee5dab950b6ea94ae953b93c55343e98c2ec39df\bin cpython/3.7.10: Setting PYTHON_ROOT environment variable: C:\J\w\BuildSingleReference\.conan\data\cpython\3.7.10\_\_\package\ee5dab950b6ea94ae953b93c55343e98c2ec39df cpython/3.7.10: Appending PATH environment variable: C:\J\w\BuildSingleReference\.conan\data\cpython\3.7.10\_\_\package\ee5dab950b6ea94ae953b93c55343e98c2ec39df\bin [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK cpython/3.7.10 (test package): Generator txt created conanbuildinfo.txt cpython/3.7.10 (test package): Generator cmake created conanbuildinfo.cmake cpython/3.7.10 (test package): Generated conaninfo.txt cpython/3.7.10 (test package): Generated graphinfo Using lockfile: 'C:\J\w\BuildSingleReference\conan-center-index\recipes\cpython\all\test_package\build\4f88d893c3087840956cd22831c7576c93edc933/conan.lock' Using cached profile from lockfile [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK cpython/3.7.10 (test package): Calling build() ----Running------ > cd C:\J\w\BuildSingleReference\conan-center-index\recipes\cpython\all\test_package\build\4f88d893c3087840956cd22831c7576c93edc933 && cmake -G "Visual Studio 14 2015 Win64" -DCONAN_LINK_RUNTIME="/MD" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="Visual Studio" -DCONAN_COMPILER_VERSION="14" -DCONAN_CXX_FLAGS="/MP16" -DCONAN_C_FLAGS="/MP16" -DCMAKE_INSTALL_PREFIX="C:\J\w\BuildSingleReference\conan-center-index\recipes\cpython\all\test_package\build\4f88d893c3087840956cd22831c7576c93edc933\package" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DBUILD_MODULE="False" -DPY_VERSION_MAJOR="3" -DPY_VERSION_MAJOR_MINOR="3.7" -DPY_FULL_VERSION="3.7.10" -DPY_VERSION="3.7.10" -DPY_VERSION_SUFFIX="" -DPYTHON_EXECUTABLE="C:\J\w\BuildSingleReference\.conan\data\cpython\3.7.10\_\_\package\ee5dab950b6ea94ae953b93c55343e98c2ec39df\bin\python.exe" -DUSE_FINDPYTHON_X="True" -DPython3_EXECUTABLE="C:\J\w\BuildSingleReference\.conan\data\cpython\3.7.10\_\_\package\ee5dab950b6ea94ae953b93c55343e98c2ec39df\bin\python.exe" -DPython3_ROOT_DIR="C:/J/w/BuildSingleReference/.conan/data/cpython/3.7.10/_/_/package/ee5dab950b6ea94ae953b93c55343e98c2ec39df" -DPython3_USE_STATIC_LIBS="True" -DPython3_FIND_FRAMEWORK="NEVER" -DPython3_FIND_REGISTRY="NEVER" -DPython3_FIND_IMPLEMENTATIONS="CPython" -DPython3_FIND_STRATEGY="LOCATION" -Wno-dev C:\J\w\BuildSingleReference\conan-center-index\recipes\cpython\all\test_package ----------------- -- Selecting Windows SDK version 10.0.14393.0 to target Windows 10.0.17763. -- The C compiler identification is MSVC 19.0.24215.1 -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Conan: called by CMake conan helper -- Conan: Adjusting output directories -- Conan: Using cmake global configuration -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- This project seems to be plain C, using 'MSVC' compiler -- Found PythonInterp: C:/J/w/BuildSingleReference/.conan/data/cpython/3.7.10/_/_/package/ee5dab950b6ea94ae953b93c55343e98c2ec39df/bin/python.exe (found version "3.7.10") -- Found PythonLibs: C:/J/w/BuildSingleReference/.conan/data/cpython/3.7.10/_/_/package/ee5dab950b6ea94ae953b93c55343e98c2ec39df/bin/libs/python37.lib (found version "3.7.10") -- FindPythonInterp: -- PYTHON_VERSION_STRING: 3.7.10 -- PYTHON_VERSION_MAJOR: 3 -- PYTHON_VERSION_MINOR: 7 -- PYTHON_VERSION_PATCH: 10 -- ============================================= -- FindPythonLibs: -- PYTHON_LIBRARIES: C:/J/w/BuildSingleReference/.conan/data/cpython/3.7.10/_/_/package/ee5dab950b6ea94ae953b93c55343e98c2ec39df/bin/libs/python37.lib -- PYTHON_INCLUDE_PATH: C:/J/w/BuildSingleReference/.conan/data/cpython/3.7.10/_/_/package/ee5dab950b6ea94ae953b93c55343e98c2ec39df/bin/include (deprecated) -- PYTHON_INCLUDE_DIRS: C:/J/w/BuildSingleReference/.conan/data/cpython/3.7.10/_/_/package/ee5dab950b6ea94ae953b93c55343e98c2ec39df/bin/include -- PYTHON_DEBUG_LIBRARIES: PYTHON_DEBUG_LIBRARY-NOTFOUND (deprecated) -- PYTHONLIBS_VERSION_STRING: 3.7.10 -- Configuring done -- Generating done -- Build files have been written to: C:/J/w/BuildSingleReference/conan-center-index/recipes/cpython/all/test_package/build/4f88d893c3087840956cd22831c7576c93edc933 ----Running------ > cmake --build C:\J\w\BuildSingleReference\conan-center-index\recipes\cpython\all\test_package\build\4f88d893c3087840956cd22831c7576c93edc933 --config Release -- /m:16 /verbosity:minimal ----------------- Microsoft (R) Build Engine version 14.0.25420.1 Copyright (C) Microsoft Corporation. All rights reserved. Checking Build System Building Custom Rule C:/J/w/BuildSingleReference/conan-center-index/recipes/cpython/all/test_package/CMakeLists.txt test_package.c python37.lib(obmalloc.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance Generating code Finished generating code test_package.vcxproj -> C:\J\w\BuildSingleReference\conan-center-index\recipes\cpython\all\test_package\build\4f88d893c3087840956cd22831c7576c93edc933\bin\test_package.exe Building Custom Rule C:/J/w/BuildSingleReference/conan-center-index/recipes/cpython/all/test_package/CMakeLists.txt cpython/3.7.10 (test package): Running test() ----Running------ > C:\J\w\BuildSingleReference\.conan\data\cpython\3.7.10\_\_\package\ee5dab950b6ea94ae953b93c55343e98c2ec39df\bin\python.exe -c "print('hello world')" ----------------- hello world cpython/3.7.10 (test package): ----Running------ > C:\J\w\BuildSingleReference\.conan\data\cpython\3.7.10\_\_\package\ee5dab950b6ea94ae953b93c55343e98c2ec39df\bin\python.exe -c "import sys; print('.'.join(str(s) for s in sys.version_info[:3]))" ----------------- 3.7.10 ----Running------ > bin\test_package ----------------- cpython/3.7.10: WARN: Lib folder doesn't exist, can't collect libraries: C:\J\w\BuildSingleReference\.conan\data\cpython\3.7.10\_\_\package\ee5dab950b6ea94ae953b93c55343e98c2ec39df\lib cpython/3.7.10: WARN: Lib folder doesn't exist, can't collect libraries: C:\J\w\BuildSingleReference\.conan\data\cpython\3.7.10\_\_\package\ee5dab950b6ea94ae953b93c55343e98c2ec39df\lib cpython/3.7.10: WARN: Lib folder doesn't exist, can't collect libraries: C:\J\w\BuildSingleReference\.conan\data\cpython\3.7.10\_\_\package\ee5dab950b6ea94ae953b93c55343e98c2ec39df\lib [HOOK - conan-center.py] post_package_info(): ERROR: [LIBRARY DOES NOT EXIST (KB-H054)] Component cpython::embed library "python37" not found in libdirs (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H054) cpython/3.7.10: WARN: Lib folder doesn't exist, can't collect libraries: C:\J\w\BuildSingleReference\.conan\data\cpython\3.7.10\_\_\package\ee5dab950b6ea94ae953b93c55343e98c2ec39df\lib Using Python_ADDITIONAL_VERSIONS: 3.7.10;3.7;3 CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_INSTALL_BINDIR CMAKE_INSTALL_DATAROOTDIR CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_OLDINCLUDEDIR CMAKE_INSTALL_SBINDIR Python3_EXECUTABLE Python3_FIND_FRAMEWORK Python3_FIND_IMPLEMENTATIONS Python3_FIND_REGISTRY Python3_FIND_STRATEGY Python3_ROOT_DIR Python3_USE_STATIC_LIBS USE_FINDPYTHON_X Fatal Python error: initfsencoding: unable to load the file system codec ModuleNotFoundError: No module named 'encodings' Current thread 0x0000200c (most recent call first): ERROR: cpython/3.7.10 (test package): Error in test() method, line 180 self.run(os.path.join("bin", "test_package"), run_environment=True) ConanException: Error 3221226505 while executing bin\test_package