tensorflow: tensorflow-macos 2.13.0 requires typing-extensions<4.6.0,>=3.6.6, but you have typing-extensions 4.7.1 which is incompatible.
Issue type
Feature Request
Have you reproduced the bug with TensorFlow Nightly?
No
Source
source
TensorFlow version
2.13.0
Custom code
Yes
OS platform and distribution
MacOS 13
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
I can’t use pydantic because it needs typing-extensions>=4.6.1 but tensorflow-macos doesn’t support typing-extensions>4.6.0
please update tensorflow-macos for newer typing-extensions
pydantic-core 2.6.3 requires typing-extensions!=4.7.0,>=4.6.0, but you have typing-extensions 4.5.0 which is incompatible. pydantic 2.3.0 requires typing-extensions>=4.6.1, but you have typing-extensions 4.5.0 which is incompatible.
tensorflow-macos 2.13.0 requires typing-extensions<4.6.0,>=3.6.6, but you have typing-extensions 4.7.1 which is incompatible.
Thanks
Standalone code to reproduce the issue
just install the pip packages in MacOS terminal.
Relevant log output
No response
About this issue
- Original URL
- State: closed
- Created 10 months ago
- Reactions: 2
- Comments: 16 (5 by maintainers)
Hi, is there a fix for the issue yet?
ERROR: pip’s dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. tensorflow-macos 2.13.0 requires typing-extensions<4.6.0,>=3.6.6, but you have typing-extensions 4.8.0 which is incompatible.
ERROR: pip’s dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. pydantic-core 2.6.3 requires typing-extensions!=4.7.0,>=4.6.0, but you have typing-extensions 4.5.0 which is incompatible. pydantic 2.3.0 requires typing-extensions>=4.6.1, but you have typing-extensions 4.5.0 which is incompatible.
@vipervs , Could you please install TensorFlow as per the above comment from official Tensorflow PyPi using
pip install tensorflow==2.14and close the issue. Thanks! https://pypi.org/project/tensorflow/#files