http://it.010lm.com/os/LINUX/182036.html
ipython[notebook]安装(Linux平台)
1. 环境
操作系统:ubuntukylin
2. 操作步骤
a) 安装pip工具
终端输入以下命令:
sudo apt-get install python-pip
b) 安装ipython
终端输入以下命令:
sudo apt-get install ipython
there are a error!!!!!!!!!
[email protected]:~$ sudo apt-get install ipython
[sudo] password for csf:
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
google have answer!!!!!
Remove your /var/lib/dpkg/lock
file and force package reconfiguration.
sudo rm /var/lib/dpkg/lock
sudo dpkg --configure -a
c) 安装ipython[notebook]
终端输入以下命令:
sudo apt-get install ipython-notebook
d) 启动ipython[notebook]
终端输入以下命令:
ipython notebook
时间: 2024-10-10 18:05:12