Giter Club home page Giter Club logo

jupyterlab's People

Contributors

djherbis avatar etefera avatar peijenlin avatar rosbo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jupyterlab's Issues

ValueError: "@kaggle/jupyterlab" is not a valid npm package

Hi,

I found your extension through this article: https://www.kaggle.com/product-feedback/117903.

By launching jupyter labextension install @kaggle/jupyterlab, I was not able to install this jupyterlab extension, I get the error: ValueError: "@kaggle/jupyterlab" is not a valid npm package.

This was the full error log:

Node v10.13.0

Yarn configuration loaded.
> C:\Users\sander.vandenhautte\Anaconda3\envs\kaggle-dsc\npm.CMD pack @kaggle/jupyterlab
npm ERR! code E404
npm ERR! 404 Not Found: @kaggle/jupyterlab@latest

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\sander.vandenhautte\AppData\Roaming\npm-cache\_logs\2021-03-01T14_08_27_964Z-debug.log

Traceback (most recent call last):

  File "C:\Users\sander.vandenhautte\Anaconda3\lib\site-packages\jupyterlab\debuglog.py", line 47, in debug_logging
    yield

  File "C:\Users\sander.vandenhautte\Anaconda3\lib\site-packages\jupyterlab\labextensions.py", line 93, in start
    ans = self.run_task()

  File "C:\Users\sander.vandenhautte\Anaconda3\lib\site-packages\jupyterlab\labextensions.py", line 138, in run_task
    return any([

  File "C:\Users\sander.vandenhautte\Anaconda3\lib\site-packages\jupyterlab\labextensions.py", line 139, in <listcomp>
    install_extension(

  File "C:\Users\sander.vandenhautte\Anaconda3\lib\site-packages\jupyterlab\commands.py", line 388, in install_extension
    return handler.install_extension(extension, pin=pin)

  File "C:\Users\sander.vandenhautte\Anaconda3\lib\site-packages\jupyterlab\commands.py", line 603, in install_extension
    info = self._install_extension(extension, tempdir, pin=pin)

  File "C:\Users\sander.vandenhautte\Anaconda3\lib\site-packages\jupyterlab\commands.py", line 1499, in _install_extension
    info = self._extract_package(extension, tempdir, pin=pin)

  File "C:\Users\sander.vandenhautte\Anaconda3\lib\site-packages\jupyterlab\commands.py", line 1578, in _extract_package
    raise ValueError(msg % source)

ValueError: "@kaggle/jupyterlab" is not a valid npm package

Exiting application: jupyter

I saw that the above nodejs version was rather low though, so I deinstalled it and installed nodejs from the conda-forge channel, but then again got the same error.
Full log of that:

Node v15.10.0

Yarn configuration loaded.
> C:\Users\sander.vandenhautte\Anaconda3\envs\kaggle-dsc\npm.CMD pack @kaggle/jupyterlab
npm notice 
npm notice New minor version of npm available! 7.5.3 -> 7.6.0
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v7.6.0>
npm notice Run `npm install -g [email protected]` to update!
npm notice 
npm notice 
npm notice New minor version of npm available! 7.5.3 -> 7.6.0
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v7.6.0>
npm notice Run `npm install -g [email protected]` to update!
npm notice 
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@kaggle%2fjupyterlab - Not found
npm ERR! 404 
npm ERR! 404  '@kaggle/jupyterlab@latest' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\sander.vandenhautte\AppData\Local\npm-cache\_logs\2021-03-01T14_16_39_788Z-debug.log

Traceback (most recent call last):

  File "C:\Users\sander.vandenhautte\Anaconda3\lib\site-packages\jupyterlab\debuglog.py", line 47, in debug_logging
    yield

  File "C:\Users\sander.vandenhautte\Anaconda3\lib\site-packages\jupyterlab\labextensions.py", line 93, in start
    ans = self.run_task()

  File "C:\Users\sander.vandenhautte\Anaconda3\lib\site-packages\jupyterlab\labextensions.py", line 138, in run_task
    return any([

  File "C:\Users\sander.vandenhautte\Anaconda3\lib\site-packages\jupyterlab\labextensions.py", line 139, in <listcomp>
    install_extension(

  File "C:\Users\sander.vandenhautte\Anaconda3\lib\site-packages\jupyterlab\commands.py", line 388, in install_extension
    return handler.install_extension(extension, pin=pin)

  File "C:\Users\sander.vandenhautte\Anaconda3\lib\site-packages\jupyterlab\commands.py", line 603, in install_extension
    info = self._install_extension(extension, tempdir, pin=pin)

  File "C:\Users\sander.vandenhautte\Anaconda3\lib\site-packages\jupyterlab\commands.py", line 1499, in _install_extension
    info = self._extract_package(extension, tempdir, pin=pin)

  File "C:\Users\sander.vandenhautte\Anaconda3\lib\site-packages\jupyterlab\commands.py", line 1578, in _extract_package
    raise ValueError(msg % source)

ValueError: "@kaggle/jupyterlab" is not a valid npm package

Exiting application: jupyter

I also can't find the extension when I browse manually through the extension tab on the left on JupyterLab's GUI, nor can I find your package manually in the npm package repository (https://www.npmjs.com/search?q=kaggle).
Could it be that this extension has been discontinued? It looked like a nice idea to me though.

Kind regards.

Problems installing - nodejs

hi there,

im new to jupyter - and wanted to use kaggle for my first tryouts.
But when i want to install the extension (ubuntu20.04, miniforge installed, jupyterlab (and ir-kernel) from conda-forge) i get the error:

jupyter labextension install @kaggle/jupyterlab
An error occured.
ValueError: Please install Node.js and npm before continuing installation. You may be able to install Node.js from your package manager, from conda, or directly from the Node.js website (https://nodejs.org).
See the log file for details: /tmp/jupyterlab-debug-7746_i0p.log

So i install nodejs from conda https://anaconda.org/anaconda/nodejs
After the same error appears.

I also tried nodejs from conda-forge (https://anaconda.org/conda-forge/nodejs)
Still the same error when i want to

jupyter labextension install @kaggle/jupyterlab

The log says:

Node v10.19.0

Yarn configuration loaded.
Traceback (most recent call last):

  File "/home/myuser/.local/lib/python3.8/site-packages/jupyterlab/debuglog.py", line 47, in debug_logging
    yield

  File "/home/myuser/.local/lib/python3.8/site-packages/jupyterlab/labextensions.py", line 93, in start
    ans = self.run_task()

  File "/home/myuser/.local/lib/python3.8/site-packages/jupyterlab/labextensions.py", line 138, in run_task
    return any([

  File "/home/myuser/.local/lib/python3.8/site-packages/jupyterlab/labextensions.py", line 139, in <listcomp>
    install_extension(

  File "/home/myuser/.local/lib/python3.8/site-packages/jupyterlab/commands.py", line 388, in install_extension
    return handler.install_extension(extension, pin=pin)

  File "/home/myuser/.local/lib/python3.8/site-packages/jupyterlab/commands.py", line 603, in install_extension
    info = self._install_extension(extension, tempdir, pin=pin)

  File "/home/myuser/.local/lib/python3.8/site-packages/jupyterlab/commands.py", line 1499, in _install_extension
    info = self._extract_package(extension, tempdir, pin=pin)

  File "/home/myuser/.local/lib/python3.8/site-packages/jupyterlab/commands.py", line 1575, in _extract_package
    ret = self._run([which('npm'), 'pack', source], cwd=tempdir)

  File "/home/myuser/.local/lib/python3.8/site-packages/jupyterlab_server/process.py", line 59, in which
    raise ValueError(msg)

ValueError: Please install Node.js and npm before continuing installation. You may be able to install Node.js from your package manager, from conda, or directly from the Node.js website (https://nodejs.org).

Exiting application: jupyter

Missing extension module "lib/index.js"

Do the install inside Anaconda Command prompt and the following error occurs:

Kaggle Jupyter Extension Install Error

And this is the log file:

Yarn configuration loaded.
Node v12.13.1

> "C:\Program Files\nodejs\npm.CMD" pack @kaggle/jupyterlab
npm notice 
npm notice package: @kaggle/[email protected]
npm notice === Tarball Contents === 
npm notice 0      package           
npm notice 11.4kB LICENSE           
npm notice 2.6kB  package.json      
npm notice 2.9kB  README.md         
npm notice 0      schema            
npm notice 0      style             
npm notice 1.4kB  schema/kaggle.json
npm notice 856B   style/index.css   
npm notice 1.2kB  style/kaggle.svg  
npm notice === Tarball Details === 
npm notice name:          @kaggle/jupyterlab                      
npm notice version:       1.0.2                                   
npm notice filename:      kaggle-jupyterlab-1.0.2.tgz             
npm notice package size:  7.4 kB                                  
npm notice unpacked size: 20.2 kB                                 
npm notice shasum:        44466171399aee1e9781dda39cda2107ee16c240
npm notice integrity:     sha512-FJNJpxz8f8uZu[...]8oK51XDB1Ohdg==
npm notice total files:   9                                       
npm notice 
kaggle-jupyterlab-1.0.2.tgz

Traceback (most recent call last):

  File "C:\Users\user_name\Anaconda3\lib\site-packages\jupyterlab\debuglog.py", line 47, in debug_logging
    yield

  File "C:\Users\user_name\Anaconda3\lib\site-packages\jupyterlab\labextensions.py", line 93, in start
    ans = self.run_task()

  File "C:\Users\user_name\Anaconda3\lib\site-packages\jupyterlab\labextensions.py", line 149, in run_task
    for i, arg in enumerate(self.extra_args)

  File "C:\Users\user_name\Anaconda3\lib\site-packages\jupyterlab\labextensions.py", line 149, in <listcomp>
    for i, arg in enumerate(self.extra_args)

  File "C:\Users\user_name\Anaconda3\lib\site-packages\jupyterlab\commands.py", line 398, in install_extension
    return handler.install_extension(extension, pin=pin)

  File "C:\Users\user_name\Anaconda3\lib\site-packages\jupyterlab\commands.py", line 611, in install_extension
    info = self._install_extension(extension, tempdir, pin=pin)

  File "C:\Users\user_name\Anaconda3\lib\site-packages\jupyterlab\commands.py", line 1508, in _install_extension
    raise ValueError(msg % (extension, '\n'.join(messages)))

ValueError: "@kaggle/jupyterlab" is not a valid extension:
Missing extension module "lib/index.js"

Exiting application: jupyter

This is my versions:

conda v 4.7.12
npm v 6.12.1
node v12.13.1
no yarn installed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.