VowpalWabbit / vowpal_wabbit

Vowpal Wabbit is a machine learning system which pushes the frontier of machine learning with techniques such as online, hashing, allreduce, reductions, learning2search, active, and interactive learning.
https://vowpalwabbit.org
Other
8.47k stars 1.93k forks source link

New installation unable to find boost python lib LINK : fatal error LNK1104: cannot open file 'boost_python312-vc143-mt-x64-1_84.lib' #4676

Closed DaneLyttinen closed 9 months ago

DaneLyttinen commented 9 months ago

Describe the bug

Whenever I try to install vowpalwabbit for Python I keep getting the same error, and I cannot figure out where I should make a change to make it open the correct file in the correct directory. The error I get is below.

LINK : fatal error LNK1104: cannot open file 'boost_python312-vc143-mt-x64-1_84.lib' [C:\Users\Dane\Desktop\Masters\vow pal_wabbit\build\temp.win-amd64-cpython-312\Release\python\pylibvw.vcxproj]

I have built these libs and are in the stage/lib directory of my boost installation, although the lib files have the suffix of libboost rather than boost, so I copied and pasted the relevant file so the names would match but this did not work. From the debug logs, it should be pointing to the correct directory, so I'm not quite sure how to proceed, any help would be greatly appreciated as I cannot seem to make any progress to just install this package yet.

How to reproduce

python version: python312 boost version: boost_1_84_0 CMake version: 3.28.1 visual studio version: Visual Studio 17 2022 Then follow the installation steps From source on Windows here: https://github.com/VowpalWabbit/vowpal_wabbit/wiki/Python#windows

Version

git commit: 2849b3b70a7f787c0cbfb216cbbfcc0cea29fe8

OS

Windows 10

Language

Python

Additional context

