スポンサードリンク

非常に重宝しているPythonのパッケージであるAnacondaに同梱されている
Spyderを開発環境として利用させてもらっています。

作成しているプログラムがWEBアプリとかではなく
スクリプトで実行させるものなので
Spyderはコーディングと実行が手軽にできて
便利に使用しています。

そのSpyderですが、アップデート通知が表示されます。
こんなやつです。

「Releases」とか「Installation」とかのリンクをクリックしてみても何も起きません。
「OK」ボタンも反応しません。

仕方がないので右上の「×」ボタンで閉じるのですが、
よく使うSpyderなので、バージョンアップしておこうと思ったので、
バージョンアップ方法をメモしておきます。

まず、Spyderを開いている場合、念のため閉じておきます。

アップデートは、コマンドプロンプトを開いて以下のコマンドを実行します。

pip install --upgrade spyder

アップデートが実行されます。
私のパソコンは低スペックのためか、結構時間がかかりました。

>pip install --upgrade spyder
Collecting spyder
  Downloading spyder-3.0.2-py3-none-any.whl (3.4MB)
    100% |################################| 3.4MB 92kB/s
Collecting qtawesome (from spyder)
  Downloading QtAwesome-0.4.1-py2.py3-none-any.whl (150kB)
    100% |################################| 153kB 480kB/s
Collecting nbconvert (from spyder)
  Downloading nbconvert-5.0.0-py2.py3-none-any.whl (371kB)
    100% |################################| 378kB 239kB/s
Collecting pyzmq (from spyder)
  Downloading pyzmq-16.0.2-cp35-cp35m-win_amd64.whl (917kB)
    100% |################################| 921kB 135kB/s
Collecting psutil (from spyder)
  Downloading psutil-5.0.1-cp35-cp35m-win_amd64.whl (181kB)
    100% |################################| 184kB 211kB/s
Requirement already up-to-date: pickleshare in e:\anaconda3\lib\site-packages (from spyder)
Collecting sphinx (from spyder)
  Downloading Sphinx-1.5.1-py2.py3-none-any.whl (1.6MB)
    100% |################################| 1.6MB 167kB/s
Requirement already up-to-date: rope-py3k in e:\anaconda3\lib\site-packages (from spyder)
Requirement already up-to-date: jedi in e:\anaconda3\lib\site-packages (from spyder)
Requirement already up-to-date: pygments>=2.0 in e:\anaconda3\lib\site-packages (from spyder)
Collecting pyflakes (from spyder)
  Downloading pyflakes-1.5.0-py2.py3-none-any.whl (225kB)
    100% |################################| 225kB 361kB/s
Collecting pylint (from spyder)
  Downloading pylint-1.6.4-py2.py3-none-any.whl (569kB)
    100% |################################| 573kB 288kB/s
Collecting qtpy>=1.1.0 (from spyder)
  Downloading QtPy-1.2.0-py2.py3-none-any.whl
Requirement already up-to-date: qtconsole>=4.2.0 in e:\anaconda3\lib\site-packages (from spyder)
Requirement already up-to-date: pep8 in e:\anaconda3\lib\site-packages (from spyder)
Requirement already up-to-date: six in e:\anaconda3\lib\site-packages (from qtawesome->spyder)
Collecting nbformat (from nbconvert->spyder)
  Downloading nbformat-4.2.0-py2.py3-none-any.whl (153kB)
    100% |################################| 153kB 446kB/s
Collecting pandocfilters>=1.4.1 (from nbconvert->spyder)
  Downloading pandocfilters-1.4.1.tar.gz
Collecting jinja2 (from nbconvert->spyder)
  Downloading Jinja2-2.9.4-py2.py3-none-any.whl (274kB)
    100% |################################| 276kB 371kB/s
Collecting traitlets>=4.2 (from nbconvert->spyder)
  Downloading traitlets-4.3.1-py2.py3-none-any.whl (74kB)
    100% |################################| 81kB 441kB/s
Collecting jupyter-core (from nbconvert->spyder)
  Downloading jupyter_core-4.2.1-py2.py3-none-any.whl (125kB)
    100% |################################| 133kB 382kB/s
Collecting testpath (from nbconvert->spyder)
  Downloading testpath-0.3-py2.py3-none-any.whl (82kB)
    100% |################################| 92kB 395kB/s
Requirement already up-to-date: mistune!=0.6 in e:\anaconda3\lib\site-packages (from nbconvert->spyder)
Collecting bleach (from nbconvert->spyder)
  Downloading bleach-1.5.0-py2.py3-none-any.whl
