Mac 下搭建pythons的开发环境

1.安装python3.x

brew install python3

2.安装anaconda

brew crak insatll anaconda

3.配置环境变量

echo 'export PATH=/usr/local/anaconda3/bin:$PATH' >> ~/.bash_profile

alias python="/usr/local/anaconda3/bin/python3.7"

source ~/.bash_profile

4.安装tensorflow

pip3 install tensorflow的方式及网上的其他一些方式亲测验证时否会报错“no module named tensorflow”

使用 conda install tensorflow 亲测可行

https://blog.csdn.net/springcoder/article/details/82504254

5.安装keras

conda install keras

6.IntelliJ IDEA 安装python插件 运行python

https://jingyan.baidu.com/article/a948d6512bd3db0a2dcd2e89.html

发布了5 篇原创文章 · 获赞 1 · 访问量 1236

猜你喜欢

转载自blog.csdn.net/huiminchi/article/details/104214344