$ python3 -m venv _pml_ $ source _pml_/bin/activate $ python -m pip install --upgrade pip $ python -m pip install --upgrade setuptools $ pip list # 安装库 $ pip install tensorflow $ pip install matplotlib seaborn $ pip install Pillow opencv-python opencv-contrib-python $ pip install scikit-learn # linux 上需要的 $ sudo apt install python3-tk