Problem: jupyter notebook cannot open ipynb file
The page reports error 500: internal Sever Error
Problem solving process:
1. Try to uninstall jupyter according to the online tutorial, and then reinstall it, but it doesn’t work;
2. Uninstall tornado according to the online tutorial, and then install tornado. There is no limited version, so it doesn’t work;
3. According to the online tutorial:
enter in the Anaconda prompt conda list
to see all Package version.
I found that my tornado version is 6.1. After uninstalling it, I used the command pip install tornado==5.1.1
to lower the version to install version 5.1.1 (mine is like this, the situation is different). It can be opened and it is useful;
but after I closed it and reopened it with the icon, an error message appeared. A crash occurred, and crashes have occurred before. It seems to be some incompatibility issues between expansion packs;
1) I will handle it directly according to the previous method. First, use the command: pip uninstall jupyter
uninstall. You will be asked to confirm. Just enter y.
Then use pip install jupyter
installation, use the icon again, and you can open it.
Finally, it will show that the installation is successful.
At this time, it is discovered that the version of tornado has changed to 6.1, and then...
crying...what a sin! ! !
At this time, I entered the Anaconda prompt again and first checked jupyter --version
the jupyter version. At this time, there was a new problem.
An error was reported: AttributeError: module 'tornado.web' has no attribute 'asynchronous'
What's terrible is that I checked online and told me:
It turns out that tornado.web.asynchronous has been deprecated since tornado6.
There will be no problem if you downgrade tornado back to 5.1.1.
Then I use conda install tornado=5.1.1
downgrade and try again, and it will ask you to confirm and enter y.
At this time, it can be opened, and the file can be opened after entering it.
There is no crash after closing it again, but I also downgraded the version before. Why does this happen? Is it because I use pip and my conda environment. Just solve the problem and keep fighting.
Follow [Qingyue Learning Club] and work together!