smartnotebook安装对电脑有什么要求

smartnotebook安装对电脑有什么要求,第1张

对电脑的要求是:计算拿逗机 *** 作系统,WindowsXPSP3(ServicePack3),非迹敏粗此版本的系统,务必升级至SP3,本光盘。注意事项如下。

1、安装前完全关闭退出安装在该计算机中的360安全卫士姿镇,金山毒霸,瑞星等杀毒软件。

2、安装前关闭所有浏览器网页窗口,其它各类应用程序。

3、安装前请断开有线网络和无线网络连接。

4、如果电脑中已经安装了Notebook11.1及其以前版本,那么在安装新版之前最好将老版本的简体中文语言包御载。

直接使用Anaconda进行安装裤谨,安装过程简洁,不用考虑python环境搭建。

启动方法有以下几种

win+R 启动 运行 后,输入 cmd ,打开windows终端,键入 jupyter notebook ,就可以打开jupyter notebook

上述两种方法,打开jupyter notebook后,工作路径都在系统默认位置 ,如果要专门在某个文件夹下面进行分析,就比较麻烦。因此我推荐使用第三种方法。

进入某个要进行分析的文件夹位置,打开终端管理,然后键入 jupter notebook ,胡悉基就可打开。

打开之后,现有这个界面,不能关闭

然后打开默认浏览器陆镇,作为一个记事本样式打开

然后就能够在这个基础上 *** 作了

mac环境:MacBook Pro (Retina, 13-inch, Mid 2014),参见文章 Jupyter Notebooks 入门 ,按和指此文安装

*** 作如下:

xxx-laptop:~ xxx$python3 -m pip install --upgrade pip

xxx-laptop:~ xxx$ python3 -m pip install jupyter

结果咐棚铅如下:

Collecting jupyter

  Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x1023cdc50>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known',)': /simple/jupyter/

...

  Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x1023cd0f0>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known',)': /衡好simple/jupyter/

  Could not find a version that satisfies the requirement jupyter (from versions: )

No matching distribution found for jupyter

多次重试无效。

网上搜索错误“Could not find a version that satisfies the requirement jupyter”,有很多文章,没有按文章重试。

改用如下命令:

xxx-laptop:~ xxx$ pip3 install jupyter

结果:

Collecting jupyter

  Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x10a3f87f0>: Failed to establish a new connection: [Errno 65] No route to host',)': /packages/83/df/0f5dd132200728a86190397e1ea87cd76244e42d39ec5e88efd25b2abd7e/jupyter-1.0.0-py2.py3-none-any.whl

....

Exception:

Traceback (most recent call last):

  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip/_vendor/urllib3/connection.py", line 141, in _new_conn

    (self.host, self.port), self.timeout, **extra_kw)

  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip/_vendor/urllib3/util/connection.py", line 83, in create_connection

    raise err

  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip/_vendor/urllib3/util/connection.py", line 73, in create_connection

    sock.connect(sa)

OSError: [Errno 65] No route to host

....

0x10a417e80>: Failed to establish a new connection: [Errno 65] No route to host',))

You are using pip version 9.0.3, however version 20.1.1 is available.

You should consider upgrading via the 'pip install --upgrade pip' command.

xxx-laptop:~ xxx$ pip3 install --upgrade pip

Collecting pip

  Downloading https://files.pythonhosted.org/packages/43/84/23ed6a1796480a6f1a2d38f2802901d078266bda38388954d01d3f2e821d/pip-20.1.1-py2.py3-none-any.whl (1.5MB)

    100% |████████████████████████████████| 1.5MB 91kB/s

Installing collected packages: pip

  Found existing installation: pip 9.0.3

    Uninstalling pip-9.0.3:

      Successfully uninstalled pip-9.0.3

Successfully installed pip-20.1.1

升级PIP后,再次pip install jupyter

xxx-laptop:~ xxx$ pip install jupyter

Collecting jupyter

  Downloading jupyter-1.0.0-py2.py3-none-any.whl (2.7 kB)

Collecting jupyter-console

  Downloading jupyter_console-6.1.0-py2.py3-none-any.whl (21 kB)

Collecting qtconsole

  Downloading qtconsole-4.7.4-py2.py3-none-any.whl (118 kB)

    |████████████████████████████████| 118 kB 10 kB/s

Collecting nbconvert

  Downloading nbconvert-5.6.1-py2.py3-none-any.whl (455 kB)

    |████████████████████████████████| 455 kB 95 kB/s

...

完成后,执行jupyter:

jupyter

usage: jupyter [-h] [--version] [--config-dir] [--data-dir] [--runtime-dir]

              [--paths] [--json]

              [subcommand]

...

成功。

xxx-laptop:~ xxx$ jupyter notebook --generate-config

xxx-laptop:~ xxx$ cd .jupyter/

修改jupyter_notebook_config.py

c.NotebookApp.browser = u'chrome'

c.NotebookApp.notebook_dir = '/Users/xxx/workspace/jupyter'

c.NotebookApp.open_browser = True

保存,重启就可以了。


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/tougao/12538860.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-05-26
下一篇 2023-05-26

发表评论

登录后才能评论

评论列表(0条)

保存