Soft Patch Panel
 help / color / mirror / Atom feed
* [spp] python2 support
@ 2018-08-16 10:43 Ferruh Yigit
  2018-08-16 13:52 ` Yasufumi Ogawa
  0 siblings, 1 reply; 4+ messages in thread
From: Ferruh Yigit @ 2018-08-16 10:43 UTC (permalink / raw)
  To: Yasufumi Ogawa; +Cc: dpdk-spp

Hi Yasufumi,

When running spp with python2 I am getting following error [1] but works fine
with python3.

Are you guys testing with python2 and is there any other module should I install
for python2?

[1]
    from queue import Queue
ImportError: No module named queue

Thanks,
ferruh

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [spp] python2 support
  2018-08-16 10:43 [spp] python2 support Ferruh Yigit
@ 2018-08-16 13:52 ` Yasufumi Ogawa
  2018-08-22  9:22   ` Ferruh Yigit
  0 siblings, 1 reply; 4+ messages in thread
From: Yasufumi Ogawa @ 2018-08-16 13:52 UTC (permalink / raw)
  To: Ferruh Yigit; +Cc: Yasufumi Ogawa, dpdk-spp

Hi Ferruh,

You are required to install 'future' module by running 'pip install 
future' for using 'queue' with both of Python 2 and 3. I should include 
this instruction in SPP documentation.

I think I should add 'requirements.txt' to install all of required 
modules and not disturb users. I would like to send a patch for updating.

Thanks,
Yasufumi

On 2018/08/16 19:43, Ferruh Yigit wrote:
> Hi Yasufumi,
> 
> When running spp with python2 I am getting following error [1] but works fine
> with python3.
> 
> Are you guys testing with python2 and is there any other module should I install
> for python2?
> 
> [1]
>      from queue import Queue
> ImportError: No module named queue
> 
> Thanks,
> ferruh
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [spp] python2 support
  2018-08-16 13:52 ` Yasufumi Ogawa
@ 2018-08-22  9:22   ` Ferruh Yigit
  2018-08-24  9:25     ` Ferruh Yigit
  0 siblings, 1 reply; 4+ messages in thread
From: Ferruh Yigit @ 2018-08-22  9:22 UTC (permalink / raw)
  To: Yasufumi Ogawa; +Cc: Yasufumi Ogawa, dpdk-spp

On 8/16/2018 2:52 PM, Yasufumi Ogawa wrote:
> Hi Ferruh,
> 
> You are required to install 'future' module by running 'pip install 
> future' for using 'queue' with both of Python 2 and 3. I should include 
> this instruction in SPP documentation.
> 
> I think I should add 'requirements.txt' to install all of required 
> modules and not disturb users. I would like to send a patch for updating.

This would be useful, thanks.

> 
> Thanks,
> Yasufumi
> 
> On 2018/08/16 19:43, Ferruh Yigit wrote:
>> Hi Yasufumi,
>>
>> When running spp with python2 I am getting following error [1] but works fine
>> with python3.
>>
>> Are you guys testing with python2 and is there any other module should I install
>> for python2?
>>
>> [1]
>>      from queue import Queue
>> ImportError: No module named queue
>>
>> Thanks,
>> ferruh
>>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [spp] python2 support
  2018-08-22  9:22   ` Ferruh Yigit
@ 2018-08-24  9:25     ` Ferruh Yigit
  0 siblings, 0 replies; 4+ messages in thread
From: Ferruh Yigit @ 2018-08-24  9:25 UTC (permalink / raw)
  To: Yasufumi Ogawa; +Cc: Yasufumi Ogawa, dpdk-spp

On 8/22/2018 10:22 AM, Ferruh Yigit wrote:
> On 8/16/2018 2:52 PM, Yasufumi Ogawa wrote:
>> Hi Ferruh,
>>
>> You are required to install 'future' module by running 'pip install 
>> future' for using 'queue' with both of Python 2 and 3. I should include 
>> this instruction in SPP documentation.
>>
>> I think I should add 'requirements.txt' to install all of required 
>> modules and not disturb users. I would like to send a patch for updating.
> 
> This would be useful, thanks.

btw, I confirm installing "future" module fixes python2 issue.

> 
>>
>> Thanks,
>> Yasufumi
>>
>> On 2018/08/16 19:43, Ferruh Yigit wrote:
>>> Hi Yasufumi,
>>>
>>> When running spp with python2 I am getting following error [1] but works fine
>>> with python3.
>>>
>>> Are you guys testing with python2 and is there any other module should I install
>>> for python2?
>>>
>>> [1]
>>>      from queue import Queue
>>> ImportError: No module named queue
>>>
>>> Thanks,
>>> ferruh
>>>
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-08-24  9:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-16 10:43 [spp] python2 support Ferruh Yigit
2018-08-16 13:52 ` Yasufumi Ogawa
2018-08-22  9:22   ` Ferruh Yigit
2018-08-24  9:25     ` Ferruh Yigit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).