安装paddle - 使用百度镜像

安装paddle
使用百度镜像

pip install paddlepaddle==2.2.1 -i https://mirror.baidu.com/pypi/simple

普通安装方式,报错。

Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting paddle
  Using cached https://pypi.tuna.tsinghua.edu.cn/packages/55/cf/e4b6b9a54d2f072e4491e34317bf5f5fea260da8a3072e641832dc9ce770/paddle-1.0.2.tar.gz (579 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'error'
  Using cached https://pypi.tuna.tsinghua.edu.cn/packages/93/cc/5d3b4eb9c5ea536ddaf10e4d7ec2019e1bde9d0b4207f314f7cf8a1af0d7/paddle-1.0.1.tar.gz (539 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'error'
  Using cached https://pypi.tuna.tsinghua.edu.cn/packages/a9/c2/10db468c6a588b208ad22506c0f390059c5fa7a399e2085baefba3dcc24e/paddle-1.0.0.tar.gz (539 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'error'

  ERROR: Command errored out with exit status 1:
   command: 'D:\code\python\pycharm\baidu-argothrim-machine-learning\venv\Scripts\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\yang\\AppData\\Local\\Temp\\pip-install-af5mfgxk\\paddle_17e374c2d0994546896c74d5deaebb29\\setup.py'"'"'; __file__='"'"'C:\\Users\\yang\\AppData\\Local\\Temp\\pip-install-af5mfgxk\\paddle_17e374c2d0994546896c74d5deaebb29\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\yang\AppData\Local\Temp\pip-pip-egg-info-mbphbocg'
       cwd: C:\Users\yang\AppData\Local\Temp\pip-install-af5mfgxk\paddle_17e374c2d0994546896c74d5deaebb29\
  Complete output (7 lines):
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "C:\Users\yang\AppData\Local\Temp\pip-install-af5mfgxk\paddle_17e374c2d0994546896c74d5deaebb29\setup.py", line 3, in <module>
      import paddle
    File "C:\Users\yang\AppData\Local\Temp\pip-install-af5mfgxk\paddle_17e374c2d0994546896c74d5deaebb29\paddle\__init__.py", line 5, in <module>
      import common, dual, tight, data, prox
  ModuleNotFoundError: No module named 'common'
  ----------------------------------------
WARNING: Discarding https://pypi.tuna.tsinghua.edu.cn/packages/55/cf/e4b6b9a54d2f072e4491e34317bf5f5fea260da8a3072e641832dc9ce770/paddle-1.0.2.tar.gz#sha256=aeb13606880a932f97eb1a810bc8820c7e80f943abcdb56f272b1375964ef117 (from https://pypi.tuna.tsinghua.edu.cn/simple/paddle/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  ERROR: Command errored out with exit status 1:
   command: 'D:\code\python\pycharm\baidu-argothrim-machine-learning\venv\Scripts\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\yang\\AppData\\Local\\Temp\\pip-install-af5mfgxk\\paddle_b0d0fde7a4e74428a5961473b370ff22\\setup.py'"'"'; __file__='"'"'C:\\Users\\yang\\AppData\\Local\\Temp\\pip-install-af5mfgxk\\paddle_b0d0fde7a4e74428a5961473b370ff22\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\yang\AppData\Local\Temp\pip-pip-egg-info-_t8cab6x'
       cwd: C:\Users\yang\AppData\Local\Temp\pip-install-af5mfgxk\paddle_b0d0fde7a4e74428a5961473b370ff22\
  Complete output (7 lines):
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "C:\Users\yang\AppData\Local\Temp\pip-install-af5mfgxk\paddle_b0d0fde7a4e74428a5961473b370ff22\setup.py", line 3, in <module>
      import paddle
    File "C:\Users\yang\AppData\Local\Temp\pip-install-af5mfgxk\paddle_b0d0fde7a4e74428a5961473b370ff22\paddle\__init__.py", line 5, in <module>
      import common, dual, tight
  ModuleNotFoundError: No module named 'common'
  ----------------------------------------
WARNING: Discarding https://pypi.tuna.tsinghua.edu.cn/packages/93/cc/5d3b4eb9c5ea536ddaf10e4d7ec2019e1bde9d0b4207f314f7cf8a1af0d7/paddle-1.0.1.tar.gz#sha256=e4468cfb5be7a2f3373bd93c31541da758027bbd6ffe75f83008a88e70e2eae7 (from https://pypi.tuna.tsinghua.edu.cn/simple/paddle/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  ERROR: Command errored out with exit status 1:
   command: 'D:\code\python\pycharm\baidu-argothrim-machine-learning\venv\Scripts\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\yang\\AppData\\Local\\Temp\\pip-install-af5mfgxk\\paddle_a85a5d88ca4443d0aabeb684de1ff7ee\\setup.py'"'"'; __file__='"'"'C:\\Users\\yang\\AppData\\Local\\Temp\\pip-install-af5mfgxk\\paddle_a85a5d88ca4443d0aabeb684de1ff7ee\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\yang\AppData\Local\Temp\pip-pip-egg-info-rrrvy1if'
       cwd: C:\Users\yang\AppData\Local\Temp\pip-install-af5mfgxk\paddle_a85a5d88ca4443d0aabeb684de1ff7ee\
  Complete output (7 lines):
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "C:\Users\yang\AppData\Local\Temp\pip-install-af5mfgxk\paddle_a85a5d88ca4443d0aabeb684de1ff7ee\setup.py", line 3, in <module>
      import paddle
    File "C:\Users\yang\AppData\Local\Temp\pip-install-af5mfgxk\paddle_a85a5d88ca4443d0aabeb684de1ff7ee\paddle\__init__.py", line 5, in <module>
      import common, dual, tight
  ModuleNotFoundError: No module named 'common'
  ----------------------------------------
WARNING: Discarding https://pypi.tuna.tsinghua.edu.cn/packages/a9/c2/10db468c6a588b208ad22506c0f390059c5fa7a399e2085baefba3dcc24e/paddle-1.0.0.tar.gz#sha256=64abc6b5574da69ea02ca058fbd0677fc0a19473b45c34cf0c4d23aeaf6738e1 (from https://pypi.tuna.tsinghua.edu.cn/simple/paddle/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement paddle (from versions: 1.0.0, 1.0.1, 1.0.2)
ERROR: No matching distribution found for paddle

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值