Unable to run, attempted to make changes but still failed
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.8k
- Forks
- 899
- PR merge metrics
- No merged PRs in 30d
Description
back (most recent call last):
File "D:\opensourceProject\OpenSfM\annotation_gui_gcp\main.py", line 11, in
from annotation_gui_gcp.lib import GUI
File "D:\opensourceProject\OpenSfM\annotation_gui_gcp\lib\GUI.py", line 14, in
from opensfm import dataset
File "D:\opensourceProject\OpenSfM\opensfm_init_.py", line 2, in
from opensfm import pybundle
ImportError: cannot import name 'pybundle' from partially initialized module 'opensfm' (most likely due to a circular import)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with annotation_gui_gcp/main.py and annotation_gui_gcp/lib/GUI.py, then inspect opensfm/init.py around the import of pybundle. Reproduce the reported command and determine whether the import succeeds without the circular-import error; the issue is resolved when the GUI starts past this traceback.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100