Windows使用Python
小于 1 分钟
python 安装
# 升级pip版本
python -m pip install --upgrade pip
jupyter 安装
# 安装
pip install jupyter
# 修改默认目录 生成默认配置文件(可选)
jupyter notebook --generate-config
# 修改配置文件属性 c.NotebookApp.notebook_dir = 'E:\\00000000\\jupyter'
# 运行 访问http://localhost:8088/tree
jupyter notebook
centos 安装 python
wget https://www.python.org/ftp/python/3.11.1/Python-3.11.1.tgz
tar -xvf Python-3.11.1.tgz
cd Python-3.11.1
./configure --prefix=/usr/local/python
make & make install
## 创建软链接
ln -s /usr/local/python/bin/3.11.1/usr/bin/python