Collecting entrypoints>=0.2.2 (from nbconvert->spyder)
  Downloading entrypoints-0.2.2-py2.py3-none-any.whl
Collecting docutils>=0.11 (from sphinx->spyder)
  Downloading docutils-0.13.1-py3-none-any.whl (536kB)
    100% |################################| 542kB 281kB/s
Requirement already up-to-date: imagesize in e:\anaconda3\lib\site-packages (from sphinx->spyder)
Requirement already up-to-date: colorama>=0.3.5; sys_platform == "win32" in e:\anaconda3\lib\site-packages (from sphinx->spyder)
Requirement already up-to-date: babel!=2.0,>=1.3 in e:\anaconda3\lib\site-packages (from sphinx->spyder)
Collecting requests (from sphinx->spyder)
  Downloading requests-2.12.4-py2.py3-none-any.whl (576kB)
    100% |################################| 583kB 204kB/s
Requirement already up-to-date: alabaster<0.8,>=0.7 in e:\anaconda3\lib\site-packages (from sphinx->spyder)
Requirement already up-to-date: snowballstemmer>=1.1 in e:\anaconda3\lib\site-packages (from sphinx->spyder)
Collecting mccabe (from pylint->spyder)
  Downloading mccabe-0.5.3-py2.py3-none-any.whl
Collecting astroid<1.5.0,>=1.4.5 (from pylint->spyder)
  Downloading astroid-1.4.9-py2.py3-none-any.whl (213kB)
    100% |################################| 215kB 220kB/s
Collecting isort>=4.2.5 (from pylint->spyder)
  Downloading isort-4.2.5-py2.py3-none-any.whl (40kB)
    100% |################################| 40kB 372kB/s
Requirement already up-to-date: jsonschema!=2.5.0,>=2.4 in e:\anaconda3\lib\site-packages (from nbformat->nbconvert->spyder)
Requirement already up-to-date: ipython-genutils in e:\anaconda3\lib\site-packages (from nbformat->nbconvert->spyder)
Requirement already up-to-date: MarkupSafe>=0.23 in e:\anaconda3\lib\site-packages (from jinja2->nbconvert->spyder)
Collecting decorator (from traitlets>=4.2->nbconvert->spyder)
  Downloading decorator-4.0.11-py2.py3-none-any.whl
Collecting html5lib!=0.9999,!=0.99999,<0.99999999,>=0.999 (from bleach->nbconvert->spyder)
  Downloading html5lib-0.9999999.tar.gz (889kB)
    100% |################################| 890kB 146kB/s
Collecting pytz>=0a (from babel!=2.0,>=1.3->sphinx->spyder)
  Downloading pytz-2016.10-py2.py3-none-any.whl (483kB)
    100% |################################| 491kB 199kB/s
Collecting lazy-object-proxy (from astroid<1.5.0,>=1.4.5->pylint->spyder)
  Downloading lazy_object_proxy-1.2.2-cp35-cp35m-win_amd64.whl
Collecting wrapt (from astroid<1.5.0,>=1.4.5->pylint->spyder)
  Downloading wrapt-1.10.8.tar.gz
Building wheels for collected packages: pandocfilters, html5lib, wrapt
  Running setup.py bdist_wheel for pandocfilters ... done
  Stored in directory: C:\Users\hoge\AppData\Local\pip\Cache\wheels\d4\01\68\49055c80b9f01ccb49241e73c8019628605064730941d70b56
  Running setup.py bdist_wheel for html5lib ... done
  Stored in directory: C:\Users\hoge\AppData\Local\pip\Cache\wheels\6f\85\6c\56b8e1292c6214c4eb73b9dda50f53e8e977bf65989373c962
  Running setup.py bdist_wheel for wrapt ... done
  Stored in directory: C:\Users\hoge\AppData\Local\pip\Cache\wheels\19\8a\01\20cf74c3f38d49ef8e9b9aa7ffd38cefff79bad9f6f2c651f0
