In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-12 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly introduces the example analysis of the basic operation of jupyter in python, which is very detailed and has a certain reference value. Friends who are interested must read it!
Introduction to 1.jupyter
Jupyter Notebook is an open source Web application that allows users to create and share documents that contain code, equations, visualization, and text.
Its uses include: data cleaning and conversion, numerical simulation, statistical modeling, data visualization, machine learning, etc.
2.jupyter basic operation 2.1windows updates pip library
Python-m pip install-- upgrade pip-I https://pypi.douban.com/simple
C:\ Users\ basketball > python-m pip install-- upgrade pip-I https://pypi.douban.com/simpleLooking in indexes: https://pypi.douban.com/simpleCollecting pip Downloading https://pypi.doubanio.com/packages/ca/31/b88ef447d595963c01060998cb329251648acf4a067721b0452c45527eb8/pip-21.2.4-py3-none-any.whl (1.6MB) | ██ | 1.6 MB 1.1 MB/sInstalling collected packages: pip Attempting uninstall: pip Found existing installation: pip 20.1.1 Uninstalling pip-20.1.1: Successfully uninstalled pip-20.1.1Successfully installed pip-21.2.42.2jupyter installation # install jupyterpip install jupyter# if there is a wrong upgrade Then you need to install the dependency package. Install the dependency package pip install maturin# plug-in as No module named 'x'x shows, to improve the efficiency of pip install jupyter_contrib_nbextensions# update jupyter pip install-- upgrade jupyter2.3 first start jupyter# press jupyter# + r input: jupyter-notebook#google browser input: 127.0.0.1 upgrade jupyter2.3 8888 or localhost:8888
If you see this page, you will succeed!
2.4 set password to enter jupyterC:\ > CD jupyterC:\ jupyter > # windows command create file C:\ jupyter > jupyter notebook-- generate-config # generate file C:\ jupyter > jupyter notebook password # set password x x x x # or view token input login C:\ jupyter > jupyter notebook list# run jupyter again
E:\ > jupyter notebook [W 21 NotebookApp 12 Terminals not available 13.097 NotebookApp] Terminals not available (error was No module named 'winpty.cywinpty') [I 21 Terminals not available 12 Terminals not available 13.099 NotebookApp] Serving notebooks from local directory: e:\ [I 21 NotebookApp 12 Terminals not available 13.099 NotebookApp] Jupyter Notebook 6.4.3 is running at: [I 21 NotebookApp 12 Terminals not available 13.102 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
If you see this page, you will succeed!
3. Create an jupyter text
Usage of 4.jupyter text 4.1 Save and download text
4.2 run and switch the code
4.3 more than code running
The above is all the contents of the article "sample Analysis of the basic Operation of jupyter in python". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.