Skip to content
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

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

Open
greyxray opened this issue Feb 15, 2024 · 1 comment

Comments

@greyxray
Copy link

greyxray commented Feb 15, 2024

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)

@singhniraj08
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants