您好,登錄后才能下訂單哦!
這篇文章主要介紹python中jupyter基礎操作的示例分析,文中介紹的非常詳細,具有一定的參考價值,感興趣的小伙伴們一定要看完!
Jupyter Notebook是一個開源的Web應用程序,允許用戶創建和共享包含代碼、方程式、可視化和文本的文檔。
它的用途包括:數據清理和轉換、數值模擬、統計建模、數據可視化、機器學習等等
python -m pip install --upgrade pip -i https://pypi.douban.com/simple
C:\Users\籃球>python -m pip install --upgrade pip -i https://pypi.douban.com/simple Looking in indexes: https://pypi.douban.com/simple Collecting pip Downloading https://pypi.doubanio.com/packages/ca/31/b88ef447d595963c01060998cb329251648acf4a067721b0452c45527eb8/pip-21.2.4-py3-none-any.whl (1.6 MB) |████████████████████████████████| 1.6 MB 1.1 MB/s Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 20.1.1 Uninstalling pip-20.1.1: Successfully uninstalled pip-20.1.1 Successfully installed pip-21.2.4
#安裝jupyter pip install jupyter #有錯誤提升的話,則需要安裝依賴包,No module named 'x' x顯示什么就安裝什么依賴包 pip install maturin #安裝插件,提高效率 pip install jupyter_contrib_nbextensions #更新jupyter pip install --upgrade jupyter
#按windows鍵+r 輸入:jupyter-notebook #google瀏覽器 輸入:127.0.0.1:8888 或者 localhost:8888
看到這個頁面則成功!
C:\>CD jupyter C:\jupyter> #windows命令創建文件 C:\jupyter>jupyter notebook --generate-config #生成文件 C:\jupyter>jupyter notebook password #設置密碼 x x x x #或者查看token輸入登錄 C:\jupyter>jupyter notebook list
E:\>jupyter notebook [W 21:12:13.097 NotebookApp] Terminals not available (error was No module named 'winpty.cywinpty') [I 21:12:13.099 NotebookApp] Serving notebooks from local directory: E:\ [I 21:12:13.099 NotebookApp] Jupyter Notebook 6.4.3 is running at: [I 21:12:13.102 NotebookApp] http://localhost:8888/ [I 21:12:13.102 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
看到此頁面則成功!!!
以上是“python中jupyter基礎操作的示例分析”這篇文章的所有內容,感謝各位的閱讀!希望分享的內容對大家有幫助,更多相關知識,歡迎關注億速云行業資訊頻道!
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。