Tensorflow+python3.7+MAC环境配置和安装

 

brew install python3

Tensorflow+python3.7+MAC环境配置和安装_第1张图片

pip3 --default-timeout=10000 install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.3.0-py3-none-any.whl

 

#!/usr/bin/python
# -*- coding: UTF-8 
# author: Ian
# Please,you must believe yourself who can do it beautifully !

import tensorflow as tf
import keras

print(keras.__version__)
print(tf.__version__)
print("Hello World")

Tensorflow+python3.7+MAC环境配置和安装_第2张图片

你可能感兴趣的:(Tensorflow)