Install pytorch and tensorflow in the same virtual environment in Anaconda

Steps:
1. Refer to the link below to build the Pytorch or tensorflow environment separately: build
on the server: https://blog.csdn.net/DENGSHUCHAO152/article/details/123254380?spm=1001.2014.3001.5502
build locally:
https:/ /blog.csdn.net/DENGSHUCHAO152/article/details/121435858?spm=1001.2014.3001.5502
2. Install tensorflow directly in the pytorch environment, or install pytorch in tensorflow
using the command: pip install tensorflow/pytorch;
insert image description here
3. Use the command: conda list to check whether the installation is successful;
insert image description here

Guess you like

Origin blog.csdn.net/DENGSHUCHAO152/article/details/125482458