Giter Site home page Giter Site logo

Is `nb_conda` broken? about nb_conda HOT 10 CLOSED

anaconda avatar anaconda commented on August 27, 2024
Is `nb_conda` broken?

from nb_conda.

Comments (10)

ilanschnell avatar ilanschnell commented on August 27, 2024 1

I fixed the problem, and uploaded new (not empty) _nb_ext_conf packages.

from nb_conda.

drorata avatar drorata commented on August 27, 2024 1

Installation from defaults works as expected. πŸ‘

from nb_conda.

drorata avatar drorata commented on August 27, 2024

Addition, when installing nb_conda from conda-forge inside foo, the extension functions as expected.

When doing: conda install -c conda-forge nb_conda in the root environment, the following is yielded:

The following NEW packages will be INSTALLED:

    nb_conda:         2.2.0-py36_0  conda-forge
    nb_conda_kernels: 2.1.0-py36_0  conda-forge

The following packages will be SUPERSEDED by a higher-priority channel:

    conda:            4.3.22-py36_0             --> 4.3.21-py36_1 conda-forge
    conda-env:        2.6.0-0                   --> 2.6.0-0       conda-forge

Which is not too bad I guess. Sub-optimal but OK. What do you think?

from nb_conda.

damianavila avatar damianavila commented on August 27, 2024

Can you try with:

# nb_conda_kernels
$PYTHON -m nb_conda_kernels.install --enable --prefix $PREFIX

# nb_conda
jupyter-nbextension enable nb_conda --py --sys-prefix
jupyter-serverextension enable nb_conda --py --sys-prefix

@ilan, I can verify the that I have the _nb_ext_conf package installed but not the conf files installed

$ conda list _nb_ext_conf
# packages in environment at /media/data/miniconda3/envs/test:
#
_nb_ext_conf              0.4.0                    py36_0  

And there is not config files for the extensions...

$ jupyter nbextension list
Known nbextensions:
  config dir: /media/data/miniconda3/envs/test/etc/jupyter/nbconfig
    notebook section
      jupyter-js-widgets/extension  enabled 
      - Validating: OK

and

(test) damian-S400CA :: /media/data/devel :: 
$ jupyter serverextension list

cc @csoja

from nb_conda.

ilanschnell avatar ilanschnell commented on August 27, 2024

Yes, this is very strange. I can confirm that the new _nb_ext_conf packages do not include any config files. I will investigate the problem and try to fix it.

from nb_conda.

drorata avatar drorata commented on August 27, 2024

@damianavila I'm sorry, but I didn't understand what further input I can provide.

@ilanschnell Does it mean that now I can install nb_conda from the default channel?

from nb_conda.

ilanschnell avatar ilanschnell commented on August 27, 2024

Yes, that's what it means. Please ensure that _nb_ext_cont 0.4.0 build 1 gets installed.

from nb_conda.

drorata avatar drorata commented on August 27, 2024

@ilanschnell How can I verify this?

from nb_conda.

ilanschnell avatar ilanschnell commented on August 27, 2024

conda list _nb_ext_conf should display:

_nb_ext_conf              0.4.0                    py36_1

where, the 1 at the end is the important part.

from nb_conda.

damianavila avatar damianavila commented on August 27, 2024

I have verified that upgrading _nb_ext_conf to the latest fixes the issue. Thanks @ilanschnell !

from nb_conda.

Related Issues (20)

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.