安装python3    下载到 /opt/中 1.下载python3源码,选择3.6.7因为ipython依赖于>3.6的python环境wget https://www.python.org/ftp/python/3.6.7/Python-3.6.7.tar.xz2.解压缩源码包,去除xz后缀xz -d Python-3.6.7.tar.xz 3.解压缩源码包,去除.tar后缀tar -xf Python-3.6.7.tar4.解决编译安装python3所需的软件依赖   ********…
这是我自定义的Python 的安装目录 (D:\SoftWare\Python\Python36\Scripts) 1.Jupyter Notebook 和 pip 为了更加方便地写 Python 代码,还需要安装 Jupyter notebook. 利用 pip 安装 Jupyter notebook. 为什么要使用 Jupyter?参考: https://www.zhihu.com/question/37490497  pip: Python 的包管理工具,安装 Python 的同时已经安装…
一.ubuntu系统下安装完caffe后,安装 jupyter notebook. 在终端中执行,安装指令: sudo pip install jupyter 安装完成后运行 notebook : jupyter notebook 或 ipython notebook 二.ubuntu系统下,使用virtualenv安装完tensorfow后,安装 jupyter notebook. 主要步骤: 进入虚拟环境 source myproject/bin/activate 安装 IPykernel…
1. 利用image运行一个container sudo docker run -it --net=host tingting --net=host:让container可以上网,安装原来的sudo docker run -it tingting方法安装是不能联网的,不知道为什么,加入了--net=host后,container就可以联网了,但不知道还有其他更好的办法不,暂且使用这个方法 tingting:是image的名字 2. 在container内安装jupyter notebook pi…
1.使用pip安装Jupyter notebook: pip install jupyter notebook 2.创建Jupyter默认配置文件: jupyter notebook --generate-config 3.输入ipython,进入对话框: ipython 4.导入密码模块,设置密码,最后生成SHA1加密的密钥,保存密钥,如'sha1:XXXXXX': from notebook.auth import passwd passwd() 5.修改配置文件,设置密钥:: cd ~ v…
一,安装Jupyter notebook 环境:win10,python3.7 两种安装方式,这里只讲pip安装 pip install jupyter notebook 二,启动Jupyter notebook jupyter notebook 可以看到打开了一个在网页端的界面 三,编写python代码 新建一个python3 在单元格输入我们的pyhton代码 打印一个hello world 上面工具栏的功能就自行摸索了,相当简单 四,关闭Jupyter notebook 每次关闭前一定要记…
一.Jupyter Notebook的安装与启动 安装Jupyter Notebook pip3 install jupyter 启动 jupyter notebook 输入命令后会自动弹出浏览器窗口打开Jupyter Notebook 本地notebook的默认URL为:http://localhost:8888 想让notebook打开指定目录,只要进入此目录后执行命令即可 二.安装jupyter_contrib_nbextensions库 python -m pip install jup…
安装python3 查看当前python版本 [root@iz1i4qd6oynml0z /]# python -V Python 2.7.5 安装python3以及检查python3的版本 yum install python3 python3 -V 安装jupyter notebook pip3 install jupyter 生成配置文件 jupyter notebook --generate-config Writing default config to: /root/.jupyter…
查看所有已安装的软件包$ conda list# packages in environment at S:\Users\jiangshan\Anaconda3:## Name Version Build Channel_ipyw_jlab_nb_ext_conf 0.1.0 py37_0 defaultsalabaster 0.7.12 py37_0 defaultsanaconda 2018.12 py37_0 defaults........ 查看当前存在哪些虚拟环境$ conda inf…
1 认识jupyter jupyter /ˈdʒuːpɪtə(r)/可以提供适合捕捉整个计算过程的基于web的应用程序:开发.记录和执行代码,以及结果输出. jupyter Notebook提供了两个组件. web应用程序:基于浏览器的工具,用于交互式创作文档,其中包含解释性文本,数学,计算及其富媒体输出. Notebook文档:Web应用程序中可见的所有内容的表示,包括计算的输入和输出,说明文本,数学,图像和对象的富媒体表示.文档保存为 .ipynb 的JSON格式文件.不过还可以通过 Fil…