-
Notifications
You must be signed in to change notification settings - Fork 62
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
0.5.6: pep517 build fails because missing bower #248
Comments
Have you run |
Usually I'm installing all dependencies out of my rpm packages .. owever in this case I've ested that command and .. [tkloczko@pers-jacek nbclassic-0.5.6]$ pip install -e .
Defaulting to user installation because normal site-packages is not writeable
Obtaining file:///home/tkloczko/rpmbuild/BUILD/nbclassic-0.5.6
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: jinja2 in /usr/lib/python3.8/site-packages (from nbclassic==0.5.6) (3.1.2)
Requirement already satisfied: tornado>=6.1 in /usr/lib64/python3.8/site-packages (from nbclassic==0.5.6) (6.2)
Requirement already satisfied: pyzmq>=17 in /usr/lib64/python3.8/site-packages (from nbclassic==0.5.6) (24.0.1)
Requirement already satisfied: argon2-cffi in /usr/lib/python3.8/site-packages (from nbclassic==0.5.6) (21.3.0)
Requirement already satisfied: traitlets>=4.2.1 in /usr/lib/python3.8/site-packages (from nbclassic==0.5.6) (5.9.0)
Requirement already satisfied: jupyter-core>=4.6.1 in /usr/lib/python3.8/site-packages (from nbclassic==0.5.6) (5.3.0)
Requirement already satisfied: jupyter-client>=6.1.1 in /usr/lib/python3.8/site-packages (from nbclassic==0.5.6) (8.2.0)
Requirement already satisfied: ipython-genutils in /usr/lib/python3.8/site-packages (from nbclassic==0.5.6) (0.2.0)
Requirement already satisfied: jupyter-server>=1.8 in /usr/lib/python3.8/site-packages (from nbclassic==0.5.6) (2.5.0)
Requirement already satisfied: nbformat in /usr/lib/python3.8/site-packages (from nbclassic==0.5.6) (5.8.0)
Requirement already satisfied: notebook-shim>=0.2.3 in /usr/lib/python3.8/site-packages (from nbclassic==0.5.6) (0.2.3)
Requirement already satisfied: nbconvert>=5 in /usr/lib/python3.8/site-packages (from nbclassic==0.5.6) (7.3.1)
Requirement already satisfied: nest-asyncio>=1.5 in /usr/lib/python3.8/site-packages (from nbclassic==0.5.6) (1.5.6)
Requirement already satisfied: ipykernel in /usr/lib/python3.8/site-packages (from nbclassic==0.5.6) (6.22.0)
Requirement already satisfied: Send2Trash>=1.8.0 in /usr/lib/python3.8/site-packages (from nbclassic==0.5.6) (1.8.0)
Requirement already satisfied: terminado>=0.8.3 in /usr/lib/python3.8/site-packages (from nbclassic==0.5.6) (0.17.1)
Requirement already satisfied: prometheus-client in /usr/lib/python3.8/site-packages (from nbclassic==0.5.6) (0.16.0)
Requirement already satisfied: importlib-metadata>=4.8.3 in /usr/lib/python3.8/site-packages (from jupyter-client>=6.1.1->nbclassic==0.5.6) (6.6.0)
Requirement already satisfied: python-dateutil>=2.8.2 in /usr/lib/python3.8/site-packages (from jupyter-client>=6.1.1->nbclassic==0.5.6) (2.8.2)
Requirement already satisfied: platformdirs>=2.5 in /usr/lib/python3.8/site-packages (from jupyter-core>=4.6.1->nbclassic==0.5.6) (3.1.1)
Requirement already satisfied: anyio>=3.1.0 in /usr/lib/python3.8/site-packages (from jupyter-server>=1.8->nbclassic==0.5.6) (3.6.2)
Requirement already satisfied: jupyter-events>=0.4.0 in /usr/lib/python3.8/site-packages (from jupyter-server>=1.8->nbclassic==0.5.6) (0.6.3)
Requirement already satisfied: jupyter-server-terminals in /usr/lib/python3.8/site-packages (from jupyter-server>=1.8->nbclassic==0.5.6) (0.4.4)
Requirement already satisfied: packaging in /usr/lib/python3.8/site-packages (from jupyter-server>=1.8->nbclassic==0.5.6) (23.1)
Requirement already satisfied: websocket-client in /usr/lib/python3.8/site-packages (from jupyter-server>=1.8->nbclassic==0.5.6) (1.5.1)
Requirement already satisfied: beautifulsoup4 in /usr/lib/python3.8/site-packages (from nbconvert>=5->nbclassic==0.5.6) (4.12.2)
Requirement already satisfied: bleach in /usr/lib/python3.8/site-packages (from nbconvert>=5->nbclassic==0.5.6) (6.0.0)
Requirement already satisfied: defusedxml in /usr/lib/python3.8/site-packages (from nbconvert>=5->nbclassic==0.5.6) (0.7.1)
Requirement already satisfied: jupyterlab-pygments in /usr/lib/python3.8/site-packages (from nbconvert>=5->nbclassic==0.5.6) (0.1.2)
Requirement already satisfied: markupsafe>=2.0 in /usr/lib64/python3.8/site-packages (from nbconvert>=5->nbclassic==0.5.6) (2.1.2)
Requirement already satisfied: mistune<3,>=2.0.3 in /usr/lib/python3.8/site-packages (from nbconvert>=5->nbclassic==0.5.6) (2.0.5)
Requirement already satisfied: nbclient>=0.5.0 in /usr/lib/python3.8/site-packages (from nbconvert>=5->nbclassic==0.5.6) (0.7.4)
Requirement already satisfied: pandocfilters>=1.4.1 in /usr/lib/python3.8/site-packages (from nbconvert>=5->nbclassic==0.5.6) (1.5.0)
Requirement already satisfied: pygments>=2.4.1 in /usr/lib/python3.8/site-packages (from nbconvert>=5->nbclassic==0.5.6) (2.15.1)
Requirement already satisfied: tinycss2 in /usr/lib/python3.8/site-packages (from nbconvert>=5->nbclassic==0.5.6) (1.2.1)
Requirement already satisfied: fastjsonschema in /usr/lib/python3.8/site-packages (from nbformat->nbclassic==0.5.6) (2.16.3)
Requirement already satisfied: jsonschema>=2.6 in /usr/lib/python3.8/site-packages (from nbformat->nbclassic==0.5.6) (4.17.3)
Requirement already satisfied: ptyprocess in /usr/lib/python3.8/site-packages (from terminado>=0.8.3->nbclassic==0.5.6) (0.7.0)
Requirement already satisfied: argon2-cffi-bindings in /usr/lib64/python3.8/site-packages (from argon2-cffi->nbclassic==0.5.6) (21.2.0)
Requirement already satisfied: comm>=0.1.1 in /usr/lib/python3.8/site-packages (from ipykernel->nbclassic==0.5.6) (0.1.2)
Requirement already satisfied: debugpy>=1.6.5 in /usr/lib64/python3.8/site-packages (from ipykernel->nbclassic==0.5.6) (1.6.7)
Requirement already satisfied: ipython>=7.23.1 in /usr/lib/python3.8/site-packages (from ipykernel->nbclassic==0.5.6) (8.12.0)
Requirement already satisfied: matplotlib-inline>=0.1 in /usr/lib/python3.8/site-packages (from ipykernel->nbclassic==0.5.6) (0.1.6)
Requirement already satisfied: psutil in /usr/lib64/python3.8/site-packages (from ipykernel->nbclassic==0.5.6) (5.9.2)
Requirement already satisfied: idna>=2.8 in /usr/lib/python3.8/site-packages (from anyio>=3.1.0->jupyter-server>=1.8->nbclassic==0.5.6) (3.4)
Requirement already satisfied: sniffio>=1.1 in /usr/lib/python3.8/site-packages (from anyio>=3.1.0->jupyter-server>=1.8->nbclassic==0.5.6) (1.2.0)
Requirement already satisfied: zipp>=0.5 in /usr/lib/python3.8/site-packages (from importlib-metadata>=4.8.3->jupyter-client>=6.1.1->nbclassic==0.5.6) (3.15.0)
Requirement already satisfied: backcall in /usr/lib/python3.8/site-packages (from ipython>=7.23.1->ipykernel->nbclassic==0.5.6) (0.2.0)
Requirement already satisfied: decorator in /usr/lib/python3.8/site-packages (from ipython>=7.23.1->ipykernel->nbclassic==0.5.6) (5.1.1)
Requirement already satisfied: jedi>=0.16 in /usr/lib/python3.8/site-packages (from ipython>=7.23.1->ipykernel->nbclassic==0.5.6) (0.18.2)
Requirement already satisfied: pickleshare in /usr/lib/python3.8/site-packages (from ipython>=7.23.1->ipykernel->nbclassic==0.5.6) (0.7.5)
Requirement already satisfied: prompt-toolkit!=3.0.37,<3.1.0,>=3.0.30 in /usr/lib/python3.8/site-packages (from ipython>=7.23.1->ipykernel->nbclassic==0.5.6) (3.0.38)
Requirement already satisfied: stack-data in /usr/lib/python3.8/site-packages (from ipython>=7.23.1->ipykernel->nbclassic==0.5.6) (0.6.2)
Requirement already satisfied: typing-extensions in /usr/lib/python3.8/site-packages (from ipython>=7.23.1->ipykernel->nbclassic==0.5.6) (4.5.0)
Requirement already satisfied: pexpect>4.3 in /usr/lib/python3.8/site-packages (from ipython>=7.23.1->ipykernel->nbclassic==0.5.6) (4.8.0)
Requirement already satisfied: attrs>=17.4.0 in /usr/lib/python3.8/site-packages (from jsonschema>=2.6->nbformat->nbclassic==0.5.6) (23.1.0)
Requirement already satisfied: importlib-resources>=1.4.0 in /usr/lib/python3.8/site-packages (from jsonschema>=2.6->nbformat->nbclassic==0.5.6) (5.12.0)
Requirement already satisfied: pkgutil-resolve-name>=1.3.10 in /usr/lib/python3.8/site-packages (from jsonschema>=2.6->nbformat->nbclassic==0.5.6) (1.3.10)
Requirement already satisfied: pyrsistent>=0.17.2 in /usr/lib64/python3.8/site-packages (from jsonschema>=2.6->nbformat->nbclassic==0.5.6) (0.19.3)
Requirement already satisfied: python-json-logger>=2.0.4 in /usr/lib/python3.8/site-packages (from jupyter-events>=0.4.0->jupyter-server>=1.8->nbclassic==0.5.6) (2.0.7)
Requirement already satisfied: pyyaml>=5.3 in /usr/lib64/python3.8/site-packages (from jupyter-events>=0.4.0->jupyter-server>=1.8->nbclassic==0.5.6) (6.0)
Requirement already satisfied: rfc3339-validator in /usr/lib/python3.8/site-packages (from jupyter-events>=0.4.0->jupyter-server>=1.8->nbclassic==0.5.6) (0.1.4)
Requirement already satisfied: rfc3986-validator>=0.1.1 in /usr/lib/python3.8/site-packages (from jupyter-events>=0.4.0->jupyter-server>=1.8->nbclassic==0.5.6) (0.1.1)
Requirement already satisfied: six>=1.5 in /usr/lib/python3.8/site-packages (from python-dateutil>=2.8.2->jupyter-client>=6.1.1->nbclassic==0.5.6) (1.16.0)
Requirement already satisfied: cffi>=1.0.1 in /usr/lib64/python3.8/site-packages (from argon2-cffi-bindings->argon2-cffi->nbclassic==0.5.6) (1.15.1)
Requirement already satisfied: soupsieve>1.2 in /usr/lib/python3.8/site-packages (from beautifulsoup4->nbconvert>=5->nbclassic==0.5.6) (2.4.1)
Requirement already satisfied: webencodings in /usr/lib/python3.8/site-packages (from bleach->nbconvert>=5->nbclassic==0.5.6) (0.5.1)
Requirement already satisfied: pycparser in /usr/lib/python3.8/site-packages (from cffi>=1.0.1->argon2-cffi-bindings->argon2-cffi->nbclassic==0.5.6) (2.21)
Requirement already satisfied: parso<0.9.0,>=0.8.0 in /usr/lib/python3.8/site-packages (from jedi>=0.16->ipython>=7.23.1->ipykernel->nbclassic==0.5.6) (0.8.3)
Requirement already satisfied: fqdn in /usr/lib/python3.8/site-packages (from jsonschema>=2.6->nbformat->nbclassic==0.5.6) (1.5.1)
Requirement already satisfied: isoduration in /usr/lib/python3.8/site-packages (from jsonschema>=2.6->nbformat->nbclassic==0.5.6) (20.11.0)
Requirement already satisfied: jsonpointer>1.13 in /usr/lib/python3.8/site-packages (from jsonschema>=2.6->nbformat->nbclassic==0.5.6) (2.2)
Requirement already satisfied: uri-template in /usr/lib/python3.8/site-packages (from jsonschema>=2.6->nbformat->nbclassic==0.5.6) (1.2.0)
Requirement already satisfied: webcolors>=1.11 in /usr/lib/python3.8/site-packages (from jsonschema>=2.6->nbformat->nbclassic==0.5.6) (1.13)
Requirement already satisfied: wcwidth in /usr/lib/python3.8/site-packages (from prompt-toolkit!=3.0.37,<3.1.0,>=3.0.30->ipython>=7.23.1->ipykernel->nbclassic==0.5.6) (0.2.6)
Requirement already satisfied: executing>=1.2.0 in /usr/lib/python3.8/site-packages (from stack-data->ipython>=7.23.1->ipykernel->nbclassic==0.5.6) (1.2.0)
Requirement already satisfied: asttokens>=2.1.0 in /usr/lib/python3.8/site-packages (from stack-data->ipython>=7.23.1->ipykernel->nbclassic==0.5.6) (2.2.1)
Requirement already satisfied: pure-eval in /usr/lib/python3.8/site-packages (from stack-data->ipython>=7.23.1->ipykernel->nbclassic==0.5.6) (0.2.2)
Requirement already satisfied: arrow>=0.15.0 in /usr/lib/python3.8/site-packages (from isoduration->jsonschema>=2.6->nbformat->nbclassic==0.5.6) (1.2.3)
Requirement already satisfied: ply==3.11 in /usr/lib/python3.8/site-packages (from pycparser->cffi>=1.0.1->argon2-cffi-bindings->argon2-cffi->nbclassic==0.5.6) (3.11)
Installing collected packages: nbclassic
Running setup.py develop for nbclassic
error: subprocess-exited-with-error
× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [40 lines of output]
running develop
/tmp/pip-build-env-wp5v507b/overlay/lib/python3.8/site-packages/setuptools/command/develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` and ``easy_install``.
Instead, use pypa/build, pypa/installer, pypa/build or
other standards-based tools.
See https://github.com/pypa/setuptools/issues/917 for details.
********************************************************************************
!!
easy_install.initialize_options(self)
WARNING: The user site-packages directory is disabled.
Checking .pth file support in /home/tkloczko/.local/lib/python3.8/site-packages
/usr/bin/python3 -E -c pass
TEST PASSED: /home/tkloczko/.local/lib/python3.8/site-packages appears to support .pth files
running jsversion
running js
running jsdeps
> bower install --allow-root --config.interactive=false
/tmp/pip-build-env-wp5v507b/overlay/lib/python3.8/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer, pypa/build or
other standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
npm unavailable
Failed to run bower: [Errno 2] No such file or directory: 'bower'
You can install js dependencies with `npm install`
rebuilding js and css failed. The following required files are missing: ['nbclassic/static/components', 'nbclassic/static/notebook/js/main.min.js', 'nbclassic/static/tree/js/main.min.js', 'nbclassic/static/edit/js/main.min.js', 'nbclassic/static/terminal/js/main.min.js', 'nbclassic/static/auth/js/main.min.js', 'nbclassic/static/style/ipython.min.css', 'nbclassic/static/style/style.min.css']
error: [Errno 2] No such file or directory: 'bower'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [40 lines of output]
running develop
/tmp/pip-build-env-wp5v507b/overlay/lib/python3.8/site-packages/setuptools/command/develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` and ``easy_install``.
Instead, use pypa/build, pypa/installer, pypa/build or
other standards-based tools.
See https://github.com/pypa/setuptools/issues/917 for details.
********************************************************************************
!!
easy_install.initialize_options(self)
WARNING: The user site-packages directory is disabled.
Checking .pth file support in /home/tkloczko/.local/lib/python3.8/site-packages
/usr/bin/python3 -E -c pass
TEST PASSED: /home/tkloczko/.local/lib/python3.8/site-packages appears to support .pth files
running jsversion
running js
running jsdeps
> bower install --allow-root --config.interactive=false
/tmp/pip-build-env-wp5v507b/overlay/lib/python3.8/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer, pypa/build or
other standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
npm unavailable
Failed to run bower: [Errno 2] No such file or directory: 'bower'
You can install js dependencies with `npm install`
rebuilding js and css failed. The following required files are missing: ['nbclassic/static/components', 'nbclassic/static/notebook/js/main.min.js', 'nbclassic/static/tree/js/main.min.js', 'nbclassic/static/edit/js/main.min.js', 'nbclassic/static/terminal/js/main.min.js', 'nbclassic/static/auth/js/main.min.js', 'nbclassic/static/style/ipython.min.css', 'nbclassic/static/style/style.min.css']
error: [Errno 2] No such file or directory: 'bower'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. |
Looks like that |
bower should not be needed in your env as the build system is taking care of making it available for you. I have just tested on my env which does not have bower and it works fine. Maybe @RRosio or @ericsnekbytes can confirm that? |
Did you try to use pep517 build based procedure? ( |
Just tried your command and it is failing with other errors, but this is expected. Using the |
PEP documents are describing some python standards https://peps.python.org/pep-0517/. |
|
[tkloczko@pers-jacek nbclassic-0.5.6]$ pip install --use-pep517 -e .
Defaulting to user installation because normal site-packages is not writeable
Obtaining file:///home/tkloczko/rpmbuild/BUILD/nbclassic-0.5.6
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: jinja2 in /usr/lib/python3.8/site-packages (from nbclassic==0.5.6) (3.1.2)
Requirement already satisfied: tornado>=6.1 in /usr/lib64/python3.8/site-packages (from nbclassic==0.5.6) (6.2)
Requirement already satisfied: pyzmq>=17 in /usr/lib64/python3.8/site-packages (from nbclassic==0.5.6) (24.0.1)
Requirement already satisfied: argon2-cffi in /usr/lib/python3.8/site-packages (from nbclassic==0.5.6) (21.3.0)
Requirement already satisfied: traitlets>=4.2.1 in /usr/lib/python3.8/site-packages (from nbclassic==0.5.6) (5.9.0)
Requirement already satisfied: jupyter-core>=4.6.1 in /usr/lib/python3.8/site-packages (from nbclassic==0.5.6) (5.3.0)
Requirement already satisfied: jupyter-client>=6.1.1 in /usr/lib/python3.8/site-packages (from nbclassic==0.5.6) (8.2.0)
Collecting ipython-genutils (from nbclassic==0.5.6)
Using cached ipython_genutils-0.2.0-py2.py3-none-any.whl (26 kB)
Requirement already satisfied: jupyter-server>=1.8 in /usr/lib/python3.8/site-packages (from nbclassic==0.5.6) (2.5.0)
Requirement already satisfied: nbformat in /usr/lib/python3.8/site-packages (from nbclassic==0.5.6) (5.8.0)
Requirement already satisfied: notebook-shim>=0.2.3 in /usr/lib/python3.8/site-packages (from nbclassic==0.5.6) (0.2.3)
Requirement already satisfied: nbconvert>=5 in /usr/lib/python3.8/site-packages (from nbclassic==0.5.6) (7.3.1)
Collecting nest-asyncio>=1.5 (from nbclassic==0.5.6)
Using cached nest_asyncio-1.5.6-py3-none-any.whl (5.2 kB)
Collecting ipykernel (from nbclassic==0.5.6)
Using cached ipykernel-6.22.0-py3-none-any.whl (149 kB)
Requirement already satisfied: Send2Trash>=1.8.0 in /usr/lib/python3.8/site-packages (from nbclassic==0.5.6) (1.8.2)
Requirement already satisfied: terminado>=0.8.3 in /usr/lib/python3.8/site-packages (from nbclassic==0.5.6) (0.17.1)
Requirement already satisfied: prometheus-client in /usr/lib/python3.8/site-packages (from nbclassic==0.5.6) (0.16.0)
Requirement already satisfied: importlib-metadata>=4.8.3 in /usr/lib/python3.8/site-packages (from jupyter-client>=6.1.1->nbclassic==0.5.6) (6.6.0)
Requirement already satisfied: python-dateutil>=2.8.2 in /usr/lib/python3.8/site-packages (from jupyter-client>=6.1.1->nbclassic==0.5.6) (2.8.2)
Requirement already satisfied: platformdirs>=2.5 in /usr/lib/python3.8/site-packages (from jupyter-core>=4.6.1->nbclassic==0.5.6) (3.1.1)
Requirement already satisfied: anyio>=3.1.0 in /usr/lib/python3.8/site-packages (from jupyter-server>=1.8->nbclassic==0.5.6) (3.6.2)
Requirement already satisfied: jupyter-events>=0.4.0 in /usr/lib/python3.8/site-packages (from jupyter-server>=1.8->nbclassic==0.5.6) (0.6.3)
Requirement already satisfied: jupyter-server-terminals in /usr/lib/python3.8/site-packages (from jupyter-server>=1.8->nbclassic==0.5.6) (0.4.4)
Requirement already satisfied: packaging in /usr/lib/python3.8/site-packages (from jupyter-server>=1.8->nbclassic==0.5.6) (23.1)
Requirement already satisfied: websocket-client in /usr/lib/python3.8/site-packages (from jupyter-server>=1.8->nbclassic==0.5.6) (1.5.1)
Requirement already satisfied: beautifulsoup4 in /usr/lib/python3.8/site-packages (from nbconvert>=5->nbclassic==0.5.6) (4.12.2)
Requirement already satisfied: bleach in /usr/lib/python3.8/site-packages (from nbconvert>=5->nbclassic==0.5.6) (6.0.0)
Requirement already satisfied: defusedxml in /usr/lib/python3.8/site-packages (from nbconvert>=5->nbclassic==0.5.6) (0.7.1)
Requirement already satisfied: jupyterlab-pygments in /usr/lib/python3.8/site-packages (from nbconvert>=5->nbclassic==0.5.6) (0.1.2)
Requirement already satisfied: markupsafe>=2.0 in /usr/lib64/python3.8/site-packages (from nbconvert>=5->nbclassic==0.5.6) (2.1.2)
Requirement already satisfied: mistune<3,>=2.0.3 in /usr/lib/python3.8/site-packages (from nbconvert>=5->nbclassic==0.5.6) (2.0.5)
Requirement already satisfied: nbclient>=0.5.0 in /usr/lib/python3.8/site-packages (from nbconvert>=5->nbclassic==0.5.6) (0.7.4)
Requirement already satisfied: pandocfilters>=1.4.1 in /usr/lib/python3.8/site-packages (from nbconvert>=5->nbclassic==0.5.6) (1.5.0)
Requirement already satisfied: pygments>=2.4.1 in /usr/lib/python3.8/site-packages (from nbconvert>=5->nbclassic==0.5.6) (2.15.1)
Requirement already satisfied: tinycss2 in /usr/lib/python3.8/site-packages (from nbconvert>=5->nbclassic==0.5.6) (1.2.1)
Requirement already satisfied: fastjsonschema in /usr/lib/python3.8/site-packages (from nbformat->nbclassic==0.5.6) (2.16.3)
Requirement already satisfied: jsonschema>=2.6 in /usr/lib/python3.8/site-packages (from nbformat->nbclassic==0.5.6) (4.17.3)
Requirement already satisfied: ptyprocess in /usr/lib/python3.8/site-packages (from terminado>=0.8.3->nbclassic==0.5.6) (0.7.0)
Requirement already satisfied: argon2-cffi-bindings in /usr/lib64/python3.8/site-packages (from argon2-cffi->nbclassic==0.5.6) (21.2.0)
Collecting comm>=0.1.1 (from ipykernel->nbclassic==0.5.6)
Using cached comm-0.1.3-py3-none-any.whl (6.6 kB)
Requirement already satisfied: debugpy>=1.6.5 in /usr/lib64/python3.8/site-packages (from ipykernel->nbclassic==0.5.6) (1.6.7)
Requirement already satisfied: ipython>=7.23.1 in /usr/lib/python3.8/site-packages (from ipykernel->nbclassic==0.5.6) (8.12.0)
Requirement already satisfied: matplotlib-inline>=0.1 in /usr/lib/python3.8/site-packages (from ipykernel->nbclassic==0.5.6) (0.1.6)
Requirement already satisfied: psutil in /usr/lib64/python3.8/site-packages (from ipykernel->nbclassic==0.5.6) (5.9.2)
Requirement already satisfied: idna>=2.8 in /usr/lib/python3.8/site-packages (from anyio>=3.1.0->jupyter-server>=1.8->nbclassic==0.5.6) (3.4)
Requirement already satisfied: sniffio>=1.1 in /usr/lib/python3.8/site-packages (from anyio>=3.1.0->jupyter-server>=1.8->nbclassic==0.5.6) (1.2.0)
Requirement already satisfied: zipp>=0.5 in /usr/lib/python3.8/site-packages (from importlib-metadata>=4.8.3->jupyter-client>=6.1.1->nbclassic==0.5.6) (3.15.0)
Requirement already satisfied: backcall in /usr/lib/python3.8/site-packages (from ipython>=7.23.1->ipykernel->nbclassic==0.5.6) (0.2.0)
Requirement already satisfied: decorator in /usr/lib/python3.8/site-packages (from ipython>=7.23.1->ipykernel->nbclassic==0.5.6) (5.1.1)
Requirement already satisfied: jedi>=0.16 in /usr/lib/python3.8/site-packages (from ipython>=7.23.1->ipykernel->nbclassic==0.5.6) (0.18.2)
Requirement already satisfied: pickleshare in /usr/lib/python3.8/site-packages (from ipython>=7.23.1->ipykernel->nbclassic==0.5.6) (0.7.5)
Requirement already satisfied: prompt-toolkit!=3.0.37,<3.1.0,>=3.0.30 in /usr/lib/python3.8/site-packages (from ipython>=7.23.1->ipykernel->nbclassic==0.5.6) (3.0.38)
Requirement already satisfied: stack-data in /usr/lib/python3.8/site-packages (from ipython>=7.23.1->ipykernel->nbclassic==0.5.6) (0.6.2)
Requirement already satisfied: typing-extensions in /usr/lib/python3.8/site-packages (from ipython>=7.23.1->ipykernel->nbclassic==0.5.6) (4.5.0)
Requirement already satisfied: pexpect>4.3 in /usr/lib/python3.8/site-packages (from ipython>=7.23.1->ipykernel->nbclassic==0.5.6) (4.8.0)
Requirement already satisfied: attrs>=17.4.0 in /usr/lib/python3.8/site-packages (from jsonschema>=2.6->nbformat->nbclassic==0.5.6) (23.1.0)
Requirement already satisfied: importlib-resources>=1.4.0 in /usr/lib/python3.8/site-packages (from jsonschema>=2.6->nbformat->nbclassic==0.5.6) (5.12.0)
Requirement already satisfied: pkgutil-resolve-name>=1.3.10 in /usr/lib/python3.8/site-packages (from jsonschema>=2.6->nbformat->nbclassic==0.5.6) (1.3.10)
Requirement already satisfied: pyrsistent>=0.17.2 in /usr/lib64/python3.8/site-packages (from jsonschema>=2.6->nbformat->nbclassic==0.5.6) (0.19.3)
Requirement already satisfied: python-json-logger>=2.0.4 in /usr/lib/python3.8/site-packages (from jupyter-events>=0.4.0->jupyter-server>=1.8->nbclassic==0.5.6) (2.0.7)
Requirement already satisfied: pyyaml>=5.3 in /usr/lib64/python3.8/site-packages (from jupyter-events>=0.4.0->jupyter-server>=1.8->nbclassic==0.5.6) (6.0)
Requirement already satisfied: rfc3339-validator in /usr/lib/python3.8/site-packages (from jupyter-events>=0.4.0->jupyter-server>=1.8->nbclassic==0.5.6) (0.1.4)
Requirement already satisfied: rfc3986-validator>=0.1.1 in /usr/lib/python3.8/site-packages (from jupyter-events>=0.4.0->jupyter-server>=1.8->nbclassic==0.5.6) (0.1.1)
Requirement already satisfied: six>=1.5 in /usr/lib/python3.8/site-packages (from python-dateutil>=2.8.2->jupyter-client>=6.1.1->nbclassic==0.5.6) (1.16.0)
Requirement already satisfied: cffi>=1.0.1 in /usr/lib64/python3.8/site-packages (from argon2-cffi-bindings->argon2-cffi->nbclassic==0.5.6) (1.15.1)
Requirement already satisfied: soupsieve>1.2 in /usr/lib/python3.8/site-packages (from beautifulsoup4->nbconvert>=5->nbclassic==0.5.6) (2.4.1)
Requirement already satisfied: webencodings in /usr/lib/python3.8/site-packages (from bleach->nbconvert>=5->nbclassic==0.5.6) (0.5.1)
Requirement already satisfied: pycparser in /usr/lib/python3.8/site-packages (from cffi>=1.0.1->argon2-cffi-bindings->argon2-cffi->nbclassic==0.5.6) (2.21)
Requirement already satisfied: parso<0.9.0,>=0.8.0 in /usr/lib/python3.8/site-packages (from jedi>=0.16->ipython>=7.23.1->ipykernel->nbclassic==0.5.6) (0.8.3)
Requirement already satisfied: fqdn in /usr/lib/python3.8/site-packages (from jsonschema>=2.6->nbformat->nbclassic==0.5.6) (1.5.1)
Requirement already satisfied: isoduration in /usr/lib/python3.8/site-packages (from jsonschema>=2.6->nbformat->nbclassic==0.5.6) (20.11.0)
Requirement already satisfied: jsonpointer>1.13 in /usr/lib/python3.8/site-packages (from jsonschema>=2.6->nbformat->nbclassic==0.5.6) (2.2)
Requirement already satisfied: uri-template in /usr/lib/python3.8/site-packages (from jsonschema>=2.6->nbformat->nbclassic==0.5.6) (1.2.0)
Requirement already satisfied: webcolors>=1.11 in /usr/lib/python3.8/site-packages (from jsonschema>=2.6->nbformat->nbclassic==0.5.6) (1.13)
Requirement already satisfied: wcwidth in /usr/lib/python3.8/site-packages (from prompt-toolkit!=3.0.37,<3.1.0,>=3.0.30->ipython>=7.23.1->ipykernel->nbclassic==0.5.6) (0.2.6)
Requirement already satisfied: executing>=1.2.0 in /usr/lib/python3.8/site-packages (from stack-data->ipython>=7.23.1->ipykernel->nbclassic==0.5.6) (1.2.0)
Requirement already satisfied: asttokens>=2.1.0 in /usr/lib/python3.8/site-packages (from stack-data->ipython>=7.23.1->ipykernel->nbclassic==0.5.6) (2.2.1)
Requirement already satisfied: pure-eval in /usr/lib/python3.8/site-packages (from stack-data->ipython>=7.23.1->ipykernel->nbclassic==0.5.6) (0.2.2)
Requirement already satisfied: arrow>=0.15.0 in /usr/lib/python3.8/site-packages (from isoduration->jsonschema>=2.6->nbformat->nbclassic==0.5.6) (1.2.3)
Requirement already satisfied: ply==3.11 in /usr/lib/python3.8/site-packages (from pycparser->cffi>=1.0.1->argon2-cffi-bindings->argon2-cffi->nbclassic==0.5.6) (3.11)
Installing collected packages: ipython-genutils, nest-asyncio, comm, ipykernel, nbclassic
Running setup.py develop for nbclassic
error: subprocess-exited-with-error
× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [40 lines of output]
running develop
/tmp/pip-build-env-clr54151/overlay/lib/python3.8/site-packages/setuptools/command/develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` and ``easy_install``.
Instead, use pypa/build, pypa/installer, pypa/build or
other standards-based tools.
See https://github.com/pypa/setuptools/issues/917 for details.
********************************************************************************
!!
easy_install.initialize_options(self)
WARNING: The user site-packages directory is disabled.
Checking .pth file support in /home/tkloczko/.local/lib/python3.8/site-packages
/usr/bin/python3 -E -c pass
TEST PASSED: /home/tkloczko/.local/lib/python3.8/site-packages appears to support .pth files
running jsversion
running js
running jsdeps
> bower install --allow-root --config.interactive=false
/tmp/pip-build-env-clr54151/overlay/lib/python3.8/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer, pypa/build or
other standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
npm unavailable
Failed to run bower: [Errno 2] No such file or directory: 'bower'
You can install js dependencies with `npm install`
rebuilding js and css failed. The following required files are missing: ['nbclassic/static/components', 'nbclassic/static/notebook/js/main.min.js', 'nbclassic/static/tree/js/main.min.js', 'nbclassic/static/edit/js/main.min.js', 'nbclassic/static/terminal/js/main.min.js', 'nbclassic/static/auth/js/main.min.js', 'nbclassic/static/style/ipython.min.css', 'nbclassic/static/style/style.min.css']
error: [Errno 2] No such file or directory: 'bower'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [40 lines of output]
running develop
/tmp/pip-build-env-clr54151/overlay/lib/python3.8/site-packages/setuptools/command/develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` and ``easy_install``.
Instead, use pypa/build, pypa/installer, pypa/build or
other standards-based tools.
See https://github.com/pypa/setuptools/issues/917 for details.
********************************************************************************
!!
easy_install.initialize_options(self)
WARNING: The user site-packages directory is disabled.
Checking .pth file support in /home/tkloczko/.local/lib/python3.8/site-packages
/usr/bin/python3 -E -c pass
TEST PASSED: /home/tkloczko/.local/lib/python3.8/site-packages appears to support .pth files
running jsversion
running js
running jsdeps
> bower install --allow-root --config.interactive=false
/tmp/pip-build-env-clr54151/overlay/lib/python3.8/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer, pypa/build or
other standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
npm unavailable
Failed to run bower: [Errno 2] No such file or directory: 'bower'
You can install js dependencies with `npm install`
rebuilding js and css failed. The following required files are missing: ['nbclassic/static/components', 'nbclassic/static/notebook/js/main.min.js', 'nbclassic/static/tree/js/main.min.js', 'nbclassic/static/edit/js/main.min.js', 'nbclassic/static/terminal/js/main.min.js', 'nbclassic/static/auth/js/main.min.js', 'nbclassic/static/style/ipython.min.css', 'nbclassic/static/style/style.min.css']
error: [Errno 2] No such file or directory: 'bower'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. May I ask you which one version of the setuptool you are using? [tkloczko@pers-jacek nbclassic-0.5.6]$ pip show setuptools
Name: setuptools
Version: 67.7.2
Summary: Easily download, build, install, upgrade, and uninstall Python packages
Home-page: https://github.com/pypa/setuptools
Author: Python Packaging Authority
Author-email: distutils-sig@python.org
License:
Location: /usr/lib/python3.8/site-packages
Requires:
Required-by: jupyter_packaging |
Please as well read again error message which is pointing directly on using deprecated build procedure. |
And do you have installed that bowler? |
I have not installed bower.
|
OK .. so which one version of the python you are using? |
3.11 |
pip 23.1.1 |
This is particularly interesting, I am thinking that since bower is a JS devDependency, maybe it is not being installed because npm is not available. Is Node installed? **Edit Partial Error LogRunning setup.py develop for nbclassic error: subprocess-exited-with-error |
Q: Does |
Closing. Only one more off topif thing. |
Nevertheless .. error message was a bit misleading and/or not pointing directly on missing npm 😋 |
I cannot find
bower
on pypi 🤔The text was updated successfully, but these errors were encountered: