The biggest significance of jupyter (previous ipythonnotebook) to me is to make the learning process and exploration process accumulate, as indicated by the notebook in its original name, as the recorder of learning, it is convenient for you to pick up the learning progress at any time. incremental advance has been using pycharm to write pandas programs some time ago. for big data development, development is generally a step by step, and pycharm is not suitable. Jupyter notebook is recommended on the internet. it is a web editor. it was originally part of IPython and was later split. Once installed, it was found that it was troublesome, and the online information was also relatively old, not suitable. I would like to share with you a summary.
I am a ubuntu system and I have installed it through pip.
Install pyzmq
Pyzmq is the Python binding of zeromq. Zeromq is a message Kernel. from the perspective of network communication, it is located on the session layer. it is available at the application layer, you can complete complex network communication without writing a socket function call line by yourself.
Installation Command:
pip install pyzmq
Install tornado
Tornado is a non-blocking server written in python. it uses epoll to manage connections and can process thousands of connections per second. it is an ideal Web real-time processing framework.
Installation Command:
pip install tornado
Install Jinja2
Jinja2 is the next widely used template engine in Python. its design concept comes from Django's template engine and extends its syntax and a series of powerful functions. The most significant one is the addition of the sandbox execution function and the optional automatic escape function, which is very important for the security of most applications.
Installation Command:
pip install jinja2
Install jsonschema
Jasonschema is used to describe the Json data format. The Json mode has multiple purposes, one of which is instance authentication.
Installation Command: pip install jsonschema
Install jupyter
As you can see from the components installed above, jupyter is actually a web application of tornado framework and uses MQ for message management.
Installation Command: pip install jupyter
This installation has encountered some problems. if jupyter is successfully installed, you can only edit the document, but cannot run python programs.
Later, I failed to execute the pip list, upgraded pip, uninstalled jupyter, and re-installed pip. Ubuntu installation has permission issues. I finally installed jupyter with the root permission.