Installation using poetry: frontend is not installed
See original GitHub issueDescription
After installing there is no “Git” icon in the left side panel.
Reproduce
With python version 3.6 (managed using pyenv), node 13.1.0, npm 6.12.1:
poetry init -n
poetry add jupyter jupyterlab jupyterlab-git
poetry shell
jupyter lab build
jupyter lab
- Visit the browser.
Expected behavior
I expect to see the Git icon in the left panel
Context
output of jupyter lab build
:
$ jupyter lab build
[LabBuildApp] JupyterLab 1.2.3
[LabBuildApp] Building in /Users/<user>/Library/Caches/pypoetry/virtualenvs/<virtualenv_name>/share/jupyter/lab
[LabBuildApp] Building jupyterlab assets (build:prod:minimize)
output of jupyter lab
:
$ jupyter lab
[I 14:23:08.833 LabApp] JupyterLab extension loaded from /Users/<user>/Library/Caches/pypoetry/virtualenvs/<virtualenv_name>/lib/python3.6/site-packages/jupyterlab
[I 14:23:08.833 LabApp] JupyterLab application directory is /Users/<user>/Library/Caches/pypoetry/virtualenvs/<virtualenv_name>/share/jupyter/lab
[I 14:23:09.191 LabApp] Serving notebooks from local directory: <cwd>
[I 14:23:09.191 LabApp] The Jupyter Notebook is running at:
[I 14:23:09.191 LabApp] http://localhost:8888/?token=<blahblah>
[I 14:23:09.191 LabApp] or http://127.0.0.1:8888/?token=<blahblah>
[I 14:23:09.191 LabApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 14:23:09.195 LabApp]
To access the notebook, open this file in a browser:
file:///Users/<user>/Library/Jupyter/runtime/nbserver-2059-open.html
Or copy and paste one of these URLs:
http://localhost:8888/?token=<blahblah>
or http://127.0.0.1:8888/?token=<blahblah>
[I 14:23:11.705 LabApp] Build is up to date
poetry.lock
: poetry.lock.txt
jupyter serverextension list
:
$ jupyter serverextension list
config dir: /Users/<user>/.jupyter
jupyterlab_git enabled
- Validating...
jupyterlab_git OK
config dir: /Users/<user>/Library/Caches/pypoetry/virtualenvs/<virtualenv_name>/etc/jupyter
jupyterlab enabled
- Validating...
jupyterlab 1.2.3 OK
nbdime enabled
- Validating...
nbdime 1.1.0 OK
jupyter labextension list
:
$ jupyter labextension list
JupyterLab v1.2.3
Known labextensions:
app dir: /Users/<user>Library/Caches/pypoetry/virtualenvs/<virtualenv_name>/share/jupyter/lab
nbdime-jupyterlab v1.0.0 enabled OK
browser is Firefox 70.0.1 on Mac 10.15.
browser console:
Starting application in workspace: "/lab/workspaces/auto-v" index.js:34:4
>>>
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:12 (7 by maintainers)
Top Results From Across the Web
Python package installation issues with Poetry - Medium
Try to install poetry via the official installer. Homebrew poetry installation can lead to various other dependency issues. Do not rely on poetry...
Read more >Dependency Management With Python Poetry
With the install command, Poetry checks your pyproject.toml file for dependencies then resolves and installs them. The resolving part is especially important ...
Read more >python - Poetry was not installed with the recommended ...
The error message suggests you've probably installed poetry with pip, which does not support automatic poetry updates.
Read more >Install and upgrade doccano
Backend; Frontend; How to create a Python package. Install ... To install doccano with pip, you need Python 3.8+. ... cd backend poetry...
Read more >poetry-dynamic-versioning - PyPI
pip install poetry-dynamic-versioning ... the plugin in the build-system section of pyproject.toml for interoperability with PEP 517 build frontends:
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thx Harry for investigating more. A new version of the package will soon be available with the lab extension shipped within it. Maybe this will at least solve the “classical” installation (i.e. not via github).
To investigate your theory I did an experiment:
poetry lock && poetry install
.jupyter lab build
However, the frontend element still did not appear. I tried to put Poetry into verbose mode but I still can’t find any logs. If I get a chance I’ll try another investigation.