After installing Anaconda and running "jupyter notebook", the browser does open a new tab. That's fine but when I tried to create a new notebook, I got the following error,
An error occurred while creating a new notebook. The error message is "Unexpected error while saving file: Untitled22.ipynb attempt to write a readonly database".
[I 20:49:39.626 NotebookApp] Creating new notebook in
[E 20:49:41.037 NotebookApp] Error while saving file: Untitled22.ipynb attempt t
o write a readonly database
Traceback (most recent call last):
File "C:\Users\Owner\Anaconda3\lib\site-packages\notebook\services\content
s\filemanager.py", line 421, in save
self.check_and_sign(nb, path)
File "C:\Users\Owner\Anaconda3\lib\site-packages\notebook\services\content
s\manager.py", line 440, in check_and_sign
self.notary.sign(nb)
File "C:\Users\Owner\Anaconda3\lib\site-packages\nbformat\sign.py", line 4
47, in sign
self.store.store_signature(signature, self.algorithm)
File "C:\Users\Owner\Anaconda3\lib\site-packages\nbformat\sign.py", line 2
09, in store_signature
(algorithm, digest, datetime.utcnow())
sqlite3.OperationalError: attempt to write a readonly database
[W 20:49:41.051 NotebookApp] Unexpected error while saving file: Untitled22.ipyn
b attempt to write a readonly database
[E 20:49:41.055 NotebookApp] {
"Host": "localhost:8888",
"Connection": "keep-alive",
"Content-Length": "19",
"Accept": "application/json, text/javascript, */*; q=0.01",
"X-Requested-With": "XMLHttpRequest",
"X-Xsrftoken": "2|0b4559d2|d01ce0a237f15c5d3125392a16473bd8|1502839716",
"User-Agent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36",
"Content-Type": "application/json",
"Accept-Encoding": "gzip, deflate, br",
"Accept-Language": "en-US,en;q=0.8,ja;q=0.6",
"Cookie": "_xsrf=2|0b4559d2|d01ce0a237f15c5d3125392a16473bd8|1502839716; u
sername-localhost-8888=\"2|1:0|10:1502844573|23:username-localhost-8888|44:MTYzZ
jlhOTE5NjI5NGZhODljZjE2NzAxNmZjMTllNWQ=|3b76d4e756f8b8fa9568da2550ece3fe77d8e1f6
573e082d1dd88bc5dce0aa91\""
}
[E 20:49:41.067 NotebookApp] 500 POST /api/contents (::1) 1429.05ms referer=http
://localhost:8888/tree
I uninstalled and reinstalled Anaconda but still has this error even I changed the installation folder.
Looks like the uninstallation didn't remove all files completely. I used native uninstallation of Anaconda and from the program uninstall from windows.
My OS is windows 7.