PIP General Configuration
Pip is a Python package management tool, 3.x version directly with, can be used directly, and yum, in order to use the domestic image, the following configuration
Linux systems:
$ mkdir ~/.pip
$vim ~/.pip/pip.conf
[Global]
Index-url=index-url = Https://pypi.tuna.tsinghua.edu.cn/simple
Redis is already installed.
If the hint says PIP version is too low, follow the prompts to upgrade directly
$ pip Install--upgrade PIP-VVV
To see the installation information for the Redis package
Back to the CMDB directory install Ipthon, if you leave the CMDB directory, Ipython will be gone.
$ CD magedu/projects/cmdb/
$ pip Install Ipython
$ Ipython Check if the installation is good
Jupyter
is a web-based interactive notebook, which can be very convenient to use Python;
Installing the Jupyter will also install the Ipython
$ pip Install Jupyter
View Help documentation
$ jupyter Notebook Help
This password is to be used when landing on the web, we need to add the password
$ jupyter Notebook Password
Start Jupyter
$ jupyter Notebook--ip=0.0.0.0--no-browser &
Open the browser, enter the server IP plus port can be used normally, the default port is 8888
Ipython and Jupyter installation configuration