mapillary / mapillary/OpenSfM

RuntimeError: module compiled against API version 0xa but this version of numpy is 0x7

Open
#160 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

dependencies
Dominant language
Python
Stars
3.8k
Forks
899
PR merge metrics
No merged PRs in 30d

Description

I am getting the following error while importing cv2

RuntimeError: module compiled against API version 0xa but this version of numpy is 0x7

Traceback (most recent call last):
File "<pyshell#2>", line 1, in
import cv2
ImportError: numpy.core.multiarray failed to import

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure at the import cv2 entry point and record the installed Python, OpenCV, and NumPy versions. Check the project's installation requirements and dependency history for a supported version combination. Done means importing cv2 succeeds without the NumPy API or multiarray errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
numpy, opencv, python
Domain
computer-vision
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.