pip安装PaddlePadle

显卡930mx,对应CUDA版本9.1,不支持
在这里插入图片描述
故选择CUP版本,cmd按照官方步骤操作
1、首先遇到更新pip问题

WARNING: You are using pip version 19.1.1, however version 19.2.3 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

复制python -m pip install --upgrade pip更新,依旧失败

ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。: 'c:\\programdata\\anaconda3\\lib\\site-packages\\requests\\adapters.py'
Consider using the `--user` option or check the permissions.

再结合参考的其他帖子

python -m pip install --user --upgrade pip==19.2.3
Collecting pip==19.2.3
  Using cached https://files.pythonhosted.org/packages/30/db/9e38760b32e3e7f40cce46dd5fb107b8c73840df38f0046d8e6514e675a1/pip-19.2.3-py2.py3-none-any.whl
Installing collected packages: pip
  Found existing installation: pip 19.1.1
    Uninstalling pip-19.1.1:
      Successfully uninstalled pip-19.1.1
Successfully installed pip-19.2.3

完成,继续安装

python -m pip install paddlepaddle -i https://pypi.tuna.tsinghua.edu.cn/simple

提示

ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。: 'c:\\programdata\\anaconda3\\lib\\site-packages\\requests\\adapters.py'
Consider using the `--user` option or check the permissions.

2、和更新pip问题一样,继续添加–user

python -m pip install --user paddlepaddle -i https://pypi.tuna.tsinghua.edu.cn/simple

提示

Successfully installed paddlepaddle-1.5.2 recordio-0.1.7 requests-2.22.0

进入Python编译器

C:\Users\ASUS>python
>>> import paddle.fluid
>>> paddle.fluid.install_check.run_check()

提示

Your Paddle Fluid is installed successfully! Let's start deep Learning with Paddle Fluid now

成功!

你可能感兴趣的:(安装)