I tried to update Python to 3.7 and I'm still running into a similar problem to the one described in issue #26.
jupyterlab-toc-0.3.1.tgz
Errored, use --debug for full output:
ValueError: No version of @jupyterlab/toc could be found that is compatible with the current version of JupyterLab. However, it seems to support a new version of JupyterLab. Consider upgrading JupyterLab.
Conflicting Dependencies:
JupyterLab Extension Package
>=0.16.3 <0.17.0 >=0.17.0 <0.18.0 @jupyterlab/application
>=0.16.4 <0.17.0 >=0.17.0 <0.18.0 @jupyterlab/apputils
>=1.1.3 <2.0.0 >=2.0.0 <3.0.0 @jupyterlab/coreutils
>=0.16.3 <0.17.0 >=0.17.0 <0.18.0 @jupyterlab/docmanager
>=0.16.3 <0.17.0 >=0.17.0 <0.18.0 @jupyterlab/fileeditor
>=0.16.3 <0.17.0 >=0.17.0 <0.18.0 @jupyterlab/notebook
>=0.16.3 <0.17.0 >=0.17.0 <0.18.0 @jupyterlab/rendermime
I don't understand how to read the table of conflicting dependencies.
Is that right? I don't think so, because my jupyterlab is 0.32.1, which is newer than all of the requirements listed in the table.
So, I'm confused and don't understand how to read this or how to debug it any further.
jupyter labextension install --debug @jupyterlab/toc
jupyter labextension install --debug @jupyterlab/toc
Searching ['/PHShome/ks38', '/PHShome/ks38/.jupyter', '/data/srlab/slowikow/src/miniconda2/envs/py37/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files
Looking for jupyter_config in /etc/jupyter
Looking for jupyter_config in /usr/local/etc/jupyter
Looking for jupyter_config in /data/srlab/slowikow/src/miniconda2/envs/py37/etc/jupyter
Looking for jupyter_config in /PHShome/ks38/.jupyter
Looking for jupyter_config in /PHShome/ks38
> /data/srlab/slowikow/src/miniconda2/envs/py37/bin/npm pack @jupyterlab/toc
npm notice
npm notice 📦 @jupyterlab/[email protected]
npm notice === Tarball Contents ===
npm notice 2.1kB package.json
npm notice 1.5kB LICENSE
npm notice 1.2kB README.md
npm notice 304B lib/extension.d.ts
npm notice 3.2kB lib/extension.js
npm notice 1.6kB lib/generators.d.ts
npm notice 12.4kB lib/generators.js
npm notice 81B lib/index.d.ts
npm notice 373B lib/index.js
npm notice 2.1kB lib/registry.d.ts
npm notice 1.3kB lib/registry.js
npm notice 3.2kB lib/toc.d.ts
npm notice 4.9kB lib/toc.js
npm notice 1.4kB style/index.css
npm notice === Tarball Details ===
npm notice name: @jupyterlab/toc
npm notice version: 0.3.1
npm notice filename: jupyterlab-toc-0.3.1.tgz
npm notice package size: 9.5 kB
npm notice unpacked size: 35.5 kB
npm notice shasum: 0e46f30a3f99174b3e460448968ecc2bc6501496
npm notice integrity: sha512-nWhBFajzgK5UM[...]EXQK0f7bwxxng==
npm notice total files: 14
npm notice
jupyterlab-toc-0.3.1.tgz
Fetching URL: https://registry.npmjs.org/@jupyterlab%2Ftoc
Fetching URL: https://registry.npmjs.org/@jupyterlab%2Ftoc
Traceback (most recent call last):
File "/data/srlab/slowikow/src/miniconda2/envs/py37/lib/python3.7/site-packages/jupyterlab/labextensions.py", line 71, in start
ans = self.run_task()
File "/data/srlab/slowikow/src/miniconda2/envs/py37/lib/python3.7/site-packages/jupyterlab/labextensions.py", line 100, in run_task
for arg in self.extra_args
File "/data/srlab/slowikow/src/miniconda2/envs/py37/lib/python3.7/site-packages/jupyterlab/labextensions.py", line 100, in <listcomp>
for arg in self.extra_args
File "/data/srlab/slowikow/src/miniconda2/envs/py37/lib/python3.7/site-packages/jupyterlab/commands.py", line 227, in install_extension
return handler.install_extension(extension)
File "/data/srlab/slowikow/src/miniconda2/envs/py37/lib/python3.7/site-packages/jupyterlab/commands.py", line 366, in install_extension
info = self._install_extension(extension, tempdir)
File "/data/srlab/slowikow/src/miniconda2/envs/py37/lib/python3.7/site-packages/jupyterlab/commands.py", line 1157, in _install_extension
raise ValueError(msg)
ValueError: No version of @jupyterlab/toc could be found that is compatible with the current version of JupyterLab. However, it seems to support a new version of JupyterLab. Consider upgrading JupyterLab.
Conflicting Dependencies:
JupyterLab Extension Package
>=0.16.3 <0.17.0 >=0.17.0 <0.18.0 @jupyterlab/application
>=0.16.4 <0.17.0 >=0.17.0 <0.18.0 @jupyterlab/apputils
>=1.1.3 <2.0.0 >=2.0.0 <3.0.0 @jupyterlab/coreutils
>=0.16.3 <0.17.0 >=0.17.0 <0.18.0 @jupyterlab/docmanager
>=0.16.3 <0.17.0 >=0.17.0 <0.18.0 @jupyterlab/fileeditor
>=0.16.3 <0.17.0 >=0.17.0 <0.18.0 @jupyterlab/notebook
>=0.16.3 <0.17.0 >=0.17.0 <0.18.0 @jupyterlab/rendermime
Errored, use --debug for full output:
ValueError: No version of @jupyterlab/toc could be found that is compatible with the current version of JupyterLab. However, it seems to support a new version of JupyterLab. Consider upgrading JupyterLab.
Conflicting Dependencies:
JupyterLab Extension Package
>=0.16.3 <0.17.0 >=0.17.0 <0.18.0 @jupyterlab/application
>=0.16.4 <0.17.0 >=0.17.0 <0.18.0 @jupyterlab/apputils
>=1.1.3 <2.0.0 >=2.0.0 <3.0.0 @jupyterlab/coreutils
>=0.16.3 <0.17.0 >=0.17.0 <0.18.0 @jupyterlab/docmanager
>=0.16.3 <0.17.0 >=0.17.0 <0.18.0 @jupyterlab/fileeditor
>=0.16.3 <0.17.0 >=0.17.0 <0.18.0 @jupyterlab/notebook
>=0.16.3 <0.17.0 >=0.17.0 <0.18.0 @jupyterlab/rendermime
Thanks for the great progress with this extension! I am loving the new features!
Perhaps this is already on the roadmap, but I noticed folding TOC entries in Markdown files (or their previews) is not currently implemented. This would be a great addition/ extension of the awesome work you guys have done with TOC entry folding for notebooks!
"[email protected]" is not compatible with the current JupyterLab
Conflicting Dependencies:
JupyterLab Extension Package
>=0.17.2 <0.18.0 >=0.16.0 <0.17.0 @jupyterlab/application
>=0.17.2 <0.18.0 >=0.16.2 <0.17.0 @jupyterlab/apputils
>=2.0.2 <3.0.0 >=1.0.0 <2.0.0 @jupyterlab/coreutils
>=0.17.2 <0.18.0 >=0.16.0 <0.17.0 @jupyterlab/docmanager
>=0.17.2 <0.18.0 >=0.16.0 <0.17.0 @jupyterlab/fileeditor
>=0.17.2 <0.18.0 >=0.16.0 <0.17.0 @jupyterlab/notebook
>=0.17.2 <0.18.0 >=0.16.0 <0.17.0 @jupyterlab/rendermime
Hi
Not sure:
can i install this extension for jupyterlab 0.33 and python 2.7 ?
That s only work for python3.6, isn t it
regards
Fabien
The following :
### foo
- bar
```python
# python code here
\```
--> just an arrow
(remove the last backslash) renders as :
0.0.1 foo
- python code here
1.1 ```
The problem seems to be coming from the first two dashes of the arrow.
Thumbs up for the new numbering feature !
I just noticed -- if you have an active cursor in a cell (in edit mode) when you click on a TOC entry:
- If it refers to a markdown cell, it jumps to the cell and makes the cell in edit mode as well.
- If the TOC entry is from a generated markdown header (as implemented in #15), it jumps to the code block that generated it, and not the place in the notebook with the header.
In case 1, I expect my active cursor to stay in the cell I was at (and just jump my view in the notebook to the markdown cell in question), or leave the active cell (no longer be in edit mode).
In case 2, I expect to jump to the specific place in the notebook with the generated markdown header being displayed, not the place in the code that generated it (if I have a long list of figures being made, delineated by markdown headers, I'd like to be able to just jump to my figure in question, not the top code block), with the same behavior for the cursor as case 1.
Thanks again for all the active development, and for the great plugin! I use it daily, and it is a real lifesaver!
goerz@mlhpc2:~> /home/goerz/.conda/envs/default/bin/jupyter labextension install jupyterlab-toc
PermissionError: [Errno 13] Permission denied: '/usr/local/anaconda/share/jupyter/lab/extensions'
Is there any way to install the extension in my home directory?
Thanks again for the continued progress! I've noticed a regression -- if a markdown cell in a notebook has more than one heading, for example:
# Level 1 heading
## Level 2 heading
# New level 1
Only the first Level 1 heading
shows up in the TOC. It used to be the case that all headings were there, but now, to get them to show up, I have to split these markdown cells (into 3, for this example) so each has the heading as the first line of the cell. It would be nice if we were able to have the previous behavior back where all headings within a cell are captured.
Hi,
As of today, it seems to me that simple-clicking and double-clicking have the same effect in the toc extension.
When trying the new expand/collapse header sections, I expected to be able to collapse/expand the header section when doublie-clicking - which today only takes me to that header.
Would it be possible to implement this double-click behavior ? It'd feel very intuitive IMO.
I know it is possible to collapse/expand sections when clicking the arrow, which is a nice feature, but I think double-clicking the header would be more convenient.
Hope this is clear !
First of all, thanks for your work in creating this extension! I very much would like to switch to JupyterLab, but I'm feeling somewhat held back by many of the extensions from https://github.com/ipython-contrib/jupyter_contrib_nbextensions not being ported yet.
This plugin goes a long way in re-creating the functionality of the "TOC2" plugin for the traditional notebook, and the core functionality already looks very solid. The one feature I really miss is the color highlights that TOC2 has to indicate "sections with selected elements", and "sections with running cells". Is there any chance to implement this in jupyterlab-toc
?
I really wish I could help on this with a pull-request, but sadly I don't really know anything about frontend development (anything js), so this may be a bit out of my reach.
This is what I see with jupyterlab 0.35.4, jupyterlab-toc 0.6.0, and Chrome 68.0.3440.75 (64bit Linux):
![image](https://user-images.githubusercontent.com/1510968/48578862-b3f74080-e8cf-11e8-9a71-6f65b1e1ca10.png)
Please let me know if you need any more info to reproduce.
Hi there when installing this extension I get the following error:
Conflicting Dependencies:
JupyterLab Extension Package
=1.0.0-alpha.3 <2.0.0 >=0.19.1 <0.20.0 @jupyterlab/application
=1.0.0-alpha.3 <2.0.0 >=0.19.1 <0.20.0 @jupyterlab/apputils
=1.0.0-alpha.3 <2.0.0 >=0.19.1 <0.20.0 @jupyterlab/docmanager
=1.0.0-alpha.3 <2.0.0 >=0.19.1 <0.20.0 @jupyterlab/fileeditor
=1.0.0-alpha.4 <2.0.0 >=0.19.1 <0.20.0 @jupyterlab/notebook
=1.0.0-alpha.3 <2.0.0 >=0.19.1 <0.20.0 @jupyterlab/rendermime
Steps to reproduce
$ jupyter-lab --version
1.0.0a1
$jupyter labextension install @jupyterlab/toc
Would you mind creating a new tag that's compatible with Jupyter1.0
I was able to download and install the dev version in the interim
Kind Regards,
Alexis.
I had to uninstall this for a minute since the most recent Conda packages clashed with toc's requirements a couple of weeks ago. I updated conda again today and thought I'd check to see if the dependencies had worked themselves out, but got this error message, instead.
Having taught Anaconda python over a couple years, this version seems persistently out of sync with Anaconda. Given that Anaconda is the most popular version of jupyterlab by an order of magnitude, it seems entirely unreasonable that there is no clear instructions on how to roll this amazing feature in.
I've tried reverting to previous versions and their dependencies are either too new or too old. It is very frustrating as teaching with jupyterlab is a very important use case. Simplified instructions would also be of great help to students. That being said, I understand the need for advanced development features, but I am surprised that this program constantly needs bleeding edge features that upgrade it outside of the major python market.
It is common to start a notebook with a title, like:
# My notebook title
Some information
## My first "real" title
> code
Here, I don't want the title of the notebook to be numbered.
An interesting feature of the ToC 2 extension was to skip the h1 headers in the automatic numbering.
Is it possible to do the same with jupyterlab-toc? If not, is it a feature that could be included in the road map?
Thank you.
Hi,
I installed JupyterLab and the first thing I tried to do is install your extension. But I am not able to do that due to the following errors.
npm notice
npm notice 📦 @jupyterlab/[email protected]
npm notice === Tarball Contents ===
npm notice 2.1kB package.json
npm notice 1.5kB LICENSE
npm notice 1.2kB README.md
npm notice 304B lib/extension.d.ts
npm notice 3.3kB lib/extension.js
npm notice 1.6kB lib/generators.d.ts
npm notice 12.4kB lib/generators.js
npm notice 81B lib/index.d.ts
npm notice 373B lib/index.js
npm notice 2.1kB lib/registry.d.ts
npm notice 1.3kB lib/registry.js
npm notice 3.2kB lib/toc.d.ts
npm notice 4.9kB lib/toc.js
npm notice 1.6kB style/index.css
npm notice 625B style/list-dark.svg
npm notice 625B style/list-light.svg
npm notice === Tarball Details ===
npm notice name: @jupyterlab/toc
npm notice version: 0.4.0
npm notice filename: jupyterlab-toc-0.4.0.tgz
npm notice package size: 9.9 kB
npm notice unpacked size: 37.1 kB
npm notice shasum: 197db58e4a9f8d5ca776800cd6b6c5eaf09adeae
npm notice integrity: sha512-6n2CWkkHvPePS[...]Cm1wY959ZU86Q==
npm notice total files: 16
npm notice
jupyterlab-toc-0.4.0.tgz
Errored, use --debug for full output:
ValueError:
"@jupyterlab/[email protected]" is not compatible with the current JupyterLab
Conflicting Dependencies:
JupyterLab Extension Package
>=0.15.4-0 <0.16.0-0 >=0.18.0-0 <0.19.0-0 @jupyterlab/application
>=0.15.4-0 <0.16.0-0 >=0.18.0-0 <0.19.0-0 @jupyterlab/apputils
>=1.0.6-0 <2.0.0-0 >=2.1.0-0 <3.0.0-0 @jupyterlab/coreutils
>=0.15.4-0 <0.16.0-0 >=0.18.0-0 <0.19.0-0 @jupyterlab/docmanager
>=0.15.4-0 <0.16.0-0 >=0.18.0-0 <0.19.0-0 @jupyterlab/fileeditor
>=0.15.4-0 <0.16.0-0 >=0.18.0-0 <0.19.0-0 @jupyterlab/notebook
>=0.15.4-0 <0.16.0-0 >=0.18.0-0 <0.19.0-0 @jupyterlab/rendermime
I am not sure if that is related to any recent update at JL
Thanks
I am trying to install the extension and I am getting an error:
(py36) [myserver ~]$ jupyter labextension install @jupyterlab/toc --debug
Searching ['/home/myuser', '/home/myuser/.jupyter', '/path/to/anaconda/envs/py36/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files
Looking for jupyter_config in /etc/jupyter
Looking for jupyter_config in /usr/local/etc/jupyter
Looking for jupyter_config in /path/to/anaconda/envs/py36/etc/jupyter
Looking for jupyter_config in /home/myuser/.jupyter
Looking for jupyter_config in /home/myuser
Traceback (most recent call last):
File "/path/to/anaconda/envs/py36/lib/python3.6/site-packages/jupyterlab/labextensions.py", line 77, in start
ans = self.run_task()
File "/path/to/anaconda/envs/py36/lib/python3.6/site-packages/jupyterlab/labextensions.py", line 106, in run_task
for arg in self.extra_args
File "/path/to/anaconda/envs/py36/lib/python3.6/site-packages/jupyterlab/labextensions.py", line 106, in <listcomp>
for arg in self.extra_args
File "/path/to/anaconda/envs/py36/lib/python3.6/site-packages/jupyterlab/commands.py", line 221, in install_extension
return handler.install_extension(extension)
File "/path/to/anaconda/envs/py36/lib/python3.6/site-packages/jupyterlab/commands.py", line 413, in install_extension
info = self._install_extension(extension, tempdir)
File "/path/to/anaconda/envs/py36/lib/python3.6/site-packages/jupyterlab/commands.py", line 1261, in _install_extension
info = self._extract_package(extension, tempdir)
File "/path/to/anaconda/envs/py36/lib/python3.6/site-packages/jupyterlab/commands.py", line 1329, in _extract_package
ret = self._run([which('npm'), 'pack', source], cwd=tempdir, quiet=quiet)
File "/path/to/anaconda/envs/py36/lib/python3.6/site-packages/jupyterlab_launcher/process.py", line 59, in which
raise ValueError(msg)
ValueError: Please install nodejs 5+ and npm before continuing installation. nodejs may be installed using conda or directly from the nodejs website.
Errored, use --debug for full output:
ValueError: Please install nodejs 5+ and npm before continuing installation. nodejs may be installed using conda or directly from the nodejs website.
I am not sure what the error is: I installed nodejs with conda:
conda list nodejs
# packages in environment at /path/to/anaconda/envs/py36:
#
# Name Version Build Channel
nodejs 9.11.1 0 conda-forge
Also, the correct version of node seems to be used:
(py36) [myserver ~]$ which node
/path/to/anaconda/envs/py36/bin/node
What am I doing wrong?
Though I haven't tested it in real life, from what I see in the source, I suspect that the headings are detected from the lines beginning by #. In such case, only the first line in
![capture du 2018-03-14 18-29-35](https://user-images.githubusercontent.com/7596356/37420684-a69611ac-27b7-11e8-9543-73a892f50f55.png)
will be used in the toc, despite the orther forms should. Perhaps use the jquery .find(:header)
for rendered cells to get the info.
Here is a debug output
sudo jupyter labextension install @jupyterlab/toc --debug
Searching ['/home/malte', '/root/.jupyter', '/usr/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files
Looking for jupyter_config in /etc/jupyter
Looking for jupyter_config in /usr/local/etc/jupyter
Looking for jupyter_config in /usr/etc/jupyter
Looking for jupyter_config in /root/.jupyter
Looking for jupyter_config in /home/malte
Node v11.8.0
> /usr/bin/npm pack @jupyterlab/toc
npm notice
npm notice 📦 @jupyterlab/[email protected]
npm notice === Tarball Contents ===
npm notice 2.1kB package.json
npm notice 1.5kB LICENSE
npm notice 1.2kB README.md
npm notice 304B lib/extension.d.ts
npm notice 3.3kB lib/extension.js
npm notice 111B lib/generators/index.d.ts
npm notice 403B lib/generators/index.js
npm notice 474B lib/generators/latexgenerator.d.ts
npm notice 2.4kB lib/generators/latexgenerator.js
npm notice 1.0kB lib/generators/markdowndocgenerator/index.d.ts
npm notice 8.1kB lib/generators/markdowndocgenerator/index.js
npm notice 280B lib/generators/markdowndocgenerator/itemrenderer.d.ts
npm notice 1.0kB lib/generators/markdowndocgenerator/itemrenderer.js
npm notice 549B lib/generators/markdowndocgenerator/optionsmanager.d.ts
npm notice 930B lib/generators/markdowndocgenerator/optionsmanager.js
npm notice 1.1kB lib/generators/markdowndocgenerator/toolbargenerator.d.ts
npm notice 1.7kB lib/generators/markdowndocgenerator/toolbargenerator.js
npm notice 546B lib/generators/notebookgenerator/codemirror.d.ts
npm notice 938B lib/generators/notebookgenerator/codemirror.js
npm notice 300B lib/generators/notebookgenerator/heading.d.ts
npm notice 180B lib/generators/notebookgenerator/heading.js
npm notice 549B lib/generators/notebookgenerator/index.d.ts
npm notice 21.9kB lib/generators/notebookgenerator/index.js
npm notice 278B lib/generators/notebookgenerator/itemrenderer.d.ts
npm notice 5.0kB lib/generators/notebookgenerator/itemrenderer.js
npm notice 1.0kB lib/generators/notebookgenerator/optionsmanager.d.ts
npm notice 2.6kB lib/generators/notebookgenerator/optionsmanager.js
npm notice 941B lib/generators/notebookgenerator/tagstool/index.d.ts
npm notice 4.7kB lib/generators/notebookgenerator/tagstool/index.js
npm notice 348B lib/generators/notebookgenerator/tagstool/tag.d.ts
npm notice 632B lib/generators/notebookgenerator/tagstool/tag.js
npm notice 574B lib/generators/notebookgenerator/tagstool/tagslist.d.ts
npm notice 2.1kB lib/generators/notebookgenerator/tagstool/tagslist.js
npm notice 1.6kB lib/generators/notebookgenerator/toolbargenerator.d.ts
npm notice 7.4kB lib/generators/notebookgenerator/toolbargenerator.js
npm notice 1.1kB lib/generators/shared.d.ts
npm notice 2.6kB lib/generators/shared.js
npm notice 81B lib/index.d.ts
npm notice 373B lib/index.js
npm notice 2.8kB lib/registry.d.ts
npm notice 1.8kB lib/registry.js
npm notice 3.6kB lib/toc.d.ts
npm notice 5.5kB lib/toc.js
npm notice 559B style/img/autonumbering_darktheme.svg
npm notice 343B style/img/autonumbering.svg
npm notice 264B style/img/check.svg
npm notice 320B style/img/code_darktheme.svg
npm notice 305B style/img/code.svg
npm notice 669B style/img/eyeball_hidden.svg
npm notice 619B style/img/eyeball_hover.svg
npm notice 617B style/img/eyeball_view.svg
npm notice 357B style/img/markdown_darktheme.svg
npm notice 363B style/img/markdown.svg
npm notice 264B style/img/menu_arrow.svg
npm notice 523B style/img/numbering.svg
npm notice 762B style/img/tag_darktheme.svg
npm notice 1.2kB style/img/tag.svg
npm notice 202B style/img/toggle_down_darktheme.svg
npm notice 181B style/img/toggle_down.svg
npm notice 189B style/img/toggle_right_darktheme.svg
npm notice 187B style/img/toggle_right.svg
npm notice 9.0kB style/index.css
npm notice 625B style/list-dark.svg
npm notice 625B style/list-light.svg
npm notice === Tarball Details ===
npm notice name: @jupyterlab/toc
npm notice version: 0.6.0
npm notice filename: jupyterlab-toc-0.6.0.tgz
npm notice package size: 24.5 kB
npm notice unpacked size: 114.2 kB
npm notice shasum: 393fe861404fa351ece7c4e326a4ddbd2076a39d
npm notice integrity: sha512-ATlfAY3MhtUvM[...]Sy+NpN6U+RRWw==
npm notice total files: 64
npm notice
jupyterlab-toc-0.6.0.tgz
Node v11.8.0
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/jupyterlab/labextensions.py", line 81, in start
logger=self.log, command=command)
File "/usr/lib/python3.7/site-packages/jupyterlab/commands.py", line 274, in build
command=command, clean_staging=clean_staging)
File "/usr/lib/python3.7/site-packages/jupyterlab/commands.py", line 446, in build
clean=clean_staging
File "/usr/lib/python3.7/site-packages/jupyterlab/commands.py", line 871, in _populate_staging
shutil.copy(pjoin(HERE, 'staging', fname), target)
File "/usr/lib/python3.7/shutil.py", line 245, in copy
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/usr/lib/python3.7/shutil.py", line 104, in copyfile
raise SameFileError("{!r} and {!r} are the same file".format(src, dst))
shutil.SameFileError: '/usr/lib/python3.7/site-packages/jupyterlab/staging/index.js' and '/usr/lib/python3.7/site-packages/jupyterlab/staging/index.js' are the same file
Errored, use --debug for full output:
shutil.SameFileError: '/usr/lib/python3.7/site-packages/jupyterlab/staging/index.js' and '/usr/lib/python3.7/site-packages/jupyterlab/staging/index.js' are the same file
I guess it has something to do with the way I installed jupyter lab, because I use the pacman package manager of arch linux instead of pip. Thats also why I try to install the extension system wide.
Is there any way of getting around this by, e.g. forcing the installer to ignore this?
I mean from what I understand of the message, the installation is failing because a file that it needs is already there, so why is this failing anyways?
First off, thank you for a great extension! Very useful to help organize long documents. One area that this doesn't touch, however, is if one code-block outputs a lot of figures, tables, etc, and we would like to break it up into chunks. This can be done with IPython.display.Markdown
(as seen in this link), but the toc extension is not currently capturing these headings.
So, a feature request: Capture Headings displayed with IPython.display.Markdown
as well, so you can quickly jump to a particular part of a code-block's output.
Thanks again!
This extension is great! Just wanted to suggest a feature: instead of going blank when editing a Python file, it could show a skeleton of the code with the class/method lines.
Recommend Projects
-
-
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
An Open Source Machine Learning Framework for Everyone
-
The Web framework for perfectionists with deadlines.
-
A PHP framework for web artisans
-
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
Some thing interesting about web. New door for the world.
-
A server is a program made to process requests and deliver data to clients.
-
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Some thing interesting about visualization, use data art
-
Some thing interesting about game, make everyone happy.
-
Recommend Org
-
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Open source projects and samples from Microsoft.
-
Google ❤️ Open Source for everyone.
-
Alibaba Open Source for everyone
-
Data-Driven Documents codes.
-
China tencent open source team.
-