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

conda install python=3.6 ends in Solving environment: failed even though conflict has a relevant dependency #7751

Closed
BE-Bob opened this issue Sep 8, 2018 · 3 comments
Labels
locked [bot] locked due to inactivity stale::closed [bot] closed after being marked as stale stale [bot] marked as stale due to inactivity

Comments

@BE-Bob
Copy link

BE-Bob commented Sep 8, 2018

Current Behavior

In a conda environment, I am attempting to upgrade python from 3.5.6 to 3.6*. I issue the command
conda install python=3.6
and it fails with a "Solving environment: failed" and reference to a package that is installed.
I tried the following:
updating conda to 4.5.11 (in the base environment)
conda update conda
updating all in environment
conda update --all
The result is still the same error.

Steps to Reproduce

conda install python=3.6
Solving environment: failed

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

I checked to see if nb_anacondacloud has a version compatible with python 3.6 and it does.

conda info nb_anacondacloud
.
.
.

nb_anacondacloud 1.4.0 py36_0
-----------------------------
file name   : nb_anacondacloud-1.4.0-py36_0.tar.bz2
name        : nb_anacondacloud
version     : 1.4.0
build string: py36_0
build number: 0
channel     : https://repo.anaconda.com/pkgs/free/linux-64
size        : 27 KB
arch        : x86_64
constrains  : ()
date        : 2017-06-19
license     : BSD
md5         : cf489c44877ca562bde9e3321c5ea4d6
platform    : linux
subdir      : linux-64
url         : https://repo.anaconda.com/pkgs/free/linux-64/nb_anacondacloud-1.4.0-py36_0.tar.bz2
dependencies:
    _nb_ext_conf
    anaconda-client
    notebook >=4.2.0
    python 3.6*

Expected Behavior

I get an error even though it seems that conda should be able to figure out that it has to update all of the dependencies in the environment.

Environment Information

`conda info`

conda info

     active environment : astm
    active env location : /home/bob/anaconda3/envs/astm
            shell level : 1
       user config file : /home/bob/.condarc
 populated config files : 
          conda version : 4.5.11
    conda-build version : 3.4.1
         python version : 3.6.4.final.0
       base environment : /home/bob/anaconda3  (writable)
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/free/linux-64
                          https://repo.anaconda.com/pkgs/free/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/pro/linux-64
                          https://repo.anaconda.com/pkgs/pro/noarch
          package cache : /home/bob/anaconda3/pkgs
                          /home/bob/.conda/pkgs
       envs directories : /home/bob/anaconda3/envs
                          /home/bob/.conda/envs
               platform : linux-64
             user-agent : conda/4.5.11 requests/2.18.4 CPython/3.6.4 Linux/4.15.0-33-generic ubuntu/18.04 glibc/2.27
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False


`conda config --show-sources`

no output

`conda list --show-channel-urls`

