Jupiter notebookでPythonを使いたいです。
先日、ゼロからPythonを始めようとしている初心者です。
PythonとAnaconda3、Jupiterをインストールし、
Jupiter notebookを開こうとしたところ
ウインドウが一瞬だけ出て、すぐ閉じる現象が起こっています。
内容はこれと全く同じです。
https://teratail.com/questions/114708
これに書いてあるように、
Anaconda pronpt内でこれを試したのですが
pip install --upgrade --force-reinstall --no-cache-dir jupyter
発生している問題・エラーメッセージ
100% |████████████████████████████████| 102kB 4.1MB/s Collecting attrs>=17.4.0 (from jsonschema!=2.5.0,>=2.4->nbformat>=4.2.0->ipywidg ets->jupyter) Downloading https://files.pythonhosted.org/packages/23/96/d828354fa2dbdf216eaa 7b7de0db692f12c234f7ef888cc14980ef40d1d2/attrs-19.1.0-py2.py3-none-any.whl Collecting pyrsistent>=0.14.0 (from jsonschema!=2.5.0,>=2.4->nbformat>=4.2.0->ip ywidgets->jupyter) Downloading https://files.pythonhosted.org/packages/8c/46/4e93ab8a379d7efe93f2 0a0fb8a27bdfe88942cc954ab0210c3164e783e0/pyrsistent-0.14.11.tar.gz (104kB) 100% |████████████████████████████████| 112kB 5.1MB/s spyder 3.3.2 requires pyqt5<5.10; python_version >= "3", which is not installed. Installing collected packages: tornado, decorator, ipython-genutils, six, traitl ets, jupyter-core, pyzmq, python-dateutil, jupyter-client, colorama, backcall, p ygments, setuptools, parso, jedi, pickleshare, wcwidth, prompt-toolkit, ipython, ipykernel, attrs, pyrsistent, jsonschema, nbformat, Send2Trash, pywinpty, termi nado, prometheus-client, MarkupSafe, jinja2, testpath, pandocfilters, defusedxml , entrypoints, mistune, webencodings, bleach, nbconvert, notebook, widgetsnbexte nsion, ipywidgets, qtconsole, jupyter-console, jupyter Found existing installation: tornado 5.1.1 Uninstalling tornado-5.1.1: Could not install packages due to an EnvironmentError: [WinError 5] アクセスが拒 否されました。: 'c:\programdata\anaconda3\lib\site-packages\tornado-5.1.1-p y3.7.egg-info\dependency_links.txt' Consider using the `--user` option or check the permissions. C:\Users\Panasonic>
該当のソースコード
Python?
試したこと
Jupiter notebookが開かないことへの対策として、
Anaconda Pronptで上記を試したところエラーが出ている状態です。
このエラーに対しては、セキュリティソフト(ウィルスバスターなど)の設定変更をしました。
ウィルスバスターなどがファイルの変更を常時監視するような
機能を持っているようなのでこれをOFFにしました。
具体的には、設定から例外設定の項に飛び、
Anacondaが格納されているフォルダを例外対象にしました。
ただ、これをやった後も同じエラーが出ます。。
ご経験者の方、これはどうしたら良いのでしょうか?
補足情報(FW/ツールのバージョンなど)
・Windows7(64bit)
・Python 3.7.1(以前インストールした3.7.2もあります)
・Anaconda3(64bit)
回答2件
あなたの回答
tips
プレビュー