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.