のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

AttributeError: type object 'IOLoop' has no attribute 'initialized'

(fastai-cpu) >jupyter notebook
Traceback (most recent call last):
  File "C:\Anaconda3_64\envs\fastai-cpu\Scripts\jupyter-notebook-script.py", 
   line 6, in <module>
    from notebook.notebookapp import main
  File "C:\Anaconda3_64\envs\fastai-cpu\lib\site-packages\notebook\notebookapp.py", 
     line 45, in <module>
    ioloop.install()
  File "C:\Anaconda3_64\envs\fastai-cpu\lib\site-packages\zmq\eventloop\ioloop.py", 
     line 210, in install
    assert (not ioloop.IOLoop.initialized()) or \
AttributeError: type object 'IOLoop' has no attribute 'initialized'

管理者のコマンドプロンプトから起動したら、起動できた。

tornado5.0だと、まだダメなのかな。
github.com

(fastai-cpu) >conda uninstall tornado
Solving environment: done
==> WARNING: A newer version of conda exists. <==
  current version: 4.4.10
  latest version: 4.4.11
Please update conda by running
    $ conda update -n base conda
## Package Plan ##
  environment location: C:\Anaconda3_64\envs\fastai-cpu
  removed specs:
    - tornado
The following packages will be REMOVED:
    jupyter: 1.0.0-py36_4
    seaborn: 0.8.1-py36h9b69545_0
    tornado: 5.0-py36_0
Proceed ([y]/n)? y
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
(fastai-cpu) >conda install tornado=4.5.2
Solving environment: done
==> WARNING: A newer version of conda exists. <==
  current version: 4.4.10
  latest version: 4.4.11
Please update conda by running
    $ conda update -n base conda
## Package Plan ##
  environment location: C:\Anaconda3_64\envs\fastai-cpu
  added / updated specs:
    - tornado=4.5.2
The following packages will be downloaded:
    package                    |            build
    ---------------------------|-----------------
    tornado-4.5.2              |   py36h57f6048_0         622 KB
The following NEW packages will be INSTALLED:
    tornado: 4.5.2-py36h57f6048_0
Proceed ([y]/n)?
Downloading and Extracting Packages
tornado 4.5.2: ############################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done