Successfully built pandocfilters html5lib wrapt
Installing collected packages: qtpy, qtawesome, decorator, traitlets, jupyter-core, nbformat, pandocfilters, jinja2, testpath, html5lib, bleach, entrypoints, nbconvert, pyzmq, psutil, docutils, requests, sphinx, pyflakes, mccabe, lazy-object-proxy, wrapt, astroid, isort, pylint, spyder, pytz
  Found existing installation: QtPy 1.1.2
    Uninstalling QtPy-1.1.2:
      Successfully uninstalled QtPy-1.1.2
  Found existing installation: QtAwesome 0.3.3
    Uninstalling QtAwesome-0.3.3:
      Successfully uninstalled QtAwesome-0.3.3
  Found existing installation: decorator 4.0.10
    Uninstalling decorator-4.0.10:
      Successfully uninstalled decorator-4.0.10
  Found existing installation: traitlets 4.3.0
    DEPRECATION: Uninstalling a distutils installed project (traitlets) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
    Uninstalling traitlets-4.3.0:
      Successfully uninstalled traitlets-4.3.0
  Found existing installation: jupyter-core 4.2.0
    DEPRECATION: Uninstalling a distutils installed project (jupyter-core) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
    Uninstalling jupyter-core-4.2.0:
      Successfully uninstalled jupyter-core-4.2.0
  Found existing installation: nbformat 4.1.0
    DEPRECATION: Uninstalling a distutils installed project (nbformat) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
    Uninstalling nbformat-4.1.0:
      Successfully uninstalled nbformat-4.1.0
  Found existing installation: Jinja2 2.8
    Uninstalling Jinja2-2.8:
      Successfully uninstalled Jinja2-2.8
  Found existing installation: nbconvert 4.2.0
    DEPRECATION: Uninstalling a distutils installed project (nbconvert) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
    Uninstalling nbconvert-4.2.0:
      Successfully uninstalled nbconvert-4.2.0
  Found existing installation: pyzmq 15.4.0
    DEPRECATION: Uninstalling a distutils installed project (pyzmq) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
    Uninstalling pyzmq-15.4.0:
      Successfully uninstalled pyzmq-15.4.0
  Found existing installation: psutil 4.3.1
    DEPRECATION: Uninstalling a distutils installed project (psutil) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
    Uninstalling psutil-4.3.1:
      Successfully uninstalled psutil-4.3.1
  Found existing installation: docutils 0.12
    DEPRECATION: Uninstalling a distutils installed project (docutils) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
    Uninstalling docutils-0.12:
      Successfully uninstalled docutils-0.12
  Found existing installation: requests 2.11.1
    Uninstalling requests-2.11.1:
      Successfully uninstalled requests-2.11.1
  Found existing installation: sphinx 1.4.6
Cannot remove entries from nonexistent file e:\anaconda3\lib\site-packages\easy-install.pth

>

アップデート完了後、Spyderを立ち上げます。

あれ、まだ表示される・・・。

バージョンを表記させると、変わっていない・・・。

調べてみると、Spyder単体のみではなく、
Anacondaそのものをアップデートするというものがありました。

やってみます。

>conda update conda
Fetching package metadata .........
Solving package specifications: ..........

Package plan for installation in environment e:\Anaconda3:

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    conda-env-2.6.0            |                0          498 B
    requests-2.12.4            |           py35_0         791 KB
    pyopenssl-16.2.0           |           py35_0          70 KB
    conda-4.3.4                |           py35_0         534 KB
    ------------------------------------------------------------
                                           Total:         1.4 MB

The following NEW packages will be INSTALLED:

    conda-env: 2.6.0-0

The following packages will be UPDATED:

    conda:     4.2.9-py35_0  --> 4.3.4-py35_0
    pyopenssl: 16.0.0-py35_0 --> 16.2.0-py35_0
    requests:  2.11.1-py35_0 --> 2.12.4-py35_0

Proceed ([y]/n)? y

Fetching packages ...
conda-env-2.6. 100% |###############################| Time: 0:00:00  99.39 kB/s
requests-2.12. 100% |###############################| Time: 0:00:00   1.40 MB/s
pyopenssl-16.2 100% |###############################| Time: 0:00:00   1.84 MB/s
conda-4.3.4-py 100% |###############################| Time: 0:00:00   1.45 MB/s
Extracting packages ...
[      COMPLETE      ]|##################################################| 100%
Unlinking packages ...
[      COMPLETE      ]|##################################################| 100%
Linking packages ...
[      COMPLETE      ]|##################################################| 100%

>

これでも変わりません・・・。

パッケージ一式のアップデートがあったので、今度はこれをやってみます。

>conda update --all

何度か以下のメッセージを出して止まりました。

WARNING conda.gateways.disk:exp_backoff_fn(47): Uncaught backoff with errno 41

どうもリトライしろということのようなので、
何度か実行していると大丈夫そうなメッセージが返ってきました。

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

# All requested packages already installed.
# packages in environment at e:\Anaconda3:
#


>

Syderのバージョンを確認してみると、無事にバージョンアップされていました。

スポンサードリンク