Open ByteBrigand opened 1 year ago
Thanks, it helps me a lot. For whom encounters the same problem as me when running pip install -e .
, this is the best solution.
Here is the detailed error message:
File "setup.py", line 445, in _classify_installed_files_override
raise Exception("Not found: '%s'" % relpath_re)
Exception: Not found: 'python/cv2/py.typed'
Building wheel for opencv-python (pyproject.toml) ... error
ERROR: Failed building wheel for opencv-python
Failed to build opencv-python
ERROR: Could not build wheels for opencv-python, which is required to install pyproject.toml-based projects
The correct versions of opencv and tensorflow are not being found by pip, need to specify wheel URL manually. URL found at https://pypi.org/project/tensorflow/1.15.5/#files and https://pypi.org/project/opencv-python/4.5.2.52/#files