[spp] python2 support

Ferruh Yigit ferruh.yigit at intel.com
Fri Aug 24 11:25:11 CEST 2018


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
>>>
> 



More information about the spp mailing list