Install issue on Windows - python setup.py build
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.8k
- Forks
- 899
- PR merge metrics
- No merged PRs in 30d
Description
I can get through all of the necessary step, all the dependencies (I had to do manually), but when I run 'python setup.py build' I get this error message:
Traceback (most recent call last):
File "C:\Users\brwei.000\OneDrive\Desktop\OpenSFM\OpenSfM\setup.py", line 9, in
from sphinx.setup_command import BuildDoc
ModuleNotFoundError: No module named 'sphinx.setup_command'
Has sphinx.setup_command been changed to something else/renamed?
I'm currently running Python 3.12.3 on Windows 10. I've trying installing OpenSfM on Fedora 40 KDE and I have the exact same issue.
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 setup.py and reproduce python setup.py build on the reported Python 3.12 environments. Inspect the sphinx.setup_command import and determine the compatible setup path; done means the build command completes without the reported ModuleNotFoundError on Windows and Fedora.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100