RTD keeps failing to build - No module named osgeo

Issue #434 resolved
Fabian Thiel created an issue

@Benjamin Jakimow @Andreas Janz Do you know where this is coming from. Any recent changes which might trigger this problem? I mean, from osgeo import gdal is not new and occurs at a lot of places… Ideas?

Running Sphinx v1.8.5

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/enmap-box/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 368, in eval_config_file
    execfile_(filename, namespace)
  File "/home/docs/checkouts/readthedocs.org/user_builds/enmap-box/envs/latest/lib/python3.7/site-packages/sphinx/util/pycompat.py", line 150, in execfile_
    exec_(code, _globals)
  File "/home/docs/checkouts/readthedocs.org/user_builds/enmap-box/checkouts/latest/doc/source/conf.py", line 126, in <module>
    import enmapbox
  File "/home/docs/checkouts/readthedocs.org/user_builds/enmap-box/checkouts/latest/enmapbox/__init__.py", line 40, in <module>
    from osgeo import gdal
ModuleNotFoundError: No module named 'osgeo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/enmap-box/envs/latest/lib/python3.7/site-packages/sphinx/cmd/build.py", line 303, in build_main
    args.tags, args.verbosity, args.jobs, args.keep_going)
  File "/home/docs/checkouts/readthedocs.org/user_builds/enmap-box/envs/latest/lib/python3.7/site-packages/sphinx/application.py", line 201, in __init__
    self.config = Config.read(self.confdir, confoverrides or {}, self.tags)
  File "/home/docs/checkouts/readthedocs.org/user_builds/enmap-box/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 203, in read
    namespace = eval_config_file(filename, tags)
  File "/home/docs/checkouts/readthedocs.org/user_builds/enmap-box/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 380, in eval_config_file
    raise ConfigError(msg % traceback.format_exc())
sphinx.errors.ConfigError: There is a programmable error in your configuration file:

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/enmap-box/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 368, in eval_config_file
    execfile_(filename, namespace)
  File "/home/docs/checkouts/readthedocs.org/user_builds/enmap-box/envs/latest/lib/python3.7/site-packages/sphinx/util/pycompat.py", line 150, in execfile_
    exec_(code, _globals)
  File "/home/docs/checkouts/readthedocs.org/user_builds/enmap-box/checkouts/latest/doc/source/conf.py", line 126, in <module>
    import enmapbox
  File "/home/docs/checkouts/readthedocs.org/user_builds/enmap-box/checkouts/latest/enmapbox/__init__.py", line 40, in <module>
    from osgeo import gdal
ModuleNotFoundError: No module named 'osgeo'


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

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/enmap-box/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 368, in eval_config_file
    execfile_(filename, namespace)
  File "/home/docs/checkouts/readthedocs.org/user_builds/enmap-box/envs/latest/lib/python3.7/site-packages/sphinx/util/pycompat.py", line 150, in execfile_
    exec_(code, _globals)
  File "/home/docs/checkouts/readthedocs.org/user_builds/enmap-box/checkouts/latest/doc/source/conf.py", line 126, in <module>
    import enmapbox
  File "/home/docs/checkouts/readthedocs.org/user_builds/enmap-box/checkouts/latest/enmapbox/__init__.py", line 40, in <module>
    from osgeo import gdal
ModuleNotFoundError: No module named 'osgeo'

Comments (5)

  1. Log in to comment