基础服务系列-Windows10 安装Anaconda&TensorFlow

2020/01/02

The open-source Anaconda Distribution is the easiest way to perform Python/R data science and machine learning on Linux, Windows, and Mac OS X.

下载

官网下载

安装

双击默认安装

验证

conda info

创建Python Env

conda create -n tfenv

activate tfenv

Install Tensorflow

conda install tensorflow

Verifying the Installation

import tensorflow as tf

没有错误,安装正常。

安装数据科学三剑客

  • pandas
  • numpy
  • matplotlib

Install pandas

Pandas是一个开源的,BSD许可的库,为Python编程语言提供高性能,易于使用的数据结构和数据分析工具。

conda install pandas

Verifying the Installation

import pandas as pd

Install numpy

NumPy是Python中的一个运算速度非常快的一个数学库,它非常重视数组。

它允许你在Python中进行向量和矩阵计算,并且由于许多底层函数实际上是用C编写的,因此你可以体验在原生Python中永远无法体验到的速度。

conda install numpy

Verifying the Installation

import numpy as np

Install matplotlib

Matplotlib是一个Python 2D绘图库,可以生成各种硬拷贝格式和跨平台交互式环境的出版物质量数据。

conda install matplotlib

Verifying the Installation

import matplotlib as mlb

Install scikit-learn

scikit-learn 是基于 Python 语言的机器学习工具。

  • 简单高效的数据挖掘和数据分析工具
  • 可供大家在各种环境中重复使用
  • 建立在 NumPy ,SciPy 和 matplotlib 上
  • 开源,可商业使用 - BSD许可证

conda install -c anaconda scikit-learn

Verifying the Installation

import sklearn as sn

参考

Installation with Anaconda


作者:Wuxinshui
出处:http://wuxinshui.github.io
版权归作者所有,转载请注明出处

Post Directory