Anaconda updated from 4.2.0 to 4.3.0 (python3.5 updated to python3.6)

background

I was able to update the Anaconda version to the latest 4.3.0 by running the following command, but the python version remains 3.5 and not updated to 3.6. (Only updated from python3.5.x to python3.5.y)

$ conda update conda
$ conda update --all

Implementation content

I tried to install python3.6 by specifying the version, but I cannot install it with the following error.

$ conda install python=3.6
Fetching package metadata .........
Solving package specifications: .


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

Uninstall the package that is causing the error. (Is it related to notebook from the name?)

$ conda uninstall _nb_ext_conf nb_anacondacloud
Fetching package metadata .........
Solving package specifications: .

Package plan for package removal in environment /home/takamatu/apps/anaconda3:

The following packages will be REMOVED:

    _nb_ext_conf:     0.3.0-py35_0
    nb_anacondacloud: 1.2.0-py35_0

Proceed ([y]/n)?

I get an error with another package.

$ conda install python=3.6
Fetching package metadata .........
Solving package specifications: .


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

Also uninstall.

$ conda uninstall argcomplete argparse
Fetching package metadata .........
Solving package specifications: .

Package plan for package removal in environment /home/takamatu/apps/anaconda3:

The following packages will be REMOVED:

    anaconda:    4.3.0-np111py35_0
    argcomplete: 1.0.0-py35_1

Proceed ([y]/n)?

I was able to install python3.6.

$ conda install python=3.6
Fetching package metadata .........
Solving package specifications: .

Package plan for installation in environment /home/takamatu/apps/anaconda3:

The following packages will be UPDATED:

    _license:           1.1-py35_1         --> 1.1-py36_1
    alabaster:          0.7.9-py35_0       --> 0.7.9-py36_0
    anaconda-clean:     1.1.0-py35_0       --> 1.1.0-py36_0

≪Omitted≫

    xlrd:               1.0.0-py35_0       --> 1.0.0-py36_0
    xlsxwriter:         0.9.6-py35_0       --> 0.9.6-py36_0
    xlwt:               1.2.0-py35_0       --> 1.2.0-py36_0

The following packages will be DOWNGRADED due to dependency conflicts:

    dynd-python:        0.7.2-py35_0       --> removed-0

Proceed ([y]/n)?

dynd-python-re 100% |########################################################################| Time: 0:00:00   7.60 kB/s
anaconda-clean 100% |########################################################################| Time: 0:00:00   2.46 MB/s
entrypoints-0. 100% |########################################################################| Time: 0:00:00   4.44 MB/s

≪Omitted≫

conda-build-2. 100% |########################################################################| Time: 0:00:00  10.11 MB/s
jupyter_consol 100% |########################################################################| Time: 0:00:00   6.53 MB/s
spyder-3.1.3-p 100% |########################################################################| Time: 0:00:00  11.64 MB/s

Check what remains in the python3.5 series package.

$ conda list | grep 35
nb_conda                  2.0.0                    py35_0
nb_conda_kernels          2.0.0                    py35_0
nbpresent                 3.0.2                    py35_0

Delete it for the time being.

$ conda uninstall nb_conda nb_conda_kernels nbpresent
Fetching package metadata .........
Solving package specifications: .

Package plan for package removal in environment /home/takamatu/apps/anaconda3:

The following packages will be REMOVED:

    nb_conda:         2.0.0-py35_0
    nb_conda_kernels: 2.0.0-py35_0
    nbpresent:        3.0.2-py35_0

Proceed ([y]/n)?

Finally, update the package.

$ conda update --all
Fetching package metadata .........
Solving package specifications: .

Package plan for installation in environment /home/takamatu/apps/anaconda3:

The following packages will be UPDATED:

    fontconfig: 2.12.1-2 --> 2.12.1-3
    libgcc:     4.8.5-2  --> 5.2.0-0

Proceed ([y]/n)?

Supplement

The deleted nb_ * package seemed to be related to notebook, but it didn't exist in the environment where Anaconda 4.3.0 was newly installed, so I decided that it would be okay to delete it.

Recommended Posts

Anaconda updated from 4.2.0 to 4.3.0 (python3.5 updated to python3.6)
Updated to Python 2.7.9
Changes from Python 3.0 to Python 3.5
Changes from Python 2 to Python 3.0
progate Python learning memo (updated from time to time)
From Python environment construction to virtual environment construction with anaconda
Post from Python to Slack
Cheating from PHP to Python
Use MySQL from Anaconda (python)
Switch from python2.7 to python3.6 (centos7)
Connect to sqlite from python
Machine learning python code summary (updated from time to time)
How to install python using anaconda
vtkXMLUnstructuredGridReader Summary (updated from time to time)
vtkOpenFOAMReader Summary (Updated from time to time)
Engineer vocabulary (updated from time to time)
Create folders from '01' to '12' with python
[Lambda] [Python] Post to Twitter from Lambda!
Connect to utf8mb4 database from python
Tensorflow memo [updated from time to time]
Python (from first time to execution)
Post images from Python to Tumblr
How to access wikipedia from python
Python to switch from another language
Did not change from Python 2 to 3
Update Python on Mac from 2 to 3
[Python] Fluid simulation: From linear to non-linear
Python 3.3 in Anaconda
Change Python 64bit environment to 32bit environment with Anaconda
From Python to using MeCab (and CaboCha)
How to update Google Sheets from Python
Send a message from Python to Slack
I want to use jar from python
Convert from katakana to vowel kana [python]
Push notification from Python server to Android
Sum from 1 to 10
sql from python
Connecting from python to MySQL on CentOS 6.4
vtkClipPolyData / DataSet Summary (Updated from time to time)
Porting and modifying doublet-solver from python2 to python3.
How to access RDS from Lambda (python)
MeCab from Python
pyenv + anaconda + python3
Python> Output numbers from 1 to 100, 501 to 600> For csv
[Updated from time to time] PostmarketOS related notes
Summary of vtkThreshold (updated from time to time)
How to add python module to anaconda environment
Convert from Markdown to HTML in Python
Change the active version in Pyenv from anaconda to plain Python
[Amazon Linux] Switching from Python 2 series to Python 3 series
[Note] AI / machine learning / python related websites [updated from time to time]
API explanation to touch mastodon from python
Connect to coincheck's Websocket API from Python
"Backport" to python 2
Send a message from Slack to a Python server
Summary of gcc options (updated from time to time)
Edit Excel from Python to create a PivotTable
How to open a web browser from python
[Updated from time to time] LetCode algorithm and library
Study from Python Hour7: How to use classes
[Python] Convert from DICOM to PNG or CSV