Hi , I installed : sudo  pip freeze |grep oslo.configThe directory 
'/home/imen/.cache/pip/http' or its parent directory is not owned by the 
current user and the cache has been disabled. Please check the permissions and 
owner of that directory. If executing pip with sudo, you may want sudo's -H 
flag.oslo.config==6.4.0
Also : 
imen@imen-HP-Pavilion-g6-Notebook-PC:~$ sudo pip install -U oslo.configThe 
directory '/home/imen/.cache/pip/http' or its parent directory is not owned by 
the current user and the cache has been disabled. Please check the permissions 
and owner of that directory. If executing pip with sudo, you may want sudo's -H 
flag.The directory '/home/imen/.cache/pip' or its parent directory is not owned 
by the current user and caching wheels has been disabled. check the permissions 
and owner of that directory. If executing pip with sudo, you may want sudo's -H 
flag.Requirement already up-to-date: oslo.config in 
/usr/local/lib/python3.6/site-packages (6.4.0)Requirement already satisfied, 
skipping upgrade: netaddr>=0.7.18 in /usr/local/lib/python3.6/site-packages 
(from oslo.config) (0.7.19)Requirement already satisfied, skipping upgrade: 
requests>=2.18.0 in /usr/local/lib/python3.6/site-packages (from oslo.config) 
(2.19.1)Requirement already satisfied, skipping upgrade: PyYAML>=3.12 in 
/usr/local/lib/python3.6/site-packages (from oslo.config) (3.13)Requirement 
already satisfied, skipping upgrade: debtcollector>=1.2.0 in 
/usr/local/lib/python3.6/site-packages (from oslo.config) (1.20.0)Requirement 
already satisfied, skipping upgrade: stevedore>=1.20.0 in 
/usr/local/lib/python3.6/site-packages (from oslo.config) (1.29.0)Requirement 
already satisfied, skipping upgrade: oslo.i18n>=3.15.3 in 
/usr/local/lib/python3.6/site-packages (from oslo.config) (3.21.0)Requirement 
already satisfied, skipping upgrade: rfc3986>=0.3.1 in 
/usr/local/lib/python3.6/site-packages (from oslo.config) (1.1.0)Requirement 
already satisfied, skipping upgrade: six>=1.10.0 in 
/usr/local/lib/python3.6/site-packages (from oslo.config) (1.11.0)Requirement 
already satisfied, skipping upgrade: chardet<3.1.0,>=3.0.2 in 
/usr/local/lib/python3.6/site-packages (from requests>=2.18.0->oslo.config) 
(3.0.4)Requirement already satisfied, skipping upgrade: idna<2.8,>=2.5 in 
/usr/local/lib/python3.6/site-packages (from requests>=2.18.0->oslo.config) 
(2.7)Requirement already satisfied, skipping upgrade: certifi>=2017.4.17 in 
/usr/local/lib/python3.6/site-packages (from requests>=2.18.0->oslo.config) 
(2018.4.16)Requirement already satisfied, skipping upgrade: 
urllib3<1.24,>=1.21.1 in /usr/local/lib/python3.6/site-packages (from 
requests>=2.18.0->oslo.config) (1.23)Requirement already satisfied, skipping 
upgrade: pbr!=2.1.0,>=2.0.0 in /usr/local/lib/python3.6/site-packages (from 
debtcollector>=1.2.0->oslo.config) (4.2.0)Requirement already satisfied, 
skipping upgrade: wrapt>=1.7.0 in /usr/local/lib/python3.6/site-packages (from 
debtcollector>=1.2.0->oslo.config) (1.10.11)Requirement already satisfied, 
skipping upgrade: Babel!=2.4.0,>=2.3.4 in 
/usr/local/lib/python3.6/site-packages (from oslo.i18n>=3.15.3->oslo.config) 
(2.6.0)Requirement already satisfied, skipping upgrade: pytz>=0a in 
/usr/local/lib/python3.6/site-packages (from 
Babel!=2.4.0,>=2.3.4->oslo.i18n>=3.15.3->oslo.config) (2018.5)
But the problem is not solved yet?
    On Thursday, August 2, 2018, 2:13:22 AM GMT+1, IWAMOTO Toshihiro 
<iwam...@valinux.co.jp> wrote:  
 
 On Wed, 01 Aug 2018 17:04:08 +0900,
Imen Souidene wrote:
> 
> [1  <multipart/alternative (7bit)>]
> [1.1  <text/plain; UTF-8 (quoted-printable)>]
>  Sir how can i used it by python2.7?  I installed as it appears in
> all documents :
> sudo pip install ryu


Are you using standard ubuntu or some other image?
pip install should pick up the latest version of oslo.config (6.4.0)

You can check the installed version with:

  $ pip freeze |grep oslo.config

You can upgrade oslo.config with:

  $ sudo pip install -U oslo.config


> sudo git clone git://github.com/osrg/ryu.git
> cd ryu
> sudo pip install

If you ran "pip install ryu", this shouldn't be necessary.

> Despite when i used : sudo python ./setup.py install , it show me :
> running install_scriptsInstalling ryu-manager script to 
> /usr/local/binInstalling ryu script to /usr/local/bin
> 
> 
> Sir the problem that ryu-manager no started ? 


>    On Wednesday, August 1, 2018, 3:37:24 AM GMT+1, IWAMOTO Toshihiro 
><iwam...@valinux.co.jp> wrote:  
>  
>  On Tue, 31 Jul 2018 21:31:40 +0900,
> Imen Souidene via Ryu-devel wrote:
> > 
> > [1  <multipart/alternative (7bit)>]
> > [1.1  <text/plain; UTF-8 (quoted-printable)>]
> > Dear Comity, I have a problem when i installed the controller Ryu , despite 
> > I followed the installation tutorial.
> 
> > The problem is : 
> > imen@imen-HP-Pavilion-g6-Notebook-PC:~/ryu$ ryu-manager
> > Traceback (most recent call last):  File "/usr/local/bin/ryu-manager", line 
> > 11, in <module>    load_entry_point('ryu==4.26', 'console_scripts', 
> > 'ryu-manager')()
> 
> > File "/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py", line 
> > 1060, in __init__    super(ListOpt, self).__init__(name, type=types.List(), 
> > **kwargs)TypeError: __init__() got an unexpected keyword argument 
> > 'item_type'
> 
> Your oslo.config is too old.
> Which installation tutorial did you use and what commands did you type?
> 
> --
> IWAMOTO Toshihiro
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Ryu-devel mailing list
> Ryu-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ryu-devel  
> [1.2  <text/html; UTF-8 (quoted-printable)>]
> [2 aa.png <image/png (base64)>]
>  

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel  
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to