Tensorflow-macos cannot stay with PyQt5 and opencv-python

Tensorflow-macos v2.5 does run on my M1 MacBook Pro by downloading the Apple tensorflow deps and conda env.

However, when I download the PyQt5 package, the ERROR:

PyQt5 has a pyproject.toml file that does not comply with PEP 518: 'build-system.requires' contains an invalid requirement: 'sip >=5.0.1 <6'

apears while I can install qt5 directly without the tensorflow deps. Error also comes out when I re-installing numpy whose version is specifically asked by tensorflow-macos (why re-install: opencv automatically unistall the tensorflow's numpy and installs another which tensorflow-macos cannot use), showing

Could not build wheels for numpy which use PEP 517 and cannot be installed directly.

What should I do? The only way I can fix the problem by myself is to clear the conda env and install deps, tensorflow, metal pkg etc. once again and avoid the using of qt5 and deleting of original numpy. What a bad experience.

Hi @EricWXZ, Can you try installing the version PyQt5==5.14.0 see if that fixed the PEP 518 issue?

Have you found the solution of this?

Tensorflow-macos cannot stay with PyQt5 and opencv-python
 
 
Q