python 下载地址:
https://www.python.org/downloads/
python配置环境变量
pip下载地址
https://pypi.org/project/pip/#files
下载完成之后,在解压后的目录下,shift+鼠标右键 打开cmd或powershell ,输入
python setup.py install
pip配置环境变量
C:\Python34\Scripts;
安装一些Python的包,比如安装个numpy库:
pip install -U numpy
安装tensorflow 以及一些常用库(使用豆瓣源,安装的是tensorflow cpu版本)
pip install numpy pandas matplotlib sklearn tensorflow==2.0.0-rc0 -i https://pypi.doubanio.com/simple
安装notebook
pip install notebook -i https://pypi.doubanio.com/simple
修改notebook 默认目录
输入: jupyter notebook 目录地址