Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need nb_conda for Python 3.6 #1423

Closed
DavidMertz opened this issue Feb 6, 2017 · 41 comments

Comments

@DavidMertz
Copy link

commented Feb 6, 2017

(moved from conda/conda#4539 (comment))

There currently does not seem to be support for nb_conda that is compatible with Python 3.6. This makes it cumbersome to work with Py36 environments that use Jupyter. Or in Jupyter when you need to choose an environment (whichever way you want to look at it).

532-Downloads % conda create -n nb36 python=3.6 jupyter nb_conda
Fetching package metadata .................
Solving package specifications: .

UnsatisfiableError: The following specifications were found to be in conflict:
  - nb_conda -> _nb_ext_conf -> nb_anacondacloud -> python 2.7* -> openssl 1.0.1*
  - python 3.6*
Use "conda info <package>" to see the dependencies for each package.
@schlichtanders

This comment has been minimized.

Copy link

commented Feb 7, 2017

same here,
this also is the case when installing nb_conda, nbpresent and the like from the anaconda-nb-extensions channel, however the UnsatifiableError is slightly different:

conda install -c anaconda-nb-extensions nbpresent
Fetching package metadata .....................
Solving package specifications: .


UnsatisfiableError: The following specifications were found to be in conflict:
  - nbpresent -> nb_config_manager -> python 3.4*
  - python 3.6*
Use "conda info <package>" to see the dependencies for each package.
@atulsaurav

This comment has been minimized.

Copy link

commented Feb 16, 2017

Same here...

@jingw222

This comment has been minimized.

Copy link

commented Feb 22, 2017

Apparently, I'm not alone with this issue...

@fmkoba

This comment has been minimized.

Copy link

commented Feb 23, 2017

Getting this same error, thanks in advance guys.

@DavidMertz

This comment has been minimized.

Copy link
Author

commented Feb 24, 2017

@akanksha005

This comment has been minimized.

Copy link

commented Feb 25, 2017

UnsatisfiableError: The following specifications were found to be in conflict:

  • nb_conda -> _nb_ext_conf -> nb_anacondacloud -> python 2.7*
  • python 3.6*
    Use "conda info " to see the dependencies for each package.
    but when i created environment supporting python 2 then installed nb_conda then it was working..
@Synergist

This comment has been minimized.

Copy link

commented Feb 26, 2017

I'm joining the bandwagon...getting the same error. Thanks in advance.

@DavidMertz

This comment has been minimized.

Copy link
Author

commented Feb 27, 2017

I was traveling and didn't have a chance to verify conda-forge, but nb_conda is also not there for the latest Python/Anaconda:

505-tmp % conda install nb_conda -c conda-forge
Fetching package metadata .............
Solving package specifications: .

UnsatisfiableError: The following specifications were found to be in conflict:
  - nb_conda -> python 3.5* -> sqlite 3.9.*
  - nb_conda -> python 3.5* -> xz 5.0.*
  - python 3.6*
Use "conda info <package>" to see the dependencies for each package.
@DavidMertz

This comment has been minimized.

Copy link
Author

commented Feb 27, 2017

If I were only trying for Python 3.5 I guess this would succeed using conda-forge, but that's not what we need. We need it in the main channel, and also for 3.6.

@bollard

This comment has been minimized.

Copy link

commented Mar 9, 2017

It seems rather cumbersome to me that the four nb packages (nbpresent, nb_anacondacloud, nb_conda, nb_conda_kernels) depend on one another as we have to wait for all four packages to be updated in order to install the one we may want. As of today, I believe it is just nb_anacondacloud (a package I have no intention of using) which has yet to be updated, but stops me using nb_conda (and thereby Python 3.6).

@ajit555

This comment has been minimized.

Copy link

commented Mar 13, 2017

I am new to Anaconda. It is on Windows 10 with latest Anaconda 64 bit install.

`
C:\Users\Ajit>conda install nb_conda
Fetching package metadata .............
Solving package specifications: .

UnsatisfiableError: The following specifications were found to be in conflict:

  • nb_conda -> _nb_ext_conf -> nb_anacondacloud -> python 2.7*
  • python 3.6*
    Use "conda info " to see the dependencies for each package.

C:\Users\Ajit>conda info
Current conda install:

           platform : win-64
      conda version : 4.3.14
   conda is private : False
  conda-env version : 4.3.14
conda-build version : not installed
     python version : 3.6.0.final.0
   requests version : 2.12.4
   root environment : C:\ProgramData\Anaconda3  (writable)
default environment : C:\ProgramData\Anaconda3
   envs directories : C:\ProgramData\Anaconda3\envs
                      C:\Users\Ajit\AppData\Local\conda\conda\envs
                      C:\Users\Ajit\.conda\envs
      package cache : C:\ProgramData\Anaconda3\pkgs
                      C:\Users\Ajit\AppData\Local\conda\conda\pkgs
       channel URLs : https://conda.anaconda.org/anaconda-fusion/win-64
                      https://conda.anaconda.org/anaconda-fusion/noarch
                      https://repo.continuum.io/pkgs/free/win-64
                      https://repo.continuum.io/pkgs/free/noarch
                      https://repo.continuum.io/pkgs/r/win-64
                      https://repo.continuum.io/pkgs/r/noarch
                      https://repo.continuum.io/pkgs/pro/win-64
                      https://repo.continuum.io/pkgs/pro/noarch
                      https://repo.continuum.io/pkgs/msys2/win-64
                      https://repo.continuum.io/pkgs/msys2/noarch
        config file : C:\Users\Ajit\.condarc
       offline mode : False
         user-agent : conda/4.3.14 requests/2.12.4 CPython/3.6.0 Windows/10 Windows/10.0.14393

`

@damianavila

This comment has been minimized.

Copy link
Member

commented Mar 20, 2017

Packages will be available in the next few weeks. I will let you know when it is done. Thanks.

@znmeb

This comment has been minimized.

Copy link

commented Mar 25, 2017

does it work for 3.5? If so, I'll just drop back to Miniconda 3.5

@durgeshm

This comment has been minimized.

Copy link

commented Mar 25, 2017

FWIW, I am creating a 3.5 environment and it works, i.e. it allows me to switch between different environment kernels. e.g.

conda create -n p35 python=3.5 numpy matplotlib nb_conda jupyter

@moonshade

This comment has been minimized.

Copy link

commented Apr 1, 2017

Same here....

UnsatisfiableError: The following specifications were found to be in conflict:

  • nb_conda -> _nb_ext_conf -> nb_anacondacloud -> python 2.7* -> openssl 1.0.1*
  • python 3.6*
    Use "conda info " to see the dependencies for each package.
@yoavram

This comment has been minimized.

Copy link

commented Apr 3, 2017

+1

@sinhavartika

This comment has been minimized.

Copy link

commented Apr 4, 2017

@DavidMertz I am getting the same error.
with conda install nb_conda

UnsatisfiableError: The following specifications were found to be in conflict:
  - nb_conda -> _nb_ext_conf -> nb_anacondacloud -> python 2.7*
  - python 3.6*

with conda install -c conda-forge nb_conda

UnsatisfiableError: The following specifications were found to be in conflict:
  - nb_conda -> python 3.5* -> sqlite 3.9.*
  - nb_conda -> python 3.5* -> xz 5.0.*
  - python 3.6*

Is there any temporary work around for this?

@trmanish

This comment has been minimized.

Copy link

commented Apr 4, 2017

Create conda env using python 3.5 and it works fine then.

@DavidMertz

This comment has been minimized.

Copy link
Author

commented Apr 4, 2017

@trmanish: Yes, that is exactly what the bug reports! There's no support for the latest Python. As indicated in all the above comments, there is support for older Python versions.

@stolsvik

This comment has been minimized.

Copy link

commented Apr 10, 2017

It's kinda strange that the current Anaconda-package for python 3.6 makes you default stuck in this situation. I just installed it, and instantly hit this road block when trying to use jupyter with environments (which everybody tells you to use..)

@damianavila

This comment has been minimized.

Copy link
Member

commented Apr 21, 2017

All, finally, I have some time to work on this. nb_conda 2.2.0 (latest release) is available through conda-forge, including the solicited py36 support.

@mingwandroid

This comment has been minimized.

Copy link
Member

commented Apr 21, 2017

@damianavila, putting a package on conda-forge is not a fix for this. conda-forge and the packages from the Anaconda Distribution are not binary compatible.

@mingwandroid mingwandroid reopened this Apr 21, 2017
@mingwandroid mingwandroid self-assigned this Apr 21, 2017
@damianavila

This comment has been minimized.

Copy link
Member

commented Apr 21, 2017

@damianavila, putting a package on conda-forge is not a fix for this. conda-forge and the packages from the Anaconda Distribution are not binary compatible.

This extension are no longer shipped with Anaconda by default... so... do you want to have it available from repo.cio before closing this issue? @mingwandroid @csoja

@mingwandroid

This comment has been minimized.

Copy link
Member

commented Apr 21, 2017

Yes. bugs in anaconda-issues can never be fixed by packages in conda-forge.

@damianavila

This comment has been minimized.

Copy link
Member

commented Apr 21, 2017

Yes. bugs in anaconda-issues can never be fixed by packages in conda-forge.

Fair enough... sorry for the premature closing. Let's figure out how we can ship the latest release into repo.cio as soon as you (or the team) have time availability.

@drorata

This comment has been minimized.

Copy link

commented Apr 21, 2017

I could install nb_conda from conda-forge.

@QCaudron

This comment has been minimized.

Copy link

commented Apr 25, 2017

I also succeeded in installing nb_conda from conda-forge. This solves my immediate problem ( jupyter notebook was using a different IPython kernel, not the one provided by Anaconda ), but it would be fantastic to have this package in the main repo, and installed by default, given that Jupyter comes out of the box.

@oshribr

This comment has been minimized.

Copy link

commented May 14, 2017

Hi all,
i am facing this problem.
I tried to install nb_conda & _nb_ext_conf but without success.

[oshri@analytics ~]$ conda install nb_conda 
Fetching package metadata .........
Solving package specifications: ..........

# All requested packages already installed.
# packages in environment at /data/anaconda:
#
nb_conda                  2.2.0                    py35_0    conda-forge
[oshri@analytics ~]$ conda install _nb_ext_conf 
Fetching package metadata .........
Solving package specifications: ..........

# All requested packages already installed.
# packages in environment at /data/anaconda:
#
_nb_ext_conf              0.3.0                    py35_0  
[oshri@analytics ~]$ conda install python=3.6
Fetching package metadata .........
Solving package specifications: ....


UnsatisfiableError: The following specifications were found to be in conflict:
  - python 3.6*
Use "conda info <package>" to see the dependencies for each package.
[oshri@analytics ~]$ conda install python=3.6
Fetching package metadata .........
Solving package specifications: ....


UnsatisfiableError: The following specifications were found to be in conflict:
  - _nb_ext_conf -> python 2.7*|3.4*|3.5*
  - python 3.6*
Use "conda info <package>" to see the dependencies for each package.
[oshri@analytics ~]$ conda info _nb_ext_conf 
Fetching package metadata .........

_nb_ext_conf 0.2.0 py27_0
-------------------------
file name   : _nb_ext_conf-0.2.0-py27_0.tar.bz2
name        : _nb_ext_conf
version     : 0.2.0
build number: 0
build string: py27_0
channel     : defaults
size        : 1 KB
date        : 2016-06-21
fn          : _nb_ext_conf-0.2.0-py27_0.tar.bz2
license     : BSD
md5         : 8ecf7d2935773091f1444d2b50663a6b
priority    : 1
schannel    : defaults
url         : https://repo.continuum.io/pkgs/free/linux-64/_nb_ext_conf-0.2.0-py27_0.tar.bz2
dependencies:
    nb_anacondacloud
    nb_conda
    nb_conda_kernels
    nbpresent
    notebook >=4.2.0
    python 2.7*

_nb_ext_conf 0.2.0 py34_0
-------------------------
file name   : _nb_ext_conf-0.2.0-py34_0.tar.bz2
name        : _nb_ext_conf
version     : 0.2.0
build number: 0
build string: py34_0
channel     : defaults
size        : 1 KB
date        : 2016-06-21
fn          : _nb_ext_conf-0.2.0-py34_0.tar.bz2
license     : BSD
md5         : ca9cfa8ae7697984ff84ee3a2945ba8b
priority    : 1
schannel    : defaults
url         : https://repo.continuum.io/pkgs/free/linux-64/_nb_ext_conf-0.2.0-py34_0.tar.bz2
dependencies:
    nb_anacondacloud
    nb_conda
    nb_conda_kernels
    nbpresent
    notebook >=4.2.0
    python 3.4*

_nb_ext_conf 0.2.0 py35_0
-------------------------
file name   : _nb_ext_conf-0.2.0-py35_0.tar.bz2
name        : _nb_ext_conf
version     : 0.2.0
build number: 0
build string: py35_0
channel     : defaults
size        : 1 KB
date        : 2016-06-21
fn          : _nb_ext_conf-0.2.0-py35_0.tar.bz2
license     : BSD
md5         : 799225b965114629c760f35b37ef357b
priority    : 1
schannel    : defaults
url         : https://repo.continuum.io/pkgs/free/linux-64/_nb_ext_conf-0.2.0-py35_0.tar.bz2
dependencies:
    nb_anacondacloud
    nb_conda
    nb_conda_kernels
    nbpresent
    notebook >=4.2.0
    python 3.5*

_nb_ext_conf 0.3.0 py27_0
-------------------------
file name   : _nb_ext_conf-0.3.0-py27_0.tar.bz2
name        : _nb_ext_conf
version     : 0.3.0
build number: 0
build string: py27_0
channel     : defaults
size        : 956 B
date        : 2016-08-25
fn          : _nb_ext_conf-0.3.0-py27_0.tar.bz2
license     : BSD
md5         : 5711a814aa8297638bd478f96ce49c57
priority    : 1
schannel    : defaults
url         : https://repo.continuum.io/pkgs/free/linux-64/_nb_ext_conf-0.3.0-py27_0.tar.bz2
dependencies:
    ipywidgets
    nb_anacondacloud
    nb_conda
    nb_conda_kernels
    nbpresent
    notebook >=4.2.0
    python 2.7*

_nb_ext_conf 0.3.0 py34_0
-------------------------
file name   : _nb_ext_conf-0.3.0-py34_0.tar.bz2
name        : _nb_ext_conf
version     : 0.3.0
build number: 0
build string: py34_0
channel     : defaults
size        : 962 B
date        : 2016-08-25
fn          : _nb_ext_conf-0.3.0-py34_0.tar.bz2
license     : BSD
md5         : 99f16ef08ca583fa2845bad74a29fd44
priority    : 1
schannel    : defaults
url         : https://repo.continuum.io/pkgs/free/linux-64/_nb_ext_conf-0.3.0-py34_0.tar.bz2
dependencies:
    ipywidgets
    nb_anacondacloud
    nb_conda
    nb_conda_kernels
    nbpresent
    notebook >=4.2.0
    python 3.4*

_nb_ext_conf 0.3.0 py35_0
-------------------------
file name   : _nb_ext_conf-0.3.0-py35_0.tar.bz2
name        : _nb_ext_conf
version     : 0.3.0
build number: 0
build string: py35_0
channel     : defaults
size        : 966 B
date        : 2016-08-25
fn          : _nb_ext_conf-0.3.0-py35_0.tar.bz2
license     : BSD
md5         : 9c93914955d7cff796260523dece59e7
priority    : 1
schannel    : defaults
url         : https://repo.continuum.io/pkgs/free/linux-64/_nb_ext_conf-0.3.0-py35_0.tar.bz2
dependencies:
    ipywidgets
    nb_anacondacloud
    nb_conda
    nb_conda_kernels
    nbpresent
    notebook >=4.2.0
    python 3.5*
[oshri@analytics ~]$ conda update notebook 
Fetching package metadata .........
Solving package specifications: ..........

# All requested packages already installed.
# packages in environment at /data/anaconda:
#
notebook                  5.0.0                    py35_0    conda-forge                
@damianavila

This comment has been minimized.

Copy link
Member

commented May 14, 2017

@oshribr just get it from conda-forge with conda install -c conda-forge nb_conda.

@oshribr

This comment has been minimized.

Copy link

commented May 14, 2017

@damianavila ;-(

[oshri@analytics ~]$ conda install -c conda-forge nb_conda
Fetching package metadata .........
Solving package specifications: ..........

# All requested packages already installed.
# packages in environment at /data/anaconda:
#
nb_conda                  2.2.0                    py35_0    conda-forge
[oshri@analytics ~]$ conda install python=3.6
Fetching package metadata .........
Solving package specifications: ....


UnsatisfiableError: The following specifications were found to be in conflict:
  - python 3.6*
Use "conda info <package>" to see the dependencies for each package.


[oshri@analytics ~]$ conda install python=3.6
Fetching package metadata .........
Solving package specifications: ....


UnsatisfiableError: The following specifications were found to be in conflict:
  - nb_config_manager -> python 2.7*|3.4*|3.5*
  - python 3.6*
Use "conda info <package>" to see the dependencies for each package.


[oshri@analytics ~]$ conda install python=3.6
Fetching package metadata .........
Solving package specifications: ....


UnsatisfiableError: The following specifications were found to be in conflict:
  - nb_config_manager -> python 2.7*|3.4*|3.5*
  - python 3.6*
Use "conda info <package>" to see the dependencies for each package.
@damianavila

This comment has been minimized.

Copy link
Member

commented May 14, 2017

You have very old extensions there. Suggestion:

conda create -n test python=3.6

and then

source activate test

and finally

conda install -c conda-forge nb_conda

If that works for you, then you should clean you root environments getting rid of the old extensions.

@mingwandroid

This comment has been minimized.

Copy link
Member

commented May 14, 2017

Can we not just get this fixed in defaults? What's currently blocking it?

@ccordoba12

This comment has been minimized.

Copy link

commented May 14, 2017

I think nobody has had the time to create packages for 3.6.

@damianavila

This comment has been minimized.

Copy link
Member

commented May 15, 2017

There are further complications, I will open an issue to describe them and discuss how we solve it properly.

@laserson

This comment has been minimized.

Copy link

commented May 15, 2017

How does one "clean" the root environment?

@damianavila

This comment has been minimized.

Copy link
Member

commented May 15, 2017

How does one "clean" the root environment?

In this case, essentially conda remove ANY extension from your environment. Plus, IF there is some leftover in the activation/enabling step, you probably need to audit some notebook config files (such as PREFIX/etc/jupyter/nbconfig/*).

@bollard

This comment has been minimized.

Copy link

commented May 18, 2017

Over three months since this issue was first opened... are we any closer to a new release in official channels?

@csoja

This comment has been minimized.

Copy link
Contributor

commented May 18, 2017

Yes - it is high on the list after the upcoming Anaconda v4.4 release. The way the notebook extensions were installed from defaults was different than from conda-forge. The current defaults method requires all the extensions to be updated for Python 3.6 - and not all of them are. We are looking into changing the approach for defaults so that the notebook extensions can be updated individually (including nb_conda).

@bollard

This comment has been minimized.

Copy link

commented May 18, 2017

@csoja, yes separating out the extensions would certainly be my preference (see original comment)

jeremyallenjacobson added a commit to jeremyallenjacobson/PyData2017 that referenced this issue Jun 1, 2017
Changed sentence from reveal wasn't working with Python 3.6 to nb_conda wasn't working with 3.6 (see here ContinuumIO/anaconda-issues#1423).
@Odomontois

This comment has been minimized.

Copy link

commented Jun 17, 2017

What about nbpresent ?

@csoja

This comment has been minimized.

Copy link
Contributor

commented Jun 19, 2017

@ilanschnell is updating the extensions in defaults now - these should be available later today. Please let us know if you continue to have issues with them.

@csoja csoja closed this Jun 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
You can’t perform that action at this time.