You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'
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)?
The text was updated successfully, but these errors were encountered: