conda create --name tensorflow python=3.7
conda update -n base -c defaults conda
升级spyder
sudo apt install spyder3
或
source activate tensorflow
conda install spyder
source activate tensorflow
conda install tensorflow-gpu
If you are using a virtualenv, you may want to avoid using sudo:
source activate tensorflow
pip install keras
安装常用包
conda install -c conda-forge keras
conda install -c conda-forge matplotlib
conda install -c dsdale24 qt5
conda install -c conda-forge nibabel
sudo apt-get install python-opencv
conda install -c conda-forge opencv
conda install libgcc
sudo apt-get install python3-pip
sudo apt-get install python3-numpy
sudo pip3 install nibabel
sudo pip3 install matplotlib
sudo pip3 install opencv-python
source activate tensorflow
pip install -U scikit-image
conda install libtiff
或
pip install libtiff
conda install scikit-image
升级pandas
sudo pip install --upgrade pandas
tiff
pip install openslide-python
openpyxl
source activate tensorflow
pip install openpyxl
nipype
source activate tensorflow
conda install -c conda-forge nipype
simpleitk
source activate tensorflow
conda install -c simpleitk simpleitk
shapely
conda install -c conda-forge shapely
trimesh
conda install -c conda-forge trimesh
stl
conda install -c conda-forge numpy-stl
plotly
conda install -c plotly plotly
更多数学原理小文请关注公众号:未名方略