Issues related to the first use of jupyter notebook

This is a document for your own use. If there is any discrepancy, you can check it yourself!

I have never used jupyter notebook before, and I wanted to do it on a whim today. Then the newly purchased computer did not have any software such as python, so I first downloaded anaconda3 (which comes with jupyter notebook) and opened it successfully. Then Baidu finally figured out how to run the code written in the notes, but there was no response when running the code I wrote! The characters in the code are not as colorful as others! (The picture is gone)

I suspected that it was a problem with Python (anaconda3 comes with py39), so I downgraded the version to 3.6 (at this time I thought I had successfully downgraded it, but it was not)

But it still doesn’t work and there is no result. Please look for the tutorial again.

enter

jupyter notebook --generate-config

Report an error! It seems that some reading failed.

When I saw the tutorial, I entered jupyter notebook in the anaconda prompt and then automatically opened the web page. I just clicked on the one that came with it to open it.

 I thought it was an operational problem, but at this time the small screen when I entered jupyter notebook was black and disappeared instantly.

Later, I don’t know what I did, but I directly displayed this in the anaconda prompt.

 tried

destination pip uninstall pyzmq
Then pip install pyzmq.

 Useless

 Then I found the solution python -m pip install pyzmq -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

The jupyter notebook was successfully opened and the test was no problem. (There is a pit behind)

But there is something more in this position of mine 

 not sure what it is.

There is also a small episode in the middle. I originally set my computer username to Chinese. This was a big mistake! (I don’t know if it affects the problem of this article) But sooner or later it will be a problem, so I followed the tutorial (can’t find it, just create a new account first and then back it up and then change it in the registry), but I didn’t back it up, so I restarted after making the change, and then Everything on the desktop is gone, and the following scene occurs:

 As of now, I still don’t know the reason. After restarting, all the desktop files are in the "big big big big big big" desktop, not on the startup page, the pictures in it cannot be opened, and all browsing records and various records have disappeared.

Guess you like

Origin blog.csdn.net/qq_42712018/article/details/130066945
Recommended