conda list --show-channel-urls
# packages in environment at /home/bob/anaconda3/envs/astm:
#
# Name                    Version                   Build  Channel
_nb_ext_conf              0.4.0                    py35_1    defaults
alabaster                 0.7.11                   py35_0    defaults
anaconda-client           1.7.2                    py35_0    defaults
appdirs                   1.4.3            py35h28b3542_0    defaults
asn1crypto                0.24.0                   py35_0    defaults
astroid                   2.0.4                    py35_0    defaults
attrs                     18.2.0           py35h28b3542_0    defaults
automat                   0.7.0                    py35_0    defaults
babel                     2.6.0                    py35_0    defaults
backcall                  0.1.0                    py35_0    defaults
backports                 1.0                      py35_1    defaults
backports.shutil_get_terminal_size 1.0.0                    py35_2    defaults
bleach                    2.1.4                    py35_0    defaults
bokeh                     0.12.14                  py35_0    defaults
ca-certificates           2018.03.07                    0    defaults
certifi                   2018.8.24                py35_1    defaults
cffi                      1.11.5           py35he75722e_1    defaults
chardet                   3.0.4                    py35_1    defaults
cloudpickle               0.5.5                    py35_0    defaults
clyent                    1.2.2                    py35_1    defaults
constantly                15.1.0           py35h28b3542_0    defaults
cryptography              2.3.1            py35hc365091_0    defaults
cycler                    0.10.0           py35hc4d5149_0    defaults
dbus                      1.13.2               h714fa37_1    defaults
decorator                 4.3.0                    py35_0    defaults
docutils                  0.14             py35hd11081d_0    defaults
entrypoints               0.2.3                    py35_2    defaults
expat                     2.2.6                he6710b0_0    defaults
fontconfig                2.13.0               h9420a91_0    defaults
freetype                  2.9.1                h8a8886c_1    defaults
get_terminal_size         1.0.0                haa9412d_0    defaults
glib                      2.56.2               hd408876_0    defaults
gmp                       6.1.2                h6c8ec71_1    defaults
gst-plugins-base          1.14.0               hbbd80ab_1    defaults
gstreamer                 1.14.0               hb453b48_1    defaults
h5py                      2.7.1            py35h8d53cdc_0    defaults
hdf5                      1.10.2               hba1933b_1    defaults
holoviews                 1.9.4                    py35_0    defaults
html5lib                  1.0.1                    py35_0    defaults
hyperlink                 18.0.0                   py35_0    defaults
icu                       58.2                 h9c2bf20_1    defaults
idna                      2.7                      py35_0    defaults
imagesize                 1.1.0                    py35_0    defaults
incremental               17.5.0                   py35_0    defaults
intel-openmp              2018.0.3                      0    defaults
ipykernel                 4.9.0                    py35_0    defaults
ipython                   6.5.0                    py35_0    defaults
ipython_genutils          0.2.0            py35hc9e07d0_0    defaults
ipywidgets                7.4.1                    py35_0    defaults
isort                     4.3.4                    py35_0    defaults
jedi                      0.12.1                   py35_0    defaults
jeepney                   0.3.1                    py35_0    defaults
jinja2                    2.10                     py35_0    defaults
jpeg                      9b                   h024ee3a_2    defaults
jsonschema                2.6.0            py35h4395190_0    defaults
jupyter                   1.0.0                    py35_4    defaults
jupyter_client            5.2.3                    py35_0    defaults
jupyter_console           5.2.0            py35h4044a63_1    defaults
jupyter_core              4.4.0                    py35_0    defaults
keyring                   13.2.1                   py35_0    defaults
kiwisolver                1.0.1            py35hf484d3e_0    defaults
lazy-object-proxy         1.3.1            py35h14c3975_2    defaults
libedit                   3.1.20170329         h6b74fdf_2    defaults
libffi                    3.2.1                hd88cf55_4    defaults
libgcc                    7.2.0                h69d50b8_2    defaults
libgcc-ng                 8.2.0                hdf63c60_1    defaults
libgfortran               3.0.0                         1    defaults
libgfortran-ng            7.3.0                hdf63c60_0    defaults
libiconv                  1.15                 h63c8f33_5    defaults
libpng                    1.6.34               hb9fc6fc_0    defaults
libsodium                 1.0.16               h1bed415_0    defaults
libstdcxx-ng              8.2.0                hdf63c60_1    defaults
libuuid                   1.0.3                h1bed415_2    defaults
libxcb                    1.13                 h1bed415_1    defaults
libxml2                   2.9.8                h26e45fe_1    defaults
markupsafe                1.0              py35h14c3975_1    defaults
matplotlib                2.2.0            py35hbc4b006_0    defaults
mccabe                    0.6.1                    py35_1    defaults
mistune                   0.8.3            py35h14c3975_1    defaults
mkl                       2018.0.3                      1    defaults
nb_anacondacloud          1.4.0                    py35_0    defaults
nb_conda                  2.2.1            py35hccc8299_0    defaults
nb_conda_kernels          2.1.0                    py35_0    defaults
nbconvert                 5.3.1                    py35_0    defaults
nbformat                  4.4.0            py35h12e6e07_0    defaults
nbpresent                 3.0.2            py35h9c03491_1    defaults
ncurses                   6.1                  hf484d3e_0    defaults
notebook                  5.6.0                    py35_0    defaults
numpy                     1.14.2           py35hdbf6ddf_0    defaults
numpydoc                  0.8.0                    py35_0    defaults
openssl                   1.0.2p               h14c3975_0    defaults
packaging                 17.1                     py35_0    defaults
pandas                    0.22.0           py35hf484d3e_0    defaults
pandoc                    2.2.3.2                       0    defaults
pandocfilters             1.4.2                    py35_1    defaults
param                     1.7.0            py35h28b3542_0    defaults
parso                     0.3.1                    py35_0    defaults
path.py                   11.1.0                   py35_0    defaults
pcre                      8.42                 h439df22_0    defaults
pep8                      1.7.1                    py35_0    defaults
pexpect                   4.6.0                    py35_0    defaults
pickleshare               0.7.4            py35hd57304d_0    defaults
pip                       10.0.1                   py35_0    defaults
prometheus_client         0.3.1            py35h28b3542_0    defaults
prompt_toolkit            1.0.15           py35hc09de7a_0    defaults
psutil                    5.4.7            py35h14c3975_0    defaults
ptyprocess                0.6.0                    py35_0    defaults
pyasn1                    0.4.4            py35h28b3542_0    defaults
pyasn1-modules            0.2.2                    py35_0    defaults
pycodestyle               2.4.0                    py35_0    defaults
pycparser                 2.18                     py35_1    defaults
pyflakes                  2.0.0                    py35_0    defaults
pygments                  2.2.0            py35h0f41973_0    defaults
pylint                    2.1.1                    py35_0    defaults
pyopenssl                 18.0.0                   py35_0    defaults
pyparsing                 2.2.0                    py35_1    defaults
pyqt                      5.9.2            py35h22d08a2_1    defaults
pysocks                   1.6.8                    py35_0    defaults
python                    3.5.6                hc3d631a_0    defaults
python-dateutil           2.7.3                    py35_0    defaults
pytz                      2018.5                   py35_0    defaults
pyyaml                    3.13             py35h14c3975_0    defaults
pyzmq                     17.1.2           py35h14c3975_0    defaults
qt                        5.9.6                h8703b6f_2    defaults
qtawesome                 0.4.4            py35hd68ff89_0    defaults
qtconsole                 4.4.1                    py35_0    defaults
qtpy                      1.5.0                    py35_0    defaults
readline                  7.0                  h7b6447c_5    defaults
requests                  2.19.1                   py35_0    defaults
rope                      0.11.0                   py35_0    defaults
scipy                     1.0.0            py35hcbbe4a2_0    defaults
secretstorage             3.1.0                    py35_0    defaults
send2trash                1.5.0                    py35_0    defaults
service_identity          17.0.0           py35h28b3542_0    defaults
setuptools                40.2.0                   py35_0    defaults
simplegeneric             0.8.1                    py35_2    defaults
singledispatch            3.4.0.3          py35h0cd4ec3_0    defaults
sip                       4.19.12          py35he6710b0_0    defaults
six                       1.11.0                   py35_1    defaults
snowballstemmer           1.2.1            py35h5435977_0    defaults
sphinx                    1.7.8                    py35_0    defaults
sphinx_rtd_theme          0.4.1                    py35_0    defaults
sphinxcontrib             1.0                      py35_1    defaults
sphinxcontrib-websupport  1.1.0                    py35_1    defaults
spyder                    3.3.1                    py35_1    defaults
spyder-kernels            0.2.6                    py35_0    defaults
sqlite                    3.24.0               h84994c4_0    defaults
terminado                 0.8.1                    py35_1    defaults
testpath                  0.3.1            py35had42eaf_0    defaults
tk                        8.6.8                hbc83047_0    defaults
tornado                   5.1              py35h14c3975_0    defaults
traitlets                 4.3.2            py35ha522a97_0    defaults
twisted                   18.7.0           py35h14c3975_1    defaults
typed-ast                 1.1.0            py35h20cf15d_0    defaults
typing                    3.6.6                    py35_0    defaults
urllib3                   1.23                     py35_0    defaults
wcwidth                   0.1.7            py35hcd08066_0    defaults
webencodings              0.5.1                    py35_1    defaults
wheel                     0.31.1                   py35_0    defaults
widgetsnbextension        3.4.1                    py35_0    defaults
wrapt                     1.10.11          py35h14c3975_2    defaults
xz                        5.2.4                h14c3975_4    defaults
yaml                      0.1.7                had09818_2    defaults
zeromq                    4.2.5                hf484d3e_1    defaults
zlib                      1.2.11               ha838bed_2    defaults
zope                      1.0                      py35_1    defaults
zope.interface            4.5.0            py35h14c3975_0    defaults

