tensorflow / data-validation

Library for exploring and validating machine learning data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

greyxray opened this issue · comments

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)

Hi @caveness,
Installing TFDV on Mac results in below error. I am also getting the same error below. Please let us know if we are missing something or how we can overcome this issue. Thanks.

(py310) singhniraj-macbookpro:~ singhniraj$ pip install tensorflow-data-validation
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
(py310) singhniraj-macbookpro:~ singhniraj$ export TFX_DEPENDENCY_SELECTOR=NIGHTLY
(py310) singhniraj-macbookpro:~ singhniraj$ pip install --extra-index-url https://pypi-nightly.tensorflow.org/simple tensorflow-data-validation
Looking in indexes: https://pypi.org/simple, https://pypi-nightly.tensorflow.org/simple
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