Skip to content

Conversation

@ByteBrigand
Copy link

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

The correct versions of opencv and tensorflow are not being found by pip, need to specify wheel URL manually.
@Meteors27
Copy link

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

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

Successfully merging this pull request may close these issues.

2 participants