Can't install tf-models-official with tensorflow-macos

I'm trying to install tf-models-official package on my M1 Mac inside conda environment with tensorflow-macos installed. However, I'm getting a conflict:

The conflict is caused by:
    tf-models-official 2.9.2 depends on tensorflow-text~=2.9.0
    tf-models-official 2.9.1 depends on tensorflow-text~=2.9.0
    tf-models-official 2.9.0 depends on tensorflow-text~=2.9.0
    tf-models-official 2.8.0 depends on tensorflow-text~=2.8.0
    tf-models-official 2.7.2 depends on tensorflow>=2.4.0
    tf-models-official 2.7.1 depends on tensorflow>=2.4.0
    tf-models-official 2.7.0 depends on tensorflow-text>=2.7.0
    tf-models-official 2.6.1 depends on tensorflow>=2.6.0
    tf-models-official 2.6.0 depends on tensorflow>=2.5.0
    tf-models-official 2.5.1 depends on tensorflow>=2.5.0
    tf-models-official 2.5.0 depends on tensorflow>=2.5.0
    tf-models-official 2.4.0 depends on tensorflow>=2.4.0
    tf-models-official 2.3.0 depends on tensorflow>=2.3.0
    tf-models-official 2.2.2 depends on tensorflow>=2.2.0
    tf-models-official 2.2.1 depends on tensorflow>=2.2.0
    tf-models-official 2.2.0 depends on tensorflow>=2.2.0

It is probably because the installed tensorflow is in fact tensorflow-macos and pip is unable to see it. So, may be Apple needs to provide a meta package called 'tensorflow' so we would be able to use it properly?

Post not yet marked as solved Up vote post of antony66 Down vote post of antony66
1.5k views
Add a Comment

Replies

Same issue here, anyone managed to resolve this?