安装python-3.6.8-amd64
安装所需模块
pip3 install --index-url https://pypi.douban.com/simple -U tensorflow==1.4.0
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple -U numpy==1.16.0
有可能会提示让更新pip,执行 python -m pip install --upgrade pip 更新就好
如果还是报错 pip install pandas -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple -U scipy==1.4.1
可能没有镜像,报错了 直接执行 pip3 install -U scipy==1.4.1
还是安装失败 直接安装 pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple scipy
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple -U opencv-python==4.5.1.48
如果报错 pip install opencv-python -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple -U pillow==8.2.0
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple -U matplotlib==3.3.4
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple -U h5py==2.10.0
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple -U keras==2.2.0
安装image模型
pip3 install https://github.com/OlafenwaMoses/ImageAI/releases/download/2.0.1/imageai-2.0.1-py3-none-any.whl
简易版:https://blog.csdn.net/Baldprogrammer/article/details/116357434