Debug logs: ` py setup.py --vcpkg-root C:\src\vcpkg install running install c:\Users\Dane\Desktop\Masters.venv\Lib\site-packages\setuptools_distutils\cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !!

    ********************************************************************************
    Please avoid running ``setup.py`` directly.
    Instead, use pypa/build, pypa/installer or other
    standards-based tools.

    See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
    ********************************************************************************

!! self.initialize_options() c:\Users\Dane\Desktop\Masters.venv\Lib\site-packages\setuptools_distutils\cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated. !!

    ********************************************************************************
    Please avoid running ``setup.py`` and ``easy_install``.
    Instead, use pypa/build, pypa/installer or other
    standards-based tools.

    See https://github.com/pypa/setuptools/issues/917 for details.
    ********************************************************************************

!! self.initialize_options() running bdist_egg running egg_info writing python\vowpalwabbit.egg-info\PKG-INFO writing dependency_links to python\vowpalwabbit.egg-info\dependency_links.txt writing top-level names to python\vowpalwabbit.egg-info\top_level.txt reading manifest file 'python\vowpalwabbit.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'CMakeSettings.json' warning: no files found matching 'python*.bat' warning: no files found matching '' under directory 'explore' warning: no files found matching 'python*.dll' under directory 'python\bin' warning: no previously-included files matching '.o' found anywhere in distribution warning: no previously-included files matching '*.pyc' found anywhere in distribution adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'python\vowpalwabbit.egg-info\SOURCES.txt' installing library code to build\bdist.win-amd64\egg running install_lib running build_py copying python\vowpalwabbit\dftovw.py -> build\lib.win-amd64-cpython-312\vowpalwabbit copying python\vowpalwabbit\pyvw.py -> build\lib.win-amd64-cpython-312\vowpalwabbit copying python\vowpalwabbit\sklearn.py -> build\lib.win-amd64-cpython-312\vowpalwabbit copying python\vowpalwabbit\sklearn_vw.py -> build\lib.win-amd64-cpython-312\vowpalwabbit copying python\vowpalwabbit\version.py -> build\lib.win-amd64-cpython-312\vowpalwabbit copying python\vowpalwabbit__init.py -> build\lib.win-amd64-cpython-312\vowpalwabbit copying python\vowpalwabbit\main__.py -> build\lib.win-amd64-cpython-312\vowpalwabbit copying python\vowpalwabbit\conda_install.sh -> build\lib.win-amd64-cpython-312\vowpalwabbit running build_ext cmake -DCMAKE_BUILD_TYPE=Release -DPY_VERSION=3.12 -DBUILD_PYTHON=On -DBUILD_TESTING=Off -DWARNINGS=Off -DVW_FEAT_CB_GRAPH_FEEDBACK=On -DVW_PYTHON_SHARED_LIB_SUFFIX=.cp312-win_amd64.pyd -DBoost_NO_BOOST_CMAKE=ON -DCMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG=C:\Users\Dane\Desktop\Masters\vowpal_wabbit\build\lib.win-amd64-cpython-312 -DCMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE=C:\Users\Dane\Desktop\Masters\vowpal_wabbit\build\lib.win-amd64-cpython-312 -DCMAKE_TOOLCHAIN_FILE=C:\src\vcpkg\scripts\buildsystems\vcpkg.cmake -G "Visual Studio 17 2022" C:\Users\Dane\Desktop\Masters\vowpal_wabbit -- VowpalWabbit Version: 9.9.0 -- WinSDK Version: 10.0.16299.0 -- Running vcpkg install Detecting compiler hash for triplet x64-windows... All requested packages are currently installed. Total install time: 1 us eigen3 provides CMake targets:

this is heuristically generated, and may not be correct

find_package(Eigen3 CONFIG REQUIRED) target_link_libraries(main PRIVATE Eigen3::Eigen)

eigen3 provides pkg-config modules:

# A C++ template library for linear algebra: vectors, matrices, and related algorithms
eigen3

The package fmt provides CMake targets:

find_package(fmt CONFIG REQUIRED)
target_link_libraries(main PRIVATE fmt::fmt)

# Or use the header-only version
find_package(fmt CONFIG REQUIRED)
target_link_libraries(main PRIVATE fmt::fmt-header-only)

rapidjson provides CMake targets:

this is heuristically generated, and may not be correct

find_package(RapidJSON CONFIG REQUIRED) target_link_libraries(main PRIVATE rapidjson)

The package spdlog provides CMake targets:

find_package(spdlog CONFIG REQUIRED)
target_link_libraries(main PRIVATE spdlog::spdlog)

# Or use the header-only version
find_package(spdlog CONFIG REQUIRED)
target_link_libraries(main PRIVATE spdlog::spdlog_header_only)

string-view-lite provides CMake targets:

this is heuristically generated, and may not be correct

find_package(string-view-lite CONFIG REQUIRED) target_link_libraries(main PRIVATE nonstd::string-view-lite)

The package zlib is compatible with built-in CMake targets:

find_package(ZLIB REQUIRED)
target_link_libraries(main PRIVATE ZLIB::ZLIB)

-- Running vcpkg install - done -- Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.16299.0. -- Enabled features: LDA;CB_GRAPH_FEEDBACK;SEARCH;NETWORKING (Available features: CSV;FLATBUFFERS;LDA;CB_GRAPH_FEEDBACK;SEARCH;LAS_SIMD;NETWORKING) -- Using C++ standard: 11 -- Git Version: 2849b3b70 -- Module support is disabled. -- Version: 9.1.0 -- Build type: Release -- CXX_STANDARD: 11 -- Required features: cxx_variadic_templates -- Build spdlog: 1.11.0 -- Build type: Release -- Boost.Math: standalone mode ON -- Python 3.12 will be used for VowpalWabbit Python bindings -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1711 ] _boost_TEST_VERSIONS = "1.83.0;1.83;1.82.0;1.82;1.81.0;1.81;1.80.0;1.80;1.79.0;1.79;1.78.0;1.78;1.77.0;1.77;1.76.0;1.76;1.75.0;1.75;1.74.0;1.74;1.73.0;1.73;1.72.0;1.72;1.71.0;1.71;1.70.0;1.70;1.69.0;1.69;1.68.0;1.68;1.67.0;1.67;1.66.0;1.66;1.65.1;1.65.0;1.65;1.64.0;1.64;1.63.0;1.63;1.62.0;1.62;1.61.0;1.61;1.60.0;1.60;1.59.0;1.59;1.58.0;1.58;1.57.0;1.57;1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53;1.52.0;1.52;1.51.0;1.51;1.50.0;1.50;1.49.0;1.49;1.48.0;1.48;1.47.0;1.47;1.46.1;1.46.0;1.46;1.45.0;1.45;1.44.0;1.44;1.43.0;1.43;1.42.0;1.42;1.41.0;1.41;1.40.0;1.40;1.39.0;1.39;1.38.0;1.38;1.37.0;1.37;1.36.1;1.36.0;1.36;1.35.1;1.35.0;1.35;1.34.1;1.34.0;1.34;1.33.1;1.33.0;1.33" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1712 ] Boost_USE_MULTITHREADED = "ON" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1713 ] Boost_USE_STATIC_LIBS = "ON" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1714 ] Boost_USE_STATIC_RUNTIME = "OFF" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1715 ] Boost_ADDITIONAL_VERSIONS = -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1716 ] Boost_NO_SYSTEM_PATHS = -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1748 ] BOOST_ROOT = "C:\Program Files\Boost\boost_1_84_0" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1749 ] ENV{BOOST_ROOT} = "C:\Program Files\Boost\boost_1_84_0" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1750 ] BOOST_INCLUDEDIR = "C:\Program Files\Boost\boost_1_84_0\boost" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1751 ] ENV{BOOST_INCLUDEDIR} = -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1752 ] BOOST_LIBRARYDIR = "C:\Program Files\Boost\boost_1_84_0\stage\lib" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1753 ] ENV{BOOST_LIBRARYDIR} = -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1841 ] location of version.hpp: C:/Program Files/Boost/boost_1_84_0/boost/version.hpp -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1881 ] Boost_VERSION = "108400" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1882 ] Boost_VERSION_STRING = "1.84.0" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1883 ] Boost_VERSION_MACRO = "108400" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1884 ] Boost_VERSION_MAJOR = "1" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1885 ] Boost_VERSION_MINOR = "84" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1886 ] Boost_VERSION_PATCH = "0" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1887 ] Boost_VERSION_COUNT = "3" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1911 ] Boost_LIB_PREFIX = "lib" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1912 ] Boost_NAMESPACE = "boost" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:959 ] _boost_COMPILER = "-vc143;-vc142;-vc141;-vc140;-vc143" (guessed) -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1948 ] _boost_MULTITHREADED = "-mt" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:2026 ] _boost_ARCHITECTURE_TAG = "-x64" (detected) -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:2030 ] _boost_RELEASE_ABI_TAG = "-" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:2031 ] _boost_DEBUG_ABI_TAG = "-gd" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:2091 ] _boost_LIBRARY_SEARCH_DIRS_RELEASE = "C:/Program Files/Boost/boost_1_84_0/stage/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:2092 ] _boost_LIBRARY_SEARCH_DIRS_DEBUG = "C:/Program Files/Boost/boost_1_84_0/stage/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH" -- Found Boost: C:/Program Files/Boost/boost_1_84_0 (found version "1.84.0") CMake Warning (dev) at C:/src/vcpkg/scripts/buildsystems/vcpkg.cmake:859 (_find_package): Policy CMP0144 is not set: find_package uses upper-case _ROOT variables. Run "cmake --help-policy CMP0144" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

CMake variable BOOST_ROOT is set to:

C:\Program Files\Boost\boost_1_84_0

For compatibility, find_package is ignoring the variable, but code in a .cmake module might still use it. Call Stack (most recent call first): python/CMakeLists.txt:28 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.

-- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1711 ] _boost_TEST_VERSIONS = "1.83.0;1.83;1.82.0;1.82;1.81.0;1.81;1.80.0;1.80;1.79.0;1.79;1.78.0;1.78;1.77.0;1.77;1.76.0;1.76;1.75.0;1.75;1.74.0;1.74;1.73.0;1.73;1.72.0;1.72;1.71.0;1.71;1.70.0;1.70;1.69.0;1.69;1.68.0;1.68;1.67.0;1.67;1.66.0;1.66;1.65.1;1.65.0;1.65;1.64.0;1.64;1.63.0;1.63;1.62.0;1.62;1.61.0;1.61;1.60.0;1.60;1.59.0;1.59;1.58.0;1.58;1.57.0;1.57;1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53;1.52.0;1.52;1.51.0;1.51;1.50.0;1.50;1.49.0;1.49;1.48.0;1.48;1.47.0;1.47;1.46.1;1.46.0;1.46;1.45.0;1.45;1.44.0;1.44;1.43.0;1.43;1.42.0;1.42;1.41.0;1.41;1.40.0;1.40;1.39.0;1.39;1.38.0;1.38;1.37.0;1.37;1.36.1;1.36.0;1.36;1.35.1;1.35.0;1.35;1.34.1;1.34.0;1.34;1.33.1;1.33.0;1.33" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1712 ] Boost_USE_MULTITHREADED = "ON" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1713 ] Boost_USE_STATIC_LIBS = "ON" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1714 ] Boost_USE_STATIC_RUNTIME = "OFF" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1715 ] Boost_ADDITIONAL_VERSIONS = -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1716 ] Boost_NO_SYSTEM_PATHS = -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1748 ] BOOST_ROOT = "C:\Program Files\Boost\boost_1_84_0" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1749 ] ENV{BOOST_ROOT} = "C:\Program Files\Boost\boost_1_84_0" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1750 ] BOOST_INCLUDEDIR = "C:\Program Files\Boost\boost_1_84_0\boost" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1751 ] ENV{BOOST_INCLUDEDIR} = -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1752 ] BOOST_LIBRARYDIR = "C:\Program Files\Boost\boost_1_84_0\stage\lib" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1753 ] ENV{BOOST_LIBRARYDIR} = -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1841 ] location of version.hpp: C:/Program Files/Boost/boost_1_84_0/boost/version.hpp -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1881 ] Boost_VERSION = "108400" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1882 ] Boost_VERSION_STRING = "1.84.0" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1883 ] Boost_VERSION_MACRO = "108400" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1884 ] Boost_VERSION_MAJOR = "1" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1885 ] Boost_VERSION_MINOR = "84" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1886 ] Boost_VERSION_PATCH = "0" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1887 ] Boost_VERSION_COUNT = "3" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1911 ] Boost_LIB_PREFIX = "lib" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1912 ] Boost_NAMESPACE = "boost" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:959 ] _boost_COMPILER = "-vc143;-vc142;-vc141;-vc140;-vc143" (guessed) -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1948 ] _boost_MULTITHREADED = "-mt" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:2026 ] _boost_ARCHITECTURE_TAG = "-x64" (detected) -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:2030 ] _boost_RELEASE_ABI_TAG = "-" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:2031 ] _boost_DEBUG_ABI_TAG = "-gd" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:2091 ] _boost_LIBRARY_SEARCH_DIRS_RELEASE = "C:/Program Files/Boost/boost_1_84_0/stage/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:2092 ] _boost_LIBRARY_SEARCH_DIRS_DEBUG = "C:/Program Files/Boost/boost_1_84_0/stage/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH" CMake Warning at C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1404 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:1529 (_Boost_COMPONENT_DEPENDENCIES) C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:2140 (_Boost_MISSING_DEPENDENCIES) C:/src/vcpkg/scripts/buildsystems/vcpkg.cmake:859 (_find_package) python/CMakeLists.txt:28 (find_package)

-- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:2217 ] Component-specific library search names for : python312;python3-py312;python-py312;python-3.12;python-312 -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:2277 ] Searching for PYTHON312_LIBRARY_RELEASE: libboost_python312-vc143-mt-x64-1_84;libboost_python312-vc143-mt-x64;libboost_python312-vc143-mt;libboost_python312-vc142-mt-x64-1_84;libboost_python312-vc142-mt-x64;libboost_python312-vc142-mt;libboost_python312-vc141-mt-x64-1_84;libboost_python312-vc141-mt-x64;libboost_python312-vc141-mt;libboost_python312-vc140-mt-x64-1_84;libboost_python312-vc140-mt-x64;libboost_python312-vc140-mt;libboost_python312-vc143-mt-x64-1_84;libboost_python312-vc143-mt-x64;libboost_python312-vc143-mt;libboost_python312-mt-x64-1_84;libboost_python312-mt-x64;libboost_python312-mt;libboost_python312-mt;libboost_python312;libboost_python3-py312-vc143-mt-x64-1_84;libboost_python3-py312-vc143-mt-x64;libboost_python3-py312-vc143-mt;libboost_python3-py312-vc142-mt-x64-1_84;libboost_python3-py312-vc142-mt-x64;libboost_python3-py312-vc142-mt;libboost_python3-py312-vc141-mt-x64-1_84;libboost_python3-py312-vc141-mt-x64;libboost_python3-py312-vc141-mt;libboost_python3-py312-vc140-mt-x64-1_84;libboost_python3-py312-vc140-mt-x64;libboost_python3-py312-vc140-mt;libboost_python3-py312-vc143-mt-x64-1_84;libboost_python3-py312-vc143-mt-x64;libboost_python3-py312-vc143-mt;libboost_python3-py312-mt-x64-1_84;libboost_python3-py312-mt-x64;libboost_python3-py312-mt;libboost_python3-py312-mt;libboost_python3-py312;libboost_python-py312-vc143-mt-x64-1_84;libboost_python-py312-vc143-mt-x64;libboost_python-py312-vc143-mt;libboost_python-py312-vc142-mt-x64-1_84;libboost_python-py312-vc142-mt-x64;libboost_python-py312-vc142-mt;libboost_python-py312-vc141-mt-x64-1_84;libboost_python-py312-vc141-mt-x64;libboost_python-py312-vc141-mt;libboost_python-py312-vc140-mt-x64-1_84;libboost_python-py312-vc140-mt-x64;libboost_python-py312-vc140-mt;libboost_python-py312-vc143-mt-x64-1_84;libboost_python-py312-vc143-mt-x64;libboost_python-py312-vc143-mt;libboost_python-py312-mt-x64-1_84;libboost_python-py312-mt-x64;libboost_python-py312-mt;libboost_python-py312-mt;libboost_python-py312;libboost_python-3.12-vc143-mt-x64-1_84;libboost_python-3.12-vc143-mt-x64;libboost_python-3.12-vc143-mt;libboost_python-3.12-vc142-mt-x64-1_84;libboost_python-3.12-vc142-mt-x64;libboost_python-3.12-vc142-mt;libboost_python-3.12-vc141-mt-x64-1_84;libboost_python-3.12-vc141-mt-x64;libboost_python-3.12-vc141-mt;libboost_python-3.12-vc140-mt-x64-1_84;libboost_python-3.12-vc140-mt-x64;libboost_python-3.12-vc140-mt;libboost_python-3.12-vc143-mt-x64-1_84;libboost_python-3.12-vc143-mt-x64;libboost_python-3.12-vc143-mt;libboost_python-3.12-mt-x64-1_84;libboost_python-3.12-mt-x64;libboost_python-3.12-mt;libboost_python-3.12-mt;libboost_python-3.12;libboost_python-312-vc143-mt-x64-1_84;libboost_python-312-vc143-mt-x64;libboost_python-312-vc143-mt;libboost_python-312-vc142-mt-x64-1_84;libboost_python-312-vc142-mt-x64;libboost_python-312-vc142-mt;libboost_python-312-vc141-mt-x64-1_84;libboost_python-312-vc141-mt-x64;libboost_python-312-vc141-mt;libboost_python-312-vc140-mt-x64-1_84;libboost_python-312-vc140-mt-x64;libboost_python-312-vc140-mt;libboost_python-312-vc143-mt-x64-1_84;libboost_python-312-vc143-mt-x64;libboost_python-312-vc143-mt;libboost_python-312-mt-x64-1_84;libboost_python-312-mt-x64;libboost_python-312-mt;libboost_python-312-mt;libboost_python-312;libboost_python312-vc143-mt-x64-1_84;libboost_python312-vc143-mt-x64;libboost_python312-vc143-mt;libboost_python312-vc142-mt-x64-1_84;libboost_python312-vc142-mt-x64;libboost_python312-vc142-mt;libboost_python312-vc141-mt-x64-1_84;libboost_python312-vc141-mt-x64;libboost_python312-vc141-mt;libboost_python312-vc140-mt-x64-1_84;libboost_python312-vc140-mt-x64;libboost_python312-vc140-mt;libboost_python312-vc143-mt-x64-1_84;libboost_python312-vc143-mt-x64;libboost_python312-vc143-mt;libboost_python312-mt-x64-1_84;libboost_python312-mt-x64;libboost_python312-mt;libboost_python312-mt;libboost_python312 -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:812 ] Boost_LIBRARY_DIR_RELEASE = "C:/Program Files/Boost/boost_1_84_0/stage/lib" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:814 ] _boost_LIBRARY_SEARCH_DIRS_RELEASE = "C:/Program Files/Boost/boost_1_84_0/stage/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:2332 ] Searching for PYTHON312_LIBRARY_DEBUG: libboost_python312-vc143-mt-gd-x64-1_84;libboost_python312-vc143-mt-gd-x64;libboost_python312-vc143-mt-gd;libboost_python312-vc142-mt-gd-x64-1_84;libboost_python312-vc142-mt-gd-x64;libboost_python312-vc142-mt-gd;libboost_python312-vc141-mt-gd-x64-1_84;libboost_python312-vc141-mt-gd-x64;libboost_python312-vc141-mt-gd;libboost_python312-vc140-mt-gd-x64-1_84;libboost_python312-vc140-mt-gd-x64;libboost_python312-vc140-mt-gd;libboost_python312-vc143-mt-gd-x64-1_84;libboost_python312-vc143-mt-gd-x64;libboost_python312-vc143-mt-gd;libboost_python312-mt-gd-x64-1_84;libboost_python312-mt-gd-x64;libboost_python312-mt-gd;libboost_python312-mt;libboost_python312;libboost_python3-py312-vc143-mt-gd-x64-1_84;libboost_python3-py312-vc143-mt-gd-x64;libboost_python3-py312-vc143-mt-gd;libboost_python3-py312-vc142-mt-gd-x64-1_84;libboost_python3-py312-vc142-mt-gd-x64;libboost_python3-py312-vc142-mt-gd;libboost_python3-py312-vc141-mt-gd-x64-1_84;libboost_python3-py312-vc141-mt-gd-x64;libboost_python3-py312-vc141-mt-gd;libboost_python3-py312-vc140-mt-gd-x64-1_84;libboost_python3-py312-vc140-mt-gd-x64;libboost_python3-py312-vc140-mt-gd;libboost_python3-py312-vc143-mt-gd-x64-1_84;libboost_python3-py312-vc143-mt-gd-x64;libboost_python3-py312-vc143-mt-gd;libboost_python3-py312-mt-gd-x64-1_84;libboost_python3-py312-mt-gd-x64;libboost_python3-py312-mt-gd;libboost_python3-py312-mt;libboost_python3-py312;libboost_python-py312-vc143-mt-gd-x64-1_84;libboost_python-py312-vc143-mt-gd-x64;libboost_python-py312-vc143-mt-gd;libboost_python-py312-vc142-mt-gd-x64-1_84;libboost_python-py312-vc142-mt-gd-x64;libboost_python-py312-vc142-mt-gd;libboost_python-py312-vc141-mt-gd-x64-1_84;libboost_python-py312-vc141-mt-gd-x64;libboost_python-py312-vc141-mt-gd;libboost_python-py312-vc140-mt-gd-x64-1_84;libboost_python-py312-vc140-mt-gd-x64;libboost_python-py312-vc140-mt-gd;libboost_python-py312-vc143-mt-gd-x64-1_84;libboost_python-py312-vc143-mt-gd-x64;libboost_python-py312-vc143-mt-gd;libboost_python-py312-mt-gd-x64-1_84;libboost_python-py312-mt-gd-x64;libboost_python-py312-mt-gd;libboost_python-py312-mt;libboost_python-py312;libboost_python-3.12-vc143-mt-gd-x64-1_84;libboost_python-3.12-vc143-mt-gd-x64;libboost_python-3.12-vc143-mt-gd;libboost_python-3.12-vc142-mt-gd-x64-1_84;libboost_python-3.12-vc142-mt-gd-x64;libboost_python-3.12-vc142-mt-gd;libboost_python-3.12-vc141-mt-gd-x64-1_84;libboost_python-3.12-vc141-mt-gd-x64;libboost_python-3.12-vc141-mt-gd;libboost_python-3.12-vc140-mt-gd-x64-1_84;libboost_python-3.12-vc140-mt-gd-x64;libboost_python-3.12-vc140-mt-gd;libboost_python-3.12-vc143-mt-gd-x64-1_84;libboost_python-3.12-vc143-mt-gd-x64;libboost_python-3.12-vc143-mt-gd;libboost_python-3.12-mt-gd-x64-1_84;libboost_python-3.12-mt-gd-x64;libboost_python-3.12-mt-gd;libboost_python-3.12-mt;libboost_python-3.12;libboost_python-312-vc143-mt-gd-x64-1_84;libboost_python-312-vc143-mt-gd-x64;libboost_python-312-vc143-mt-gd;libboost_python-312-vc142-mt-gd-x64-1_84;libboost_python-312-vc142-mt-gd-x64;libboost_python-312-vc142-mt-gd;libboost_python-312-vc141-mt-gd-x64-1_84;libboost_python-312-vc141-mt-gd-x64;libboost_python-312-vc141-mt-gd;libboost_python-312-vc140-mt-gd-x64-1_84;libboost_python-312-vc140-mt-gd-x64;libboost_python-312-vc140-mt-gd;libboost_python-312-vc143-mt-gd-x64-1_84;libboost_python-312-vc143-mt-gd-x64;libboost_python-312-vc143-mt-gd;libboost_python-312-mt-gd-x64-1_84;libboost_python-312-mt-gd-x64;libboost_python-312-mt-gd;libboost_python-312-mt;libboost_python-312;libboost_python312-vc143-mt-gd-x64-1_84;libboost_python312-vc143-mt-gd-x64;libboost_python312-vc143-mt-gd;libboost_python312-vc142-mt-gd-x64-1_84;libboost_python312-vc142-mt-gd-x64;libboost_python312-vc142-mt-gd;libboost_python312-vc141-mt-gd-x64-1_84;libboost_python312-vc141-mt-gd-x64;libboost_python312-vc141-mt-gd;libboost_python312-vc140-mt-gd-x64-1_84;libboost_python312-vc140-mt-gd-x64;libboost_python312-vc140-mt-gd;libboost_python312-vc143-mt-gd-x64-1_84;libboost_python312-vc143-mt-gd-x64;libboost_python312-vc143-mt-gd;libboost_python312-mt-gd-x64-1_84;libboost_python312-mt-gd-x64;libboost_python312-mt-gd;libboost_python312-mt;libboost_python312 -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:812 ] Boost_LIBRARY_DIR_DEBUG = "C:/Program Files/Boost/boost_1_84_0/stage/lib" -- [ C:/Program Files/CMake/share/cmake-3.28/Modules/FindBoost.cmake:814 ] _boost_LIBRARY_SEARCH_DIRS_DEBUG = "C:/Program Files/Boost/boost_1_84_0/stage/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH" -- Found Boost: C:/Program Files/Boost/boost_1_84_0 (found version "1.84.0") found components: python312 -- Before -- After -- Not here?s -- Configuring done (2.8s) -- Generating done (1.0s) -- Build files have been written to: C:/Users/Dane/Desktop/Masters/vowpal_wabbit/build/temp.win-amd64-cpython-312/Release cmake --build . --config Release --target pylibvw Microsoft (R) Build Engine version 17.1.0+ae57d105c for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved.

fmt.vcxproj -> C:\Users\Dane\Desktop\Masters\vowpal_wabbit\build\temp.win-amd64-cpython-312\Release\ext_libs\fmt\Rele ase\fmt.lib spdlog.vcxproj -> C:\Users\Dane\Desktop\Masters\vowpal_wabbit\build\temp.win-amd64-cpython-312\Release\ext_libs\spdlo g\Release\spdlog.lib vw_io.vcxproj -> C:\Users\Dane\Desktop\Masters\vowpal_wabbit\build\temp.win-amd64-cpython-312\Release\vowpalwabbit\io \Release\vw_io.lib vw_allreduce.vcxproj -> C:\Users\Dane\Desktop\Masters\vowpal_wabbit\build\temp.win-amd64-cpython-312\Release\vowpalwa bbit\allreduce\Release\vw_allreduce.lib vw_config.vcxproj -> C:\Users\Dane\Desktop\Masters\vowpal_wabbit\build\temp.win-amd64-cpython-312\Release\vowpalwabbi t\config\Release\vw_config.lib vw_text_parser.vcxproj -> C:\Users\Dane\Desktop\Masters\vowpal_wabbit\build\temp.win-amd64-cpython-312\Release\vowpal wabbit\text_parser\Release\vw_text_parser.lib vw_json_parser.vcxproj -> C:\Users\Dane\Desktop\Masters\vowpal_wabbit\build\temp.win-amd64-cpython-312\Release\vowpal wabbit\json_parser\Release\vw_json_parser.lib vw_core.vcxproj -> C:\Users\Dane\Desktop\Masters\vowpal_wabbit\build\temp.win-amd64-cpython-312\Release\vowpalwabbit\ core\Release\vw_core.lib vw_cache_parser.vcxproj -> C:\Users\Dane\Desktop\Masters\vowpal_wabbit\build\temp.win-amd64-cpython-312\Release\vowpa lwabbit\cache_parser\Release\vw_cache_parser.lib LINK : fatal error LNK1104: cannot open file 'boost_python312-vc143-mt-x64-1_84.lib' [C:\Users\Dane\Desktop\Masters\vow pal_wabbit\build\temp.win-amd64-cpython-312\Release\python\pylibvw.vcxproj] error: command 'C:\Program Files\CMake\bin\cmake.exe' failed with exit code 1 `

cheng-tan commented 9 months ago

Hi, Python vowpalwabbit doesn't support python 3.12, you can try with python 3.10. Another solution is we have a new python package for vowpalwabbit: https://github.com/VowpalWabbit/py-vowpal-wabbit-next, which supports python 3.12

DaneLyttinen commented 9 months ago

I tried the new Python package, and it downloaded like a charm, so I will close this issue as the components used in this issue are not supported for this package. Thanks for the assistance