Skip to content

Installation of tensorflow data validation still failing for mac m2 chips? #252

Open
@greyxray

Description

@greyxray

This is a reiteration of closed issue

to my understanding this has been already fixed for m1/m2 chips in #251

But I still can't install it on my m2 chip (could the newer OS be the problem?). I did:

brew install bazel
pyenv virtualenv 3.10.12 tfdvenv
pyenv activate tfdvenv
pip install numpy apache-beam pyarrow tensorflow # tried both with and w/o this install
pip install tensorflow-data-validation

Errors seen:

ERROR: Could not find a version that satisfies the requirement tensorflow-data-validation (from versions: none)
ERROR: No matching distribution found for tensorflow-data-validation

I also tried to pip-install nightly version and build from docker but both didn't work. The docker approach failed with Server terminated abruptly (error code: 14, error message: 'Socket closed', log file: '/root/.cache/bazel/_bazel_root/7b7747ec045ae606eb720a1222f56098/server/jvm.out') - not sure what's that about.

I am wondering if anyone else can reproduce the problem? Or is there a known combination of package/python versions that works for m2 that you know of?

System:
Apple macbook M2 Pro
macOS Sonoma 14.2.1 with M2 chip
Python 3.10.12 (same result with 3.9.18 and 3.11.7)

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions