MAC系统安装Numpy,scipy,matplotlib的方法
2018-01-23 18:27
411 查看
首先说明下:我用的MAC,Mac自带了python2.7,但是版本较低,我安装了python3.6问题一:需要把终端的默认python换为python3.6更高版本吗?不需要,因为在终端输入Python,就是Python2.7,输入Python3 就是Python3.6问题二:怎么安装常用的计算库,比如Numpy如果你是python3.3及更高版本,那么恭喜你,很幸运,这个版本内置了pip包管理器不信你可以在终端输入:python3 -m pip install --upgrade pip终端会显示类似:Requirement already up-to-date: pip in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages安装计算库的终端命令:sudo pip3 install numpy
sudo pip3 install scipysudo pip3 install matplotlibsudo pip3 install tensorflow-gpu 安装gpu版tensorflow这时候你看到下载的进度条了吧,这样就可以了!
sudo pip3 install scipysudo pip3 install matplotlibsudo pip3 install tensorflow-gpu 安装gpu版tensorflow这时候你看到下载的进度条了吧,这样就可以了!
相关文章推荐
- 在windows下python,pip,numpy,scipy,matplotlib的安装 系统:win7(64bit)
- Python中安装numpy,scipy,matplotlib安装方法
- ubuntu14 python2.7上安装scipy,numpy,matplotlib的方法
- python安装numpy、scipy和matplotlib等whl包的方法
- 机器学习的相关模块安装:pandas,numpy, scipy,scikit_learn(sklearn), matplotlib在winows系统下的安装问题
- Windows64 系统下Python、NumPy与matplotlib 安装方法
- Win10 64位系统下Python 及 Numpy , matplotlib,scipy工具包的安装
- win10系统安装numpy,scipy,matplotlib,基于python3.6
- windows+Mac下安装Python以及科学计算套装安装(scipy、numpy、matplotlib)
- python安装numpy、scipy和matplotlib等whl包的方法
- Python.Mac中Pycharm软件下的Python安装库方法(包括opencv,numpy,matplotlib等)
- Python画图库 matplotlib, 数值计算库 numpy, 科学计算库 scipy 的安装
- 动手实践:在Linux上安装NumPy、Matplotlib、SciPy和IPython
- 如何在Linux系统Ubuntu版本下安装Python开发包NumPy、Matplotlib、SciPy
- 【python】python path,macports,easy-install,numpy,scipy,ipython,matplotlib,集成工具
- Python下的scipy,matplotlib,Numpy,six安装
- Python 2.7(3.x)以及numpy、matplotlib和scipy库三种方法实战安装
- 在Windows Python3.4 上安装NumPy、Matplotlib、SciPy和IPython
- Ubuntu-Python2.7安装 scipy,numpy,matplotlib
- Python,NumPy,SciPy,Matplotlib安装及问题解决(win7,x64,软件version3.4)