Hi, I am tryiung to install Beancount v3 using Bazel. I have gone through the installation instructions here <https://beancount.github.io/docs/installing_beancount_v3.html> and i have been stuck in `bazel build //bin:all` command.
These errors are kind of cryptic to me, and I have searched and found a lot of tensorflow problems. I couldn't figure out what exactly is the root of the issue. The error is as follows (I have tried using the native fedora python build): ``` ⬢[magus@toolbox beancount]$ bazel build //bin:all INFO: Repository local_config_python instantiated at: /var/home/magus/ProgramFiles/Contabilidade/beancount/WORKSPACE:76:17: in <toplevel> Repository rule python_configure defined at: /var/home/magus/.cache/bazel/_bazel_magus/bb3c731a895e7bb1e042dcf8348f9a5d/external/pybind11_bazel/python_configure.bzl:412:35: in <toplevel> ERROR: An error occurred during the fetch of repository 'local_config_python': Traceback (most recent call last): File "/var/home/magus/.cache/bazel/_bazel_magus/bb3c731a895e7bb1e042dcf8348f9a5d/external/pybind11_bazel/python_configure.bzl", line 409, column 36, in _python_autoconf_impl _create_local_python_repository(repository_ctx) File "/var/home/magus/.cache/bazel/_bazel_magus/bb3c731a895e7bb1e042dcf8348f9a5d/external/pybind11_bazel/python_configure.bzl", line 358, column 22, in _create_local_python_repository _check_python_lib(repository_ctx, python_lib) File "/var/home/magus/.cache/bazel/_bazel_magus/bb3c731a895e7bb1e042dcf8348f9a5d/external/pybind11_bazel/python_configure.bzl", line 241, column 14, in _check_python_lib _fail("Invalid python library path: %s" % python_lib) File "/var/home/magus/.cache/bazel/_bazel_magus/bb3c731a895e7bb1e042dcf8348f9a5d/external/pybind11_bazel/python_configure.bzl", line 27, column 9, in _fail fail("%sPython Configuration Error:%s %s\n" % (red, no_color, msg)) Error in fail: Python Configuration Error: Invalid python library path: ERROR: /var/home/magus/ProgramFiles/Contabilidade/beancount/WORKSPACE:76:17: fetching python_configure rule //external:local_config_python: Traceback (most recent call last): File "/var/home/magus/.cache/bazel/_bazel_magus/bb3c731a895e7bb1e042dcf8348f9a5d/external/pybind11_bazel/python_configure.bzl", line 409, column 36, in _python_autoconf_impl _create_local_python_repository(repository_ctx) File "/var/home/magus/.cache/bazel/_bazel_magus/bb3c731a895e7bb1e042dcf8348f9a5d/external/pybind11_bazel/python_configure.bzl", line 358, column 22, in _create_local_python_repository _check_python_lib(repository_ctx, python_lib) File "/var/home/magus/.cache/bazel/_bazel_magus/bb3c731a895e7bb1e042dcf8348f9a5d/external/pybind11_bazel/python_configure.bzl", line 241, column 14, in _check_python_lib _fail("Invalid python library path: %s" % python_lib) File "/var/home/magus/.cache/bazel/_bazel_magus/bb3c731a895e7bb1e042dcf8348f9a5d/external/pybind11_bazel/python_configure.bzl", line 27, column 9, in _fail fail("%sPython Configuration Error:%s %s\n" % (red, no_color, msg)) Error in fail: Python Configuration Error: Invalid python library path: INFO: Repository com_google_protobuf instantiated at: /var/home/magus/ProgramFiles/Contabilidade/beancount/WORKSPACE:84:23: in <toplevel> /var/home/magus/ProgramFiles/Contabilidade/beancount/bazel/repositories.bzl:15:24: in beancount_dependencies /var/home/magus/ProgramFiles/Contabilidade/beancount/bazel/repositories.bzl:157:23: in _proto_dependencies /var/home/magus/ProgramFiles/Contabilidade/beancount/bazel/repositories.bzl:7:10: in maybe_http_archive /var/home/magus/.cache/bazel/_bazel_magus/bb3c731a895e7bb1e042dcf8348f9a5d/external/bazel_tools/tools/build_defs/repo/utils.bzl:233:18: in maybe Repository rule http_archive defined at: /var/home/magus/.cache/bazel/_bazel_magus/bb3c731a895e7bb1e042dcf8348f9a5d/external/bazel_tools/tools/build_defs/repo/http.bzl:355:31: in <toplevel> ERROR: /var/home/magus/ProgramFiles/Contabilidade/beancount/beancount/parser/BUILD:178:13: //beancount/parser:_parser_cc depends on @local_config_python//:python_headers in repository @local_config_python which failed to fetch. no such package '@local_config_python//': Python Configuration Error: Invalid python library path: ERROR: Analysis of target '//bin:bean_check' failed; build aborted: INFO: Elapsed time: 1.104s INFO: 0 processes. FAILED: Build did NOT complete successfully (0 packages loaded, 6 targets configured) currently loading: beancount/cparser ``` -- You received this message because you are subscribed to the Google Groups "Beancount" group. To unsubscribe from this group and stop receiving emails from it, send an email to beancount+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/b018985f-4c5b-404d-86a9-5941ecb16fc0n%40googlegroups.com.