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

stuck at tensorflow-cpu==2.7.1 #2

Open
hrvanderlingen opened this issue Nov 18, 2023 · 1 comment
Open

stuck at tensorflow-cpu==2.7.1 #2

hrvanderlingen opened this issue Nov 18, 2023 · 1 comment

Comments

@hrvanderlingen
Copy link

I am running a macbook pro with Apple M2 pro chip. I can get Decimer to work but installation of the reactiondataextractor fails with

ERROR: Could not find a version that satisfies the requirement tensorflow-cpu==2.7.1 (from decimer) (from versions: none)
ERROR: No matching distribution found for tensorflow-cpu==2.7.1

is the software supposed to run with macos?

@dmw51
Copy link
Owner

dmw51 commented Nov 30, 2023

Hi,

This problem is raised due to a package dependency of decimer, where tensorflow was swapped to a cpu version. This was tested on Linux only, and it appears that a macos-compatible build is unavailable on pip, and hence macos is not supported.

A manual fix would be to fork decimer from https://github.com/dmw51/DECIMER-Image_Transformer and adjust line 22 in setup.py to a suitable build (appropriate for macos, likely gpu-based).
Then adjust line 26 of setup.py inside reactiondataextractor2 to build decimer from the forked directory. Finally, install reactiondataextractor as described.

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

No branches or pull requests

2 participants