先参考了:
1、https://blog.csdn.net/hitzijiyingcai/article/details/83342905
2、https://zhuanlan.zhihu.com/p/78051730
这两个教程足够实现安装成功tensorflow
但是tensorflow2.2.0有点坑会出现一些问题!
我觉得基本是因为版本问题,还有就是网络问题,下载老缺一些东西!
所以呢,直接贴个完整的环境!
复制粘贴到txt里面!
absl-py0.9.0
astunparse1.6.3
attrs19.3.0
backcall @ file:///home/conda/feedstock_root/build_artifacts/backcall_1592338393461/work
bleach3.1.5
cachetools4.1.1
certifi2018.8.24
chardet3.0.4
colorama0.4.3
cycler0.10.0
decorator4.4.2
defusedxml0.6.0
entrypoints0.3
gast0.3.3
google-auth1.19.2
google-auth-oauthlib0.4.1
google-pasta0.2.0
grpcio1.30.0
h5py2.10.0
idna2.10
importlib-metadata1.7.0
ipykernel5.3.4
ipython7.0.1
ipython-genutils0.2.0
ipywidgets7.5.1
jedi0.12.1
Jinja22.11.2
joblib0.14.1
jsonschema3.2.0
jupyter1.0.0
jupyter-client6.1.6
jupyter-console6.1.0
jupyter-core4.6.3
Keras2.4.3
Keras-Preprocessing1.1.2
kiwisolver1.1.0
Markdown3.2.2
MarkupSafe1.1.1
matplotlib3.0.3
mistune0.8.4
nbconvert5.6.1
nbformat5.0.7
notebook6.0.3
numpy1.18.5
oauthlib3.1.0
opt-einsum3.3.0
packaging20.4
pandas0.25.3
pandocfilters1.4.2
parso0.7.0
pickleshare0.7.5
prometheus-client0.8.0
prompt-toolkit2.0.10
protobuf3.12.2
pyasn10.4.8
pyasn1-modules0.2.8
Pygments2.6.1
pyparsing2.4.7
pyrsistent0.16.0
python-dateutil2.8.1
pytz2020.1
pywin32228
pywinpty0.5.7
PyYAML5.3.1
pyzmq19.0.1
qtconsole4.7.5
QtPy1.9.0
requests2.24.0
requests-oauthlib1.3.0
rsa4.6
scikit-learn0.22.2.post1
scipy1.4.1
seaborn0.9.1
Send2Trash1.5.0
simplegeneric0.8.1
six @ file:///home/conda/feedstock_root/build_artifacts/six_1590081179328/work
sklearn0.0
tensorboard2.2.2
tensorboard-plugin-wit1.7.0
tensorflow2.2.0
tensorflow-estimator2.2.0
termcolor1.1.0
terminado0.8.3
testpath0.4.4
tornado6.0.4
traitlets4.3.2
urllib31.25.10
wcwidth @ file:///home/conda/feedstock_root/build_artifacts/wcwidth_1592931742287/work
webencodings0.5.1
Werkzeug1.0.1
widgetsnbextension3.5.1
win-unicode-console0.5
wincertstore0.2
wrapt==1.12.1
然后按照
requirements是存的txt名字。 导入和导出环境参考https://blog.csdn.net/chekongfu/article/details/83187591?utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.channel_param&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.channel_param
基本上是搭建好了,其他需要的包再添加就好啦!
记一次,tensorflow搭建了2天才成功的菜鸟踩坑之路!