@grahnavard
Copy link

I had a similar issue, and I changed the owner of the folder which has anacond3, and that resolved the issue. I tried to install different packages.
sudo chown -R MY_USER_NAME /usr/local/bin/anaconda3

@github-actions
Copy link

Hi there, thank you for your contribution to Conda!

This issue has been automatically marked as stale because it has not had recent activity. It will be closed automatically if no further activity occurs.

If you would like this issue to remain open please:

  1. Verify that you can still reproduce the issue in the latest version of Conda

  2. Comment that the issue is still reproducible and include:

  • What version of Conda you reproduced the issue on
  • What OS and version you reproduced the issue on
  • What steps you followed to reproduce the issue
  1. It would also be helpful to have the output of the following commands available:
  • conda info
  • conda config --show-sources
  • conda list --show-channel-urls

NOTE: If this issue was closed prematurely, please leave a comment and we will gladly reopen the issue.

In case this issue was originally about a project that is covered by the Anaconda issue tracker (e.g. Anaconda, Miniconda, packages built by Anaconda, Inc. like Anaconda Navigator etc), please reopen the issue there again.

Thanks!

@github-actions github-actions bot added the stale [bot] marked as stale due to inactivity label Nov 27, 2021
@github-actions
Copy link

Hi again!

This issue has been closed since it has not had recent activity.
Please don't hesitate to leave a comment if that was done prematurely.

Thank you for your contribution.

@github-actions github-actions bot added the stale::closed [bot] closed after being marked as stale label Feb 26, 2022
@github-actions github-actions bot added the locked [bot] locked due to inactivity label Feb 27, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity stale::closed [bot] closed after being marked as stale stale [bot] marked as stale due to inactivity
Projects
None yet
Development

No branches or pull requests

2 participants