You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tensorflow has started providing pre-compiled whl for Python 3.12 since version 2.16. When will we start providing them? Currently, bazel reports a missing requirement_lock_3_12.txt file.
The text was updated successfully, but these errors were encountered:
I also tried to build tf-text from source with requirement_lock_3_11.txt. But it failed with error cannot import distutils:
Traceback (most recent call last):
File "/root/.cache/bazel/_bazel_root/85e1e75b08f730f1cb0a39e292604ff5/execroot/org_tensorflow_text/bazel-out/k8-opt/bin/oss_scripts/pip_package/tensorflow_build_info.runfiles/org_tensorflow_text/oss_scripts/pip_package/tensorflow_build_info.py", line 33, in <module>
import tensorflow as tf
File "/root/.cache/bazel/_bazel_root/85e1e75b08f730f1cb0a39e292604ff5/execroot/org_tensorflow_text/bazel-out/k8-opt/bin/oss_scripts/pip_package/tensorflow_build_info.runfiles/pypi_tensorflow/site-packages/tensorflow/__init__.py", line 30, in <module>
import distutils as _distutils
ModuleNotFoundError: No module named 'distutils'
@stefan-it Do you by any chance who to force bazel to use python from venv?
[UPD] Installing distuilts via pip install setuptools does not help at all.
The
tensorflow
has started providing pre-compiledwhl
for Python3.12
since version2.16
. When will we start providing them? Currently,bazel
reports a missingrequirement_lock_3_12.txt
file.The text was updated successfully, but these errors were encountered: