ryu安装报错:fatal: unable to access ‘https://github.com/faucetsdn/ryu/‘: Failed to connect to github.com

Ryu SDN Framework

两种安装方式:

1.源码安装(可能是网络原因,没有成功,换路径也没成功)

% git clone git://github.com/osrg/ryu.git
% cd ryu; python ./setup.py install

sf@usrp:~/software$ git clone https://github.com/faucetsdn/ryu  
Cloning into 'ryu'...
fatal: unable to access 'https://github.com/faucetsdn/ryu/': Failed to connect to github.com port 443 after 21071 ms: Connection refused

2.安装方式使用pip命令
sf@usrp:~/software$ pip install ryu
Defaulting to user installation because normal site-packages is not writeable
Collecting ryu
  Downloading ryu-4.34.tar.gz (1.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 1.5 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Collecting eventlet!=0.18.3,!=0.20.1,!=0.21.0,!=0.23.0,>=0.18.2
  Downloading eventlet-0.38.2-py3-none-any.whl (363 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 363.2/363.2 KB 4.1 MB/s eta 0:00:00
Collecting msgpack>=0.3.0
  Downloading msgpack-1.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (378 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 378.0/378.0 KB 4.6 MB/s eta 0:00:00
Collecting netaddr
  Downloading netaddr-1.3.0-py3-none-any.whl (2.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 3.9 MB/s eta 0:00:00
Collecting oslo.config>=2.5.0
  Downloading oslo.config-9.7.0-py3-none-any.whl (131 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 131.8/131.8 KB 5.3 MB/s eta 0:00:00
Requirement already satisfied: ovs>=2.6.0 in /usr/lib/python3/dist-packages (from ryu) (2.17.9)
Collecting routes
  Downloading Routes-2.5.1-py2.py3-none-any.whl (40 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.1/40.1 KB 9.6 MB/s eta 0:00:00
Requirement already satisfied: six>=1.4.0 in /usr/lib/python3/dist-packages (from ryu) (1.16.0)
Collecting tinyrpc
  Downloading tinyrpc-1.1.7-py3-none-any.whl (52 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.3/52.3 KB 6.0 MB/s eta 0:00:00
Collecting webob>=1.2
  Downloading WebOb-1.8.9-py2.py3-none-any.whl (115 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 115.4/115.4 KB 5.9 MB/s eta 0:00:00
Collecting greenlet>=1.0
  Downloading greenlet-3.1.1-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (599 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 599.5/599.5 KB 1.4 MB/s eta 0:00:00
Collecting dnspython>=1.15.0
  Downloading dnspython-2.7.0-py3-none-any.whl (313 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 313.6/313.6 KB 4.3 MB/s eta 0:00:00
Requirement already satisfied: PyYAML>=5.1 in /usr/lib/python3/dist-packages (from oslo.config>=2.5.0->ryu) (5.4.1)
Collecting oslo.i18n>=3.15.3
  Downloading oslo.i18n-6.5.0-py3-none-any.whl (46 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.8/46.8 KB 6.8 MB/s eta 0:00:00
Collecting rfc3986>=1.2.0
  Downloading rfc3986-2.0.0-py2.py3-none-any.whl (31 kB)
Collecting stevedore>=1.20.0
  Downloading stevedore-5.4.0-py3-none-any.whl (49 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 49.5/49.5 KB 4.3 MB/s eta 0:00:00
Requirement already satisfied: requests>=2.18.0 in /usr/lib/python3/dist-packages (from oslo.config>=2.5.0->ryu) (2.25.1)
Collecting debtcollector>=1.2.0
  Downloading debtcollector-3.0.0-py3-none-any.whl (23 kB)
Collecting repoze.lru>=0.3
  Downloading repoze.lru-0.7-py3-none-any.whl (10 kB)
Collecting wrapt>=1.7.0
  Downloading wrapt-1.17.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (82 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 82.7/82.7 KB 4.1 MB/s eta 0:00:00
Collecting pbr>=2.0.0
  Using cached pbr-6.1.0-py2.py3-none-any.whl (108 kB)
Building wheels for collected packages: ryu
  Building wheel for ryu (setup.py) ... done
  Created wheel for ryu: filename=ryu-4.34-py3-none-any.whl size=1315600 sha256=a5fadd8941cb64c305017830d2b22be3683df15644070aa1a5117ba8c29194a3
  Stored in directory: /home/sf/.cache/pip/wheels/38/ac/69/14e7f6f7747061caba32b3a3d2f35015f5d0b9c987f2d41ddd
Successfully built ryu
Installing collected packages: tinyrpc, repoze.lru, wrapt, webob, routes, rfc3986, pbr, netaddr, msgpack, greenlet, dnspython, stevedore, oslo.i18n, eventlet, debtcollector, oslo.config, ryu
  WARNING: The script pbr is installed in '/home/sf/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script netaddr is installed in '/home/sf/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The scripts oslo-config-generator and oslo-config-validator are installed in '/home/sf/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The scripts ryu and ryu-manager are installed in '/home/sf/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed debtcollector-3.0.0 dnspython-2.7.0 eventlet-0.38.2 greenlet-3.1.1 msgpack-1.1.0 netaddr-1.3.0 oslo.config-9.7.0 oslo.i18n-6.5.0 pbr-6.1.0 repoze.lru-0.7 rfc3986-2.0.0 routes-2.5.1 ryu-4.34 stevedore-5.4.0 tinyrpc-1.1.7 webob-1.8.9 wrapt-1.17.0

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值