Comments (3)
These are my default python paths:
INFO: Reading rc options for 'build' from /mnt/c/tensorflow-2.5.0/.tf_configure.bazelrc:
'build' options: --action_env PYTHON_BIN_PATH=/usr/bin/python3 --action_env PYTHON_LIB_PATH=/usr/lib/python3/dist-packages --python_path=/usr/bin/python3
from tensorflow.
@Thunderzen,
There are a few more simultaneous issues... If you feel you can make progress on a root cause PR please feel free to submit one that we can review.
As a Temporary fix, could you please try adding python definitions in the {project}/WORKSPACE file, then it might work. and Project can be built successfully.
# bazel_skylib and rules_python are from @org_tensorflow/WORKSPACE.
http_archive(
name = "bazel_skylib",
sha256 = "74d544d96f4a5bb630d465ca8bbcfe231e3594e5aae57e1edbf17a6eb3ca2506",
urls = [
"https://storage.googleapis.com/mirror.tensorflow.org/github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz",
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz",
],
)
http_archive(
name = "rules_python",
sha256 = "9d04041ac92a0985e344235f5d946f71ac543f1b1565f2cdbc9a2aaee8adf55b",
strip_prefix = "rules_python-0.26.0",
url = "https://github.com/bazelbuild/rules_python/releases/download/0.26.0/rules_python-0.26.0.tar.gz",
)
# Copied from `@org_tensorflow//:WORKSPACE`.
load(
"@rules_python//python:repositories.bzl",
"py_repositories",
"python_register_toolchains",
)
py_repositories()
load(
"@org_tensorflow//tensorflow/tools/toolchains/python:python_repo.bzl",
"python_repository",
)
python_repository(name = "python_version_repo")
load("@python_version_repo//:py_version.bzl", "HERMETIC_PYTHON_VERSION")
# Toolchain setup here is to please the TF workspace scripts,
# and we do not use this Python version to build pip packages.
python_register_toolchains(
name = "python",
ignore_root_user_error = True,
python_version = HERMETIC_PYTHON_VERSION,
)
Also tensorflow v2.5 is pretty old, please try to upgrade to the latest tensorflow v2.15 or v2.16. Thank you!
from tensorflow.
This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.
from tensorflow.
Related Issues (20)
- Tensorflow Generate "ops_to_register.h" Without Graph HOT 2
- DeprecationWarning from google.protobuf HOT 8
- Memory leak from using tf.constant in loop in TF 2.16 HOT 3
- TPU v3-8 CrossReplicaSum_33 Error HOT 5
- Strange finding: When the global seed and @tf.function decorator are used, the random sampling values of the two adjacent periods are equal HOT 3
- ValueError: as_list() is not defined on an unknown TensorShape. during training HOT 1
- tf.test.is_built_with_cuda() is 'False' HOT 6
- Linker error when tensorflow is being built with clang-17 inside anaconda environment HOT 2
- No such file or directory: 'patchelf' while compiling from source
- Tensorflow flex so file build for arm64 target HOT 3
- Documentation for `tf.dynamic_partition()` has examples without a call to the API being described HOT 1
- tensorflow[and-cuda] 2.15.0/2.15.1 compatibility with jax[cuda12] HOT 5
- Support for 16 bit activations in ExpandDims operation. HOT 1
- Fail to run person_detect.tflite via TFLite benchmark_model HOT 3
- TFLite ConvTranspose3D implemented typo HOT 1
- Couldn't resolve TF-TRT Warning: Could not find TensorRT HOT 4
- TensorRT no longer has NvUtils.h - build from source is failing
- Instructions to install Tensorflow HOT 2
- Tensorflow Docker Instructions HOT 2
- How to reduce the time running invoke() HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tensorflow.