mmdeploy icon indicating copy to clipboard operation
mmdeploy copied to clipboard

Jetson Xavier NX install mmcv MMCV_WITH_OPS=1 pip install -e . failed

Open L-Carson opened this issue 1 year ago • 3 comments

Checklist

  • [X] I have searched related issues but cannot get the expected help.
  • [X] 2. I have read the FAQ documentation but cannot get the expected help.
  • [X] 3. The bug has not been fixed in the latest version.

Describe the bug

mmdeploy/docs/zh_cn/01-how-to-build/jetsons.md 安装 MMCV pip install opencv-python==4.8.0.76 报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

Reproduction

cd mmcv pip install opencv-python==4.8.0.76 MMCV_WITH_OPS=1 pip install -e .

Environment

jetpack 4.6.4,mmcv==2.0.0

Error traceback

No response

L-Carson avatar Dec 14 '23 07:12 L-Carson

r u using the python==3.6? python 3.6 don't support the latest version opencv-python. Try the earlier opencv-python.

Reference https://github.com/opencv/opencv-python/issues/812

yinfan98 avatar Dec 18 '23 10:12 yinfan98

thanks, but I have used the earlier version(newest is 4.8.0.81, I used the 4.8.0.76), and last time I succeed, but now I failed. So does have other method to solve it?

L-Carson avatar Dec 19 '23 01:12 L-Carson

@L-Carson Hi, This may not caused by the mmcv... maybe you can find solution in opencv repo

yinfan98 avatar Dec 19 '23 04:12 yinfan98