Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install issue on Windows - python setup.py build #1051

Open
moendopi opened this issue May 2, 2024 · 2 comments
Open

Install issue on Windows - python setup.py build #1051

moendopi opened this issue May 2, 2024 · 2 comments

Comments

@moendopi
Copy link

moendopi commented May 2, 2024

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.

@24Ko8e
Copy link

24Ko8e commented Jul 1, 2024

I am also facing the exact same issue on Windows 11 and Mac Silicon. I did notice that even before building the setup.py there was an error with exit code 1 while installing the dependencies from the requirements.txt file

@IoflyTang
Copy link

This is caused by the version of Sphinx,you can try to use this requirements:
cloudpickle>=0.4.0
exifread>=2.1.2
flask>=2.3.2
fpdf2>=2.4.6
joblib>=0.14.1
matplotlib
networkx>=2.5
numpy>=1.19
Pillow>=8.1.1
pyproj>=1.9.5.1
pytest>=3.0.7
python-dateutil>=2.7
pyyaml>=5.4
scipy>=1.10.0
Sphinx==6.0
six
xmltodict>=0.10.2
wheel
opencv-python>=4.5.1.48 ; sys_platform == "win32"
opencv-python ; sys_platform == "linux"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants