mkdocs-jupyter
mkdocs-jupyter copied to clipboard
Mkdocs doesn't lauch with mkdocs plugin
Mkdocs is inside a docker container. Everything works with multiple plugins, only crash when I try to add mkdocs-jupyter plugin. Any idea?
mkdocs | Installing python modules: fontawesome-markdown mkdocs-git-revision-date-localized-plugin mkdocs-material mkdocs-table-reader-plugin mkdocs-video mkdocs-jupyter
mkdocs | error: subprocess-exited-with-error
mkdocs |
mkdocs | × Building wheel for psutil (pyproject.toml) did not run successfully.
mkdocs | │ exit code: 1
mkdocs | ╰─> [63 lines of output]
mkdocs | /tmp/tmpus0op2ms.c:1:10: fatal error: linux/ethtool.h: No such file or directory
mkdocs | 1 | #include
mkdocs | | ^~~~~~~~~~~~~~~~~
mkdocs | compilation terminated.
mkdocs | /tmp/pip-build-env-6yz13lse/overlay/lib/python3.11/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
mkdocs | !!
mkdocs |
mkdocs | ********************************************************************************
mkdocs | Please consider removing the following classifiers in favor of a SPDX license expression:
mkdocs |
mkdocs | License :: OSI Approved :: BSD License
mkdocs |
mkdocs | See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
mkdocs | ********************************************************************************
mkdocs |
mkdocs | !!
mkdocs | self._finalize_license_expression()
mkdocs | running bdist_wheel
mkdocs | running build
mkdocs | running build_py
mkdocs | creating build/lib.linux-x86_64-cpython-311/psutil
mkdocs | copying psutil/_psosx.py -> build/lib.linux-x86_64-cpython-311/psutil
mkdocs | copying psutil/_pssunos.py -> build/lib.linux-x86_64-cpython-311/psutil
mkdocs | copying psutil/_psposix.py -> build/lib.linux-x86_64-cpython-311/psutil
mkdocs | copying psutil/_pswindows.py -> build/lib.linux-x86_64-cpython-311/psutil
mkdocs | copying psutil/_common.py -> build/lib.linux-x86_64-cpython-311/psutil
mkdocs | copying psutil/_psbsd.py -> build/lib.linux-x86_64-cpython-311/psutil
mkdocs | copying psutil/_psaix.py -> build/lib.linux-x86_64-cpython-311/psutil
mkdocs | copying psutil/_pslinux.py -> build/lib.linux-x86_64-cpython-311/psutil
mkdocs | copying psutil/__init__.py -> build/lib.linux-x86_64-cpython-311/psutil
mkdocs | creating build/lib.linux-x86_64-cpython-311/psutil/tests
mkdocs | copying psutil/tests/test_process.py -> build/lib.linux-x86_64-cpython-311/psutil/tests
mkdocs | copying psutil/tests/test_bsd.py -> build/lib.linux-x86_64-cpython-311/psutil/tests
mkdocs | copying psutil/tests/test_unicode.py -> build/lib.linux-x86_64-cpython-311/psutil/tests
mkdocs | copying psutil/tests/test_sunos.py -> build/lib.linux-x86_64-cpython-311/psutil/tests
mkdocs | copying psutil/tests/test_linux.py -> build/lib.linux-x86_64-cpython-311/psutil/tests
mkdocs | copying psutil/tests/test_memleaks.py -> build/lib.linux-x86_64-cpython-311/psutil/tests
mkdocs | copying psutil/tests/test_testutils.py -> build/lib.linux-x86_64-cpython-311/psutil/tests
mkdocs | copying psutil/tests/test_windows.py -> build/lib.linux-x86_64-cpython-311/psutil/tests
mkdocs | copying psutil/tests/test_scripts.py -> build/lib.linux-x86_64-cpython-311/psutil/tests
mkdocs | copying psutil/tests/test_process_all.py -> build/lib.linux-x86_64-cpython-311/psutil/tests
mkdocs | copying psutil/tests/test_aix.py -> build/lib.linux-x86_64-cpython-311/psutil/tests
mkdocs | copying psutil/tests/__main__.py -> build/lib.linux-x86_64-cpython-311/psutil/tests
mkdocs | copying psutil/tests/test_system.py -> build/lib.linux-x86_64-cpython-311/psutil/tests
mkdocs | copying psutil/tests/test_posix.py -> build/lib.linux-x86_64-cpython-311/psutil/tests
mkdocs | copying psutil/tests/test_contracts.py -> build/lib.linux-x86_64-cpython-311/psutil/tests
mkdocs | copying psutil/tests/test_osx.py -> build/lib.linux-x86_64-cpython-311/psutil/tests
mkdocs | copying psutil/tests/test_connections.py -> build/lib.linux-x86_64-cpython-311/psutil/tests
mkdocs | copying psutil/tests/test_misc.py -> build/lib.linux-x86_64-cpython-311/psutil/tests
mkdocs | copying psutil/tests/__init__.py -> build/lib.linux-x86_64-cpython-311/psutil/tests
mkdocs | running build_ext
mkdocs | building 'psutil._psutil_linux' extension
mkdocs | creating build/temp.linux-x86_64-cpython-311/psutil
mkdocs | creating build/temp.linux-x86_64-cpython-311/psutil/arch/linux
mkdocs | gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=700 -DPy_LIMITED_API=0x03060000 -DPSUTIL_ETHTOOL_MISSING_TYPES=1 -DPSUTIL_LINUX=1 -I/usr/include/python3.11 -c psutil/_psutil_common.c -o build/temp.linux-x86_64-cpython-311/psutil/_psutil_common.o
mkdocs | gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=700 -DPy_LIMITED_API=0x03060000 -DPSUTIL_ETHTOOL_MISSING_TYPES=1 -DPSUTIL_LINUX=1 -I/usr/include/python3.11 -c psutil/_psutil_linux.c -o build/temp.linux-x86_64-cpython-311/psutil/_psutil_linux.o
mkdocs | psutil/_psutil_linux.c:13:10: fatal error: linux/ethtool.h: No such file or directory
mkdocs | 13 | #include // DUPLEX_*
mkdocs | | ^~~~~~~~~~~~~~~~~
mkdocs | compilation terminated.
mkdocs | psutil could not be installed from sources. Perhaps Python header files are not installed. Try running:
mkdocs | sudo apk add gcc p3-dev musl-dev linux-headers
mkdocs | error: command '/usr/bin/gcc' failed with exit code 1
mkdocs | [end of output]
mkdocs |
mkdocs | note: This error originates from a subprocess, and is likely not a problem with pip.
mkdocs | ERROR: Failed building wheel for psutil
mkdocs | ERROR: Could not build wheels for psutil, which is required to install pyproject.toml-based projects
mkdocs |
mkdocs | [notice] A new release of pip is available: 23.2.1 -> 25.1
mkdocs | [notice] To update, run: pip install --upgrade pip
mkdocs | Modules installed.
mkdocs | Detected previous installation in (/mkdocs).
mkdocs | Starting MKDocs
mkdocs | LIVE RELOAD - [ ENABLED ]
mkdocs | FAST_MODE - [ ENABLED ]
mkdocs | Error: MkDocs encountered an error parsing the configuration file: while constructing a Python object
mkdocs | cannot find module 'material.extensions.emoji' (No module named 'material')
mkdocs | in "/mkdocs/mkdocs.yml", line 68, column 20
mkdocs | Installing python modules: fontawesome-markdown mkdocs-git-revision-date-localized-plugin mkdocs-material mkdocs-table-reader-plugin mkdocs-video mkdocs-jupyter
mkdocs | error: subprocess-exited-with-error
mkdocs |
mkdocs | × Building wheel for psutil (pyproject.toml) did not run successfully.
mkdocs | │ exit code: 1
mkdocs | ╰─> [63 lines of output]
mkdocs | /tmp/tmp_t3xj7g1.c:1:10: fatal error: linux/ethtool.h: No such file or directory
mkdocs | 1 | #include
mkdocs | | ^~~~~~~~~~~~~~~~~
mkdocs | compilation terminated.
mkdocs | /tmp/pip-build-env-i26lfvb6/overlay/lib/python3.11/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
mkdocs | !!
mkdocs |
mkdocs | ********************************************************************************
mkdocs | Please consider removing the following classifiers in favor of a SPDX license expression:
mkdocs |
mkdocs | License :: OSI Approved :: BSD License
mkdocs |
mkdocs | See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.