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

deepcell tensorflow conflict #65

Open
maierm18 opened this issue Dec 19, 2024 · 3 comments
Open

deepcell tensorflow conflict #65

maierm18 opened this issue Dec 19, 2024 · 3 comments
Assignees

Comments

@maierm18
Copy link

Hi I was wondering why I am unable to download the myofinder. I am getting this error:
ERROR: Cannot install myofinder because these package versions have conflicting dependencies.
The conflict is caused by:
deepcell 0.12.10 depends on tensorflow~=2.8.0
deepcell 0.12.9 depends on tensorflow~=2.8.0
deepcell 0.12.8 depends on tensorflow~=2.8.0
deepcell 0.12.7 depends on tensorflow~=2.8.0
deepcell 0.12.6 depends on tensorflow~=2.8.0
deepcell 0.12.5 depends on tensorflow~=2.8.0

I am running python 3.10 after installing and removing python 3.13

@WeisLeDocto WeisLeDocto self-assigned this Dec 20, 2024
@WeisLeDocto
Copy link
Member

Hi,

Which OS are you running ? On what machine ?

I've had this problem on mac silicon already.
deepcell, which is MyoFInDer's main dependency, only supports Python versions up to 10, which is getting a bit old.
The dependencies of deepcell might no longer be built and distributed for your OS and CPU architecture, therefore this error.

@maierm18
Copy link
Author

Hi,

I am running Sonoma 14.3.1 with the Apple M3 Pro. Dang, maybe I'll try to run it on our cluster.

@WeisLeDocto
Copy link
Member

Indeed you have an ARM CPU, which isn't supported by tensorflow 2.8.4 (latest version compatible with deepcell).
Support for ARM CPU on macOS was only added in tensorflow 2.13.0.

I attempted to check a few weeks ago if it was possible to run MyoFInDer on recent Apple hardware, with a recent tensorflow version, although not explicitly indicated as compatible with deepcell. I can't remember how exactly, but it all ended up with an inextricable dependency conflict.

Switching to x86_64 hardware (i.e. almost everything but recent mac machines) seems like the most reasonable option here.

You could technically attempt to build tensorflow 2.8.4 from source, but I'd expect that to be quite painful, and the outcome uncertain.

I definitely need to request support for a newer tensorflow version from the deepcell maintainers, but I'm pessimistic. The last update to their project was 4 months ago already.

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