mapillary / mapillary/OpenSfM

Python 3.7 OpenSfM 0.3 demo error

Open
#522 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Hi,

I've installed OpenSfM and run the demo 'bin/opensfm undistort data/berlin' but it fails with reason:

Traceback (most recent call last):
  File "bin/opensfm", line 10, in <module>
    from opensfm import commands
  File "/Users/romanvlasov/Sources/OpenSfM/opensfm/commands/__init__.py", line 2, in <module>
    from . import extract_metadata
  File "/Users/romanvlasov/Sources/OpenSfM/opensfm/commands/extract_metadata.py", line 5, in <module>
    from opensfm import dataset
  File "/Users/romanvlasov/Sources/OpenSfM/opensfm/dataset.py", line 12, in <module>
    from opensfm import io
  File "/Users/romanvlasov/Sources/OpenSfM/opensfm/io.py", line 20, in <module>
    from opensfm import features
  File "/Users/romanvlasov/Sources/OpenSfM/opensfm/features.py", line 10, in <module>
    from opensfm import csfm
ImportError: dlopen(/Users/romanvlasov/Sources/OpenSfM/opensfm/csfm.cpython-37m-darwin.so, 2): Symbol not found: ___kmpc_dispatch_init_4
  Referenced from: /Users/romanvlasov/Sources/OpenSfM/opensfm/csfm.cpython-37m-darwin.so
  Expected in: flat namespace
 in /Users/romanvlasov/Sources/OpenSfM/opensfm/csfm.cpython-37m-darwin.so

Could you help me to solve this issue? If you need additional info please ask.

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

Reproduce the failure with bin/opensfm undistort data/berlin and start from the import chain through opensfm/features.py to opensfm/csfm.cpython-37m-darwin.so. Investigate the missing ___kmpc_dispatch_init_4 symbol and verify that the demo command completes successfully after the build or environment issue is resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-vision
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.