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
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)?
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