1 搭建tensorflow的环境产生的异常记录.
cd /root curl -O https://repo.anaconda.com/archive/Anaconda3-5.2.0-Linux-x86_64.sh sh Anaconda3-2019.07-Linux-x86_64.sh # 配置~/.bashrc, 添加一行: export PATH=/root/anaconda/bin/:$PATH
2, 安装必备组件supervisor, nginx
yum install supervisor -y
yum install nginx -y
3, 安装项目需要的python工具包,uwsgi,tensorflow,keras,django等,我们使用requirements.txt一同安装。
cd /data/django-uwsgi/
pip install requirements.txt -r
requirements.txt
## The following requirements were added by pip freeze:
neo4j-driver
pandas>=0.20.3
numpy>=1.13.1
jieba>=0.39
Django>=1.11.7
djangores