Closed drorata closed 7 years ago
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?
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
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.
I fixed the problem, and uploaded new (not empty) _nb_ext_conf
packages.
@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?
Yes, that's what it means. Please ensure that _nb_ext_cont
0.4.0 build 1 gets installed.
@ilanschnell How can I verify this?
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.
I have verified that upgrading _nb_ext_conf to the latest fixes the issue. Thanks @ilanschnell !
Installation from defaults
works as expected. 👍
I freshly installed
Anaconda
and next alsonb_conda
. However, when starting Jupyter, I don't see theConda
nor, nor a list of the available environments (as kernels).The steps I took are:
Next I started Jupyter either from the root environment or from
foo
. In both cases, I couldn't see the list of available environments. I am not sure whether it makes sense or not, I also tried:jupyter nbextension enable nb_conda --user
but it yielded:For reference, here is the output of
conda list
(from the root env):