-
Notifications
You must be signed in to change notification settings - Fork 204
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
[macOS] Error Running Bazel: from riegeli.records import record_reader ImportError : symbol not found in flat namespace #5
Comments
JGoDC
changed the title
Bazel ImportError on macOS 12.2 Monterey with Intel chip
Error Running Bazel: from riegeli.records import record_reader ImportError (macOS 12.2 Monterey)
Feb 9, 2022
JGoDC
changed the title
Error Running Bazel: from riegeli.records import record_reader ImportError (macOS 12.2 Monterey)
Error Running Bazel: from riegeli.records import record_reader ImportError : symbol not found in flat namespace
Feb 9, 2022
Getting the same exact error here as well, same machine, python version (3.7.11 in my case) and homebrew bazel version |
Can you check the Python 2 and compiler versions as well? And update them if necessary. tensorflow/tensorflow#39521 may also be related. |
I have the same problem on M1pro. |
Can you try on Linux or bazel version 6.0.0 ? |
felixgimeno
changed the title
Error Running Bazel: from riegeli.records import record_reader ImportError : symbol not found in flat namespace
[macOS] Error Running Bazel: from riegeli.records import record_reader ImportError : symbol not found in flat namespace
Jan 16, 2023
Has anyone found a solution or workaround to this? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please help with Bazel run gets ImportError on macOS 12.2 Monterey (Intel chip):
% bazel run -c opt \ :print_names_and_sources /tmp/dm-code_contests/code_contests_valid.riegeli Starting local Bazel server and connecting to it... INFO: Analyzed target //:print_names_and_sources (82 packages loaded, 2025 targets configured). INFO: Found 1 target... Target //:print_names_and_sources up-to-date: bazel-bin/print_names_and_sources INFO: Elapsed time: 4.780s, Critical Path: 0.10s INFO: 1 process: 1 internal. INFO: Build completed successfully, 1 total action INFO: Build completed successfully, 1 total action Traceback (most recent call last): File "/private/var/tmp/_bazel_j/651bc297ae9686f74aa6889e91cbfc4c/execroot/__main__/bazel-out/darwin-opt/bin/print_names_and_sources.runfiles/__main__/print_names_and_sources.py", line 24, in <module> import riegeli File "/private/var/tmp/_bazel_j/651bc297ae9686f74aa6889e91cbfc4c/execroot/__main__/bazel-out/darwin-opt/bin/print_names_and_sources.runfiles/com_google_riegeli/python/riegeli/__init__.py", line 18, in <module> from riegeli.records import record_reader ImportError: dlopen(/private/var/tmp/_bazel_j/651bc297ae9686f74aa6889e91cbfc4c/execroot/__main__/bazel-out/darwin-opt/bin/print_names_and_sources.runfiles/com_google_riegeli/python/riegeli/records/record_reader.so, 0x0002): symbol not found in flat namespace '__ZNK11highwayhash11HighwayHashILj2EEclERA4_KyPKcmPy'
% bazel --version
bazel 5.0.0-homebrew
% python -V
Python 3.7.9
% uname -m
x86_64
Thanks!
The text was updated successfully, but these errors were encountered: