SoFunction
Updated on 2024-10-30

jupyter installation summary

A while ago, I have been using pycharm to write pandas programs, for big data development, development is generally a step by step process, pycharm is not suitable. Online recommended the use of jupyter notebook, which is a web version of the editor, originally part of IPython, and later split out. I installed a handful of them, and found that they are more troublesome, and the information on the Internet is also relatively old and unsuitable. Summarize to share with you.

I'm on ubuntu and I installed it via pip.

Install pyzmq

Pyzmq is the Python binding of zeromq. zeromq is a messaging kernel , from the perspective of network communication , it is above the session layer , below the application layer , with it , you don't even need to write a line of your own socket function calls to complete the complexity of the network communication work .

Installation commands:

pip install pyzmq

Installing tornado

Tornado is a non-blocking server written in python , it uses epoll to manage connections , it can handle thousands of connections per second , is an ideal Web real-time processing framework .

Installation commands:

pip install tornado

Installing Jinja2

Jinja2 is the next widely used template engine for Python. His design ideas are derived from Django's template engine and extends its syntax and a series of powerful features. One of the most notable is the addition of sandboxing execution and optional auto-escaping, which is important for the security of most applications.

Installation commands:

pip install jinja2

Install jsonschema

The jasonschema is used to describe the Json data format. The Json schema has several uses, one of which is instance authentication.

Installation command: pip install jsonschema

Install jupyter

As you can see from the previously installed components, jupyter is actually a tornado framework web application that uses MQ for message management.

Installation command: pip install jupyter

This installation ran into some problems, the installation of jupyter was halfway successful, only documents could be edited, but no python program runs could be made.
Then it caused me to execute pip list also failed, finally upgraded pip a handful of times, then uninstalled jupyter, then reinstalled it, it worked fine. ubuntu installation also has permission problems, I finally installed jupyter through root privileges.