Skip to content

Docker build failed #5

@lywcn

Description

@lywcn

Hi, authors

Thank you so much for your source code! I have learnt a lot from your paper.

For the current Docker build, it seems fails on building it with Python 3.10+ needed. However, Ubuntu 20.04 comes with python 3.8.10 as default:

"
-- Did not find METIS library (optional SuiteSparse dependency)
-- Found SuiteSparse: TRUE (found version "5.7.1")
-- Found installed version of Eigen: /usr/lib/cmake/eigen3
-- Found required Ceres dependency: Eigen version 3.3.7 in /usr/include/eigen3
-- Found required Ceres dependency: glog
-- Found installed version of gflags: /usr/lib/x86_64-linux-gnu/cmake/gflags
-- Detected gflags version: 2.2.2
-- Found required Ceres dependency: gflags
-- Found Ceres version: 1.13.0 installed in: /usr/local with components: [LAPACK, SuiteSparse, SparseLinearAlgebraLibrary, CXSparse, SchurSpecializations, OpenMP]
-- Found SuiteSparse 5.7.1, building with SuiteSparse.
-- pybind11 v2.11.0 dev1
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
Could NOT find PythonInterp: Found unsuitable version "3.8.10", but
required is at least "3.10" (found /usr/bin/python3)
Call Stack (most recent call first):
/usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:391 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.16/Modules/FindPythonInterp.cmake:169 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
python/pybind11/tools/FindPythonLibsNew.cmake:98 (find_package)
python/pybind11/tools/pybind11Tools.cmake:50 (find_package)
third_party/basalt/thirdparty/CMakeLists.txt:41 (_include)
python/pybind11/tools/pybind11Common.cmake:180 (include)
third_party/basalt/thirdparty/CMakeLists.txt:41 (_include)
python/pybind11/CMakeLists.txt:200 (include) "

I am wondering if you can provide a fix? Thank you!

John

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions