预先装好python
然后在命令行输入:
gpu版本:
需要预先装好:cuda 和cudnn 才能使用。
pip install numpy pandas matplotlib sklearn tensorflow-GPU==2.0.0-alpha0 -i https://pypi.doubanio.com/simple
cpu 版本:
alpha0 :
pip install numpy pandas matplotlib sklearn tensorflow==2.0.0-alpha0 -i https://pypi.doubanio.com/simple
beta:
pip install numpy pandas matplotlib sklearn tensorflow==2.0.0-beta0 -i https://pypi.doubanio.com/simple

本文详细介绍了如何在已预装Python的环境中,通过命令行使用pip安装NumPy、Pandas、Matplotlib、Scikit-learn以及不同版本的TensorFlow(包括GPU和CPU版本)。对于GPU版本,需确保已安装CUDA和cuDNN。
1万+

被折叠的 条评论
为什么被折叠?



