Read the Docs build information Build id: 417926 Project: mdolab-pyoptsparse Version: latest Commit: a8875321255a10c03d509538c6926fec12a3cad4 Date: 2020-09-10T16:44:49.705351Z State: finished Success: False [rtd-command-info] start-time: 2020-09-10T16:44:52.537269Z, end-time: 2020-09-10T16:44:53.349730Z, duration: 0, exit-code: 0 git clone --no-single-branch --depth 50 https://github.com/mdolab/pyoptsparse.git . Cloning into '.'... [rtd-command-info] start-time: 2020-09-10T16:44:53.889070Z, end-time: 2020-09-10T16:44:53.978905Z, duration: 0, exit-code: 0 git checkout --force origin/master Note: checking out 'origin/master'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b HEAD is now at a887532 version bump [rtd-command-info] start-time: 2020-09-10T16:44:54.636619Z, end-time: 2020-09-10T16:44:54.687274Z, duration: 0, exit-code: 0 git clean -d -f -f [rtd-command-info] start-time: 2020-09-10T16:44:55.971969Z, end-time: 2020-09-10T16:44:59.863375Z, duration: 3, exit-code: 0 python3.7 -mvirtualenv Using base prefix '/home/docs/.pyenv/versions/3.7.3' New python executable in /home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/bin/python3.7 Also creating executable in /home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/bin/python Installing setuptools, pip, wheel... done. [rtd-command-info] start-time: 2020-09-10T16:45:00.226557Z, end-time: 2020-09-10T16:45:00.914573Z, duration: 0, exit-code: 0 python -m pip install --upgrade --no-cache-dir pip Requirement already up-to-date: pip in /home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages (20.2.3) [rtd-command-info] start-time: 2020-09-10T16:45:01.633169Z, end-time: 2020-09-10T16:45:09.740470Z, duration: 8, exit-code: 0 python -m pip install --upgrade --no-cache-dir Pygments==2.3.1 setuptools==41.0.1 docutils==0.14 mock==1.0.1 pillow==5.4.1 alabaster>=0.7,<0.8,!=0.7.5 commonmark==0.8.1 recommonmark==0.5.0 sphinx<2 sphinx-rtd-theme<0.5 readthedocs-sphinx-ext<1.1 Collecting Pygments==2.3.1 Downloading Pygments-2.3.1-py2.py3-none-any.whl (849 kB) Collecting setuptools==41.0.1 Downloading setuptools-41.0.1-py2.py3-none-any.whl (575 kB) Collecting docutils==0.14 Downloading docutils-0.14-py3-none-any.whl (543 kB) Collecting mock==1.0.1 Downloading mock-1.0.1.tar.gz (818 kB) Collecting pillow==5.4.1 Downloading Pillow-5.4.1-cp37-cp37m-manylinux1_x86_64.whl (2.0 MB) Collecting alabaster!=0.7.5,<0.8,>=0.7 Downloading alabaster-0.7.12-py2.py3-none-any.whl (14 kB) Collecting commonmark==0.8.1 Downloading commonmark-0.8.1-py2.py3-none-any.whl (47 kB) Collecting recommonmark==0.5.0 Downloading recommonmark-0.5.0-py2.py3-none-any.whl (9.8 kB) Collecting sphinx<2 Downloading Sphinx-1.8.5-py2.py3-none-any.whl (3.1 MB) Collecting sphinx-rtd-theme<0.5 Downloading sphinx_rtd_theme-0.4.3-py2.py3-none-any.whl (6.4 MB) Collecting readthedocs-sphinx-ext<1.1 Downloading readthedocs_sphinx_ext-1.0.4-py2.py3-none-any.whl (28 kB) Collecting future Downloading future-0.18.2.tar.gz (829 kB) Collecting sphinxcontrib-websupport Downloading sphinxcontrib_websupport-1.2.4-py2.py3-none-any.whl (39 kB) Collecting six>=1.5 Downloading six-1.15.0-py2.py3-none-any.whl (10 kB) Collecting packaging Downloading packaging-20.4-py2.py3-none-any.whl (37 kB) Collecting snowballstemmer>=1.1 Downloading snowballstemmer-2.0.0-py2.py3-none-any.whl (97 kB) Collecting Jinja2>=2.3 Downloading Jinja2-2.11.2-py2.py3-none-any.whl (125 kB) Collecting imagesize Downloading imagesize-1.2.0-py2.py3-none-any.whl (4.8 kB) Collecting babel!=2.0,>=1.3 Downloading Babel-2.8.0-py2.py3-none-any.whl (8.6 MB) Collecting requests>=2.0.0 Downloading requests-2.24.0-py2.py3-none-any.whl (61 kB) Collecting sphinxcontrib-serializinghtml Downloading sphinxcontrib_serializinghtml-1.1.4-py2.py3-none-any.whl (89 kB) Collecting pyparsing>=2.0.2 Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB) Collecting MarkupSafe>=0.23 Downloading MarkupSafe-1.1.1-cp37-cp37m-manylinux1_x86_64.whl (27 kB) Collecting pytz>=2015.7 Downloading pytz-2020.1-py2.py3-none-any.whl (510 kB) Collecting idna<3,>=2.5 Downloading idna-2.10-py2.py3-none-any.whl (58 kB) Collecting certifi>=2017.4.17 Downloading certifi-2020.6.20-py2.py3-none-any.whl (156 kB) Collecting chardet<4,>=3.0.2 Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB) Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 Downloading urllib3-1.25.10-py2.py3-none-any.whl (127 kB) Building wheels for collected packages: mock, future Building wheel for mock (setup.py): started Building wheel for mock (setup.py): finished with status 'done' Created wheel for mock: filename=mock-1.0.1-py3-none-any.whl size=23754 sha256=6eecaa6584e3ac257e41136317fdd0ef8f2013c01cc15ae358d6702dea25e271 Stored in directory: /tmp/pip-ephem-wheel-cache-1hasa6sy/wheels/16/03/37/f0a64ab894c9102906f192db1a4071b7592292ad661563c69b Building wheel for future (setup.py): started Building wheel for future (setup.py): finished with status 'done' Created wheel for future: filename=future-0.18.2-py3-none-any.whl size=491059 sha256=619e4db548754b391159e02a3e58526e9d2bdb08b4a7bf07a8a5db3be9f2d6f8 Stored in directory: /tmp/pip-ephem-wheel-cache-1hasa6sy/wheels/56/b0/fe/4410d17b32f1f0c3cf54cdfb2bc04d7b4b8f4ae377e2229ba0 Successfully built mock future Installing collected packages: Pygments, setuptools, docutils, mock, pillow, alabaster, future, commonmark, sphinxcontrib-serializinghtml, sphinxcontrib-websupport, six, pyparsing, packaging, snowballstemmer, MarkupSafe, Jinja2, imagesize, pytz, babel, idna, certifi, chardet, urllib3, requests, sphinx, recommonmark, sphinx-rtd-theme, readthedocs-sphinx-ext Attempting uninstall: setuptools Found existing installation: setuptools 50.3.0 Uninstalling setuptools-50.3.0: Successfully uninstalled setuptools-50.3.0 Successfully installed Jinja2-2.11.2 MarkupSafe-1.1.1 Pygments-2.3.1 alabaster-0.7.12 babel-2.8.0 certifi-2020.6.20 chardet-3.0.4 commonmark-0.8.1 docutils-0.14 future-0.18.2 idna-2.10 imagesize-1.2.0 mock-1.0.1 packaging-20.4 pillow-5.4.1 pyparsing-2.4.7 pytz-2020.1 readthedocs-sphinx-ext-1.0.4 recommonmark-0.5.0 requests-2.24.0 setuptools-41.0.1 six-1.15.0 snowballstemmer-2.0.0 sphinx-1.8.5 sphinx-rtd-theme-0.4.3 sphinxcontrib-serializinghtml-1.1.4 sphinxcontrib-websupport-1.2.4 urllib3-1.25.10 [rtd-command-info] start-time: 2020-09-10T16:45:09.938937Z, end-time: 2020-09-10T16:45:10.792315Z, duration: 0, exit-code: 0 python -m pip install --exists-action=w --no-cache-dir -r doc/requirements.txt Collecting numpydoc Downloading numpydoc-1.1.0-py3-none-any.whl (47 kB) Requirement already satisfied: Jinja2>=2.3 in /home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages (from numpydoc->-r doc/requirements.txt (line 1)) (2.11.2) Requirement already satisfied: sphinx>=1.6.5 in /home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages (from numpydoc->-r doc/requirements.txt (line 1)) (1.8.5) Requirement already satisfied: MarkupSafe>=0.23 in /home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages (from Jinja2>=2.3->numpydoc->-r doc/requirements.txt (line 1)) (1.1.1) Requirement already satisfied: Pygments>=2.0 in /home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages (from sphinx>=1.6.5->numpydoc->-r doc/requirements.txt (line 1)) (2.3.1) Requirement already satisfied: six>=1.5 in /home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages (from sphinx>=1.6.5->numpydoc->-r doc/requirements.txt (line 1)) (1.15.0) Requirement already satisfied: docutils>=0.11 in /home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages (from sphinx>=1.6.5->numpydoc->-r doc/requirements.txt (line 1)) (0.14) Requirement already satisfied: packaging in /home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages (from sphinx>=1.6.5->numpydoc->-r doc/requirements.txt (line 1)) (20.4) Requirement already satisfied: sphinxcontrib-websupport in /home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages (from sphinx>=1.6.5->numpydoc->-r doc/requirements.txt (line 1)) (1.2.4) Requirement already satisfied: setuptools in /home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages (from sphinx>=1.6.5->numpydoc->-r doc/requirements.txt (line 1)) (41.0.1) Requirement already satisfied: imagesize in /home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages (from sphinx>=1.6.5->numpydoc->-r doc/requirements.txt (line 1)) (1.2.0) Requirement already satisfied: babel!=2.0,>=1.3 in /home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages (from sphinx>=1.6.5->numpydoc->-r doc/requirements.txt (line 1)) (2.8.0) Requirement already satisfied: alabaster<0.8,>=0.7 in /home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages (from sphinx>=1.6.5->numpydoc->-r doc/requirements.txt (line 1)) (0.7.12) Requirement already satisfied: snowballstemmer>=1.1 in /home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages (from sphinx>=1.6.5->numpydoc->-r doc/requirements.txt (line 1)) (2.0.0) Requirement already satisfied: requests>=2.0.0 in /home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages (from sphinx>=1.6.5->numpydoc->-r doc/requirements.txt (line 1)) (2.24.0) Requirement already satisfied: pyparsing>=2.0.2 in /home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages (from packaging->sphinx>=1.6.5->numpydoc->-r doc/requirements.txt (line 1)) (2.4.7) Requirement already satisfied: sphinxcontrib-serializinghtml in /home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages (from sphinxcontrib-websupport->sphinx>=1.6.5->numpydoc->-r doc/requirements.txt (line 1)) (1.1.4) Requirement already satisfied: pytz>=2015.7 in /home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages (from babel!=2.0,>=1.3->sphinx>=1.6.5->numpydoc->-r doc/requirements.txt (line 1)) (2020.1) Requirement already satisfied: certifi>=2017.4.17 in /home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages (from requests>=2.0.0->sphinx>=1.6.5->numpydoc->-r doc/requirements.txt (line 1)) (2020.6.20) Requirement already satisfied: chardet<4,>=3.0.2 in /home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages (from requests>=2.0.0->sphinx>=1.6.5->numpydoc->-r doc/requirements.txt (line 1)) (3.0.4) Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages (from requests>=2.0.0->sphinx>=1.6.5->numpydoc->-r doc/requirements.txt (line 1)) (1.25.10) Requirement already satisfied: idna<3,>=2.5 in /home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages (from requests>=2.0.0->sphinx>=1.6.5->numpydoc->-r doc/requirements.txt (line 1)) (2.10) Installing collected packages: numpydoc Successfully installed numpydoc-1.1.0 [rtd-command-info] start-time: 2020-09-10T16:45:14.083943Z, end-time: 2020-09-10T16:45:14.157318Z, duration: 0, exit-code: 0 cat doc/conf.py # Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full # list see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html # -- Path setup -------------------------------------------------------------- # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. import os import sys sys.path.insert(0, os.path.abspath("../")) sys.path.insert(0, os.path.abspath("./")) # to import custom Sphinx extension # -- Project information ----------------------------------------------------- project = "pyOptSparse" copyright = "2020, MDO Lab" # The full version, including alpha/beta/rc tags # release = 'version' # -- General configuration --------------------------------------------------- # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = [ "sphinx.ext.autodoc", "sphinx.ext.intersphinx", "sphinx.ext.viewcode", "numpydoc", "sphinx.ext.autosummary", "sphinx.ext.mathjax", "ext.optimizertable", ] numpydoc_show_class_members = False # tell autodoc to document the __init__ methods autoclass_content = "both" # Add any paths that contain templates here, relative to this directory. templates_path = ["_templates"] # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. # This pattern also affects html_static_path and html_extra_path. exclude_patterns = ["_build"] # The master toctree document. master_doc = "index" # -- Options for HTML output ------------------------------------------------- # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. html_theme = "sphinx_rtd_theme" # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ["_static"] ########################################################################### # auto-created readthedocs.org specific configuration # ########################################################################### # # The following code was added during an automated build on readthedocs.org # It is auto created and injected for every build. The result is based on the # conf.py.tmpl file found in the readthedocs.org codebase: # https://github.com/rtfd/readthedocs.org/blob/master/readthedocs/doc_builder/templates/doc_builder/conf.py.tmpl # import importlib import sys import os.path from six import string_types from sphinx import version_info # Get suffix for proper linking to GitHub # This is deprecated in Sphinx 1.3+, # as each page can have its own suffix if globals().get('source_suffix', False): if isinstance(source_suffix, string_types): SUFFIX = source_suffix elif isinstance(source_suffix, (list, tuple)): # Sphinx >= 1.3 supports list/tuple to define multiple suffixes SUFFIX = source_suffix[0] elif isinstance(source_suffix, dict): # Sphinx >= 1.8 supports a mapping dictionary for multiple suffixes SUFFIX = list(source_suffix.keys())[0] # make a ``list()`` for py2/py3 compatibility else: # default to .rst SUFFIX = '.rst' else: SUFFIX = '.rst' # Add RTD Static Path. Add to the end because it overwrites previous files. if not 'html_static_path' in globals(): html_static_path = [] if os.path.exists('_static'): html_static_path.append('_static') # Add RTD Theme only if they aren't overriding it already using_rtd_theme = ( ( 'html_theme' in globals() and html_theme in ['default'] and # Allow people to bail with a hack of having an html_style 'html_style' not in globals() ) or 'html_theme' not in globals() ) if using_rtd_theme: theme = importlib.import_module('sphinx_rtd_theme') html_theme = 'sphinx_rtd_theme' html_style = None html_theme_options = {} if 'html_theme_path' in globals(): html_theme_path.append(theme.get_html_theme_path()) else: html_theme_path = [theme.get_html_theme_path()] if globals().get('websupport2_base_url', False): websupport2_base_url = 'https://readthedocs.com/websupport' websupport2_static_url = 'https://assets.readthedocs.com/' #Add project information to the template context. context = { 'using_theme': using_rtd_theme, 'html_theme': html_theme, 'current_version': "latest", 'version_slug': "latest", 'MEDIA_URL': "https://media.readthedocs.com/media/", 'STATIC_URL': "https://assets.readthedocs.com/", 'PRODUCTION_DOMAIN': "readthedocs.com", 'versions': [ ("latest", "/en/latest/"), ("stable", "/en/stable/"), ("v2.1.0", "/en/v2.1.0/"), ], 'downloads': [ ("pdf", "//mdolab-pyoptsparse.readthedocs-hosted.com/_/downloads/en/latest/pdf/"), ("html", "//mdolab-pyoptsparse.readthedocs-hosted.com/_/downloads/en/latest/htmlzip/"), ("epub", "//mdolab-pyoptsparse.readthedocs-hosted.com/_/downloads/en/latest/epub/"), ], 'subprojects': [ ], 'slug': 'mdolab-pyoptsparse', 'name': u'pyoptsparse', 'rtd_language': u'en', 'programming_language': u'words', 'canonical_url': 'https://mdolab-pyoptsparse.readthedocs-hosted.com/en/latest/', 'analytics_code': 'None', 'single_version': False, 'conf_py_path': '/doc/', 'api_host': 'https://readthedocs.com', 'github_user': 'mdolab', 'proxied_api_host': '/_', 'github_repo': 'pyoptsparse', 'github_version': 'master', 'display_github': True, 'bitbucket_user': 'None', 'bitbucket_repo': 'None', 'bitbucket_version': 'master', 'display_bitbucket': False, 'gitlab_user': 'None', 'gitlab_repo': 'None', 'gitlab_version': 'master', 'display_gitlab': False, 'READTHEDOCS': True, 'using_theme': (html_theme == "default"), 'new_theme': (html_theme == "sphinx_rtd_theme"), 'source_suffix': SUFFIX, 'ad_free': False, 'docsearch_disabled': False, 'user_analytics_code': '', 'global_analytics_code': 'UA-17997319-2', 'commit': 'a8875321', } if 'html_context' in globals(): html_context.update(context) else: html_context = context # Add custom RTD extension if 'extensions' in globals(): # Insert at the beginning because it can interfere # with other extensions. # See https://github.com/rtfd/readthedocs.org/pull/4054 extensions.insert(0, "readthedocs_ext.readthedocs") else: extensions = ["readthedocs_ext.readthedocs"] # Add External version warning banner to the external version documentation if 'branch' == 'external': extensions.insert(1, "readthedocs_ext.external_version_warning") project_language = 'en' # User's Sphinx configurations language_user = globals().get('language', None) latex_engine_user = globals().get('latex_engine', None) latex_elements_user = globals().get('latex_elements', None) # Remove this once xindy gets installed in Docker image and XINDYOPS # env variable is supported # https://github.com/rtfd/readthedocs-docker-images/pull/98 latex_use_xindy = False chinese = any([ language_user in ('zh_CN', 'zh_TW'), project_language in ('zh_CN', 'zh_TW'), ]) japanese = any([ language_user == 'ja', project_language == 'ja', ]) if chinese: latex_engine = latex_engine_user or 'xelatex' latex_elements_rtd = { 'preamble': '\\usepackage[UTF8]{ctex}\n', } latex_elements = latex_elements_user or latex_elements_rtd elif japanese: latex_engine = latex_engine_user or 'platex' # Make sure our build directory is always excluded exclude_patterns = globals().get('exclude_patterns', []) exclude_patterns.extend(['_build']) [rtd-command-info] start-time: 2020-09-10T16:45:14.351623Z, end-time: 2020-09-10T16:45:15.124107Z, duration: 0, exit-code: 2 python sphinx-build -T -b readthedocs -d _build/doctrees-readthedocs -D language=en . _build/html Running Sphinx v1.8.5 loading translations [en]... done making output directory... building [mo]: targets for 0 po files that are out of date building [readthedocs]: targets for 26 source files that are out of date updating environment: 26 added, 0 changed, 0 removed reading sources... [ 3%] api/constraint reading sources... [ 7%] api/gradient reading sources... [ 11%] api/history reading sources... [ 15%] api/objective reading sources... [ 19%] api/optimization reading sources... [ 23%] api/optimizer reading sources... [ 26%] api/solution reading sources... [ 30%] api/utils reading sources... [ 34%] api/variable reading sources... [ 38%] changes reading sources... [ 42%] contribute reading sources... [ 46%] guide reading sources... [ 50%] index reading sources... [ 53%] install reading sources... [ 57%] license reading sources... [ 61%] optimizers/pyalpso WARNING: autodoc: failed to import class 'pyOpt_constraint.Constraint' from module 'pyoptsparse'; the following exception was raised: No module named 'numpy' WARNING: autodoc: failed to import class 'pyOpt_gradient.Gradient' from module 'pyoptsparse'; the following exception was raised: No module named 'numpy' WARNING: autodoc: failed to import class 'pyOpt_history.History' from module 'pyoptsparse'; the following exception was raised: No module named 'numpy' WARNING: autodoc: failed to import class 'pyOpt_objective.Objective' from module 'pyoptsparse'; the following exception was raised: No module named 'numpy' WARNING: autodoc: failed to import class 'pyOpt_optimization.Optimization' from module 'pyoptsparse'; the following exception was raised: No module named 'numpy' WARNING: autodoc: failed to import class 'pyOpt_optimizer.Optimizer' from module 'pyoptsparse'; the following exception was raised: No module named 'numpy' WARNING: autodoc: failed to import function 'pyOpt_optimizer.OPT' from module 'pyoptsparse'; the following exception was raised: No module named 'numpy' WARNING: autodoc: failed to import class 'pyOpt_solution.Solution' from module 'pyoptsparse'; the following exception was raised: No module named 'numpy' WARNING: autodoc: failed to import module 'pyOpt_utils' from module 'pyoptsparse'; the following exception was raised: No module named 'numpy' WARNING: autodoc: failed to import class 'pyOpt_variable.Variable' from module 'pyoptsparse'; the following exception was raised: No module named 'numpy' Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages/sphinx/cmd/build.py", line 304, in build_main app.build(args.force_all, filenames) File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages/sphinx/application.py", line 341, in build self.builder.build_update() File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 347, in build_update len(to_build)) File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 360, in build updated_docnames = set(self.read()) File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 468, in read self._read_serial(docnames) File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 490, in _read_serial self.read_doc(docname) File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 534, in read_doc doctree = read_doc(self.app, self.env, self.env.doc2path(docname)) File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages/sphinx/io.py", line 318, in read_doc pub.publish() File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages/docutils/core.py", line 217, in publish self.settings) File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages/docutils/readers/__init__.py", line 72, in read self.parse() File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages/docutils/readers/__init__.py", line 78, in parse self.parser.parse(self.input, document) File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages/sphinx/parsers.py", line 88, in parse self.statemachine.run(inputstring, document, inliner=self.inliner) File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages/docutils/parsers/rst/states.py", line 171, in run input_source=document['source']) File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages/docutils/statemachine.py", line 239, in run context, state, transitions) File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages/docutils/statemachine.py", line 460, in check_line return method(match, context, next_state) File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages/docutils/parsers/rst/states.py", line 2753, in underline self.section(title, source, style, lineno - 1, messages) File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages/docutils/parsers/rst/states.py", line 327, in section self.new_subsection(title, lineno, messages) File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages/docutils/parsers/rst/states.py", line 395, in new_subsection node=section_node, match_titles=True) File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages/docutils/parsers/rst/states.py", line 282, in nested_parse node=node, match_titles=match_titles) File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages/docutils/parsers/rst/states.py", line 196, in run results = StateMachineWS.run(self, input_lines, input_offset) File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages/docutils/statemachine.py", line 239, in run context, state, transitions) File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages/docutils/statemachine.py", line 460, in check_line return method(match, context, next_state) File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages/docutils/parsers/rst/states.py", line 2753, in underline self.section(title, source, style, lineno - 1, messages) File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages/docutils/parsers/rst/states.py", line 327, in section self.new_subsection(title, lineno, messages) File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages/docutils/parsers/rst/states.py", line 395, in new_subsection node=section_node, match_titles=True) File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages/docutils/parsers/rst/states.py", line 282, in nested_parse node=node, match_titles=match_titles) File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages/docutils/parsers/rst/states.py", line 196, in run results = StateMachineWS.run(self, input_lines, input_offset) File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages/docutils/statemachine.py", line 239, in run context, state, transitions) File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages/docutils/statemachine.py", line 460, in check_line return method(match, context, next_state) File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages/docutils/parsers/rst/states.py", line 2326, in explicit_markup nodelist, blank_finish = self.explicit_construct(match) File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages/docutils/parsers/rst/states.py", line 2338, in explicit_construct return method(self, expmatch) File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages/docutils/parsers/rst/states.py", line 2081, in directive directive_class, match, type_name, option_presets) File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/site-packages/docutils/parsers/rst/states.py", line 2130, in run_directive result = directive_instance.run() File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/checkouts/latest/doc/ext/optimizertable.py", line 57, in run class_name = getattr(import_module(module_path), member_name) File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/envs/latest/lib/python3.7/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1006, in _gcd_import File "", line 983, in _find_and_load File "", line 953, in _find_and_load_unlocked File "", line 219, in _call_with_frames_removed File "", line 1006, in _gcd_import File "", line 983, in _find_and_load File "", line 953, in _find_and_load_unlocked File "", line 219, in _call_with_frames_removed File "", line 1006, in _gcd_import File "", line 983, in _find_and_load File "", line 967, in _find_and_load_unlocked File "", line 677, in _load_unlocked File "", line 728, in exec_module File "", line 219, in _call_with_frames_removed File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/checkouts/latest/pyoptsparse/__init__.py", line 3, in from .pyOpt_history import History File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/checkouts/latest/pyoptsparse/pyOpt_history.py", line 7, in import numpy as np ModuleNotFoundError: No module named 'numpy' Exception occurred: File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-pyoptsparse/checkouts/latest/pyoptsparse/pyOpt_history.py", line 7, in import numpy as np ModuleNotFoundError: No module named 'numpy' The full traceback has been saved in /tmp/sphinx-err-lmjmgqh1.log, if you want to report the issue to the developers. Please also report this if it was a user error, so that a better error message can be provided next time. A bug report can be filed in the tracker at . Thanks!