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

sphinx-build fails: setuptools not included in requirements_doc.txt #99

Open
sjswerdloff opened this issue Sep 14, 2024 · 0 comments
Open

Comments

@sjswerdloff
Copy link

Apple M1, MacOS 14.6, python 3.12.4
and I have in my .zshrc:

source $HOME/zsh-autoswitch-virtualenv/autoswitch_virtualenv.plugin.zsh

so... a virtual environment that got built automatically when I cd in to the dicomweb-client directory...

sphinx-build -b html docs/ docs/build/
Running Sphinx v5.3.0

Configuration error:
There is a programmable error in your configuration file:

Traceback (most recent call last):
File "/Users/stuartswerdloff/.virtualenvs/dicomweb-client-crgx/lib/python3.12/site-packages/sphinx/config.py", line 350, in eval_config_file
exec(code, namespace)
File "/Users/stuartswerdloff/PythonProjects/ImagingDataCommons/dicomweb-client/docs/conf.py", line 17, in
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'

https://stackoverflow.com/questions/7446187/no-module-named-pkg-resources

pip install setuptools
resolved the issue. Is this something that could be added to requirements_doc.txt (without creating issues for others)?

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

1 participant