google/temporian

Not able to test temporian on Mac OS M2 chip

nagavenkateshgavini opened this issue · 2 comments

When I tried to install temporian packages with poetry, there was a problem with TensorFlow installation.

Error:

  RuntimeError

  Unable to find installation candidates for tensorflow (2.12.0)

  at /opt/homebrew/Cellar/poetry/1.7.1/libexec/lib/python3.12/site-packages/poetry/installation/chooser.py:73 in choose_for
       69│ 
       70│             links.append(link)
       71│ 
       72│         if not links:
    →  73│             raise RuntimeError(f"Unable to find installation candidates for {package}")
       74│ 
       75│         # Get the best link
       76│         chosen = max(links, key=lambda link: self._sort_key(package, link))
       77│ 

Cannot install tensorflow.

Env:
MAC OS - Ventura 13.1
Python 3.11

Did anyone faced this issue before?

I was not able to reproduce this on my M2 and python 3.11. From the discussion on discord I think python 3.9 worked for you so I'm closing this one, feel free to re-open it if you are still having any issue

Re-opening this one since I was able to reproduce it.

(for the curious, before I had inadvertently created my virtualenv for x86 even though I was on an M2 chip)

Python: 3.11.8
Poetry: 1.8.2
OS: Macos14.4
Arch: arm64

The problem seems to be that TensorFlow 2.12.0 is not compatible with arm64, will update to 2.13 soon