David,
`
You need to install sqlite3 first before installing the Python bindings via
pip. Your package manager should work, e.g. `sudo apt-get install sqlite3`.

--
Sushain K. Cherivirala
www.skc.name

On Thu, Jul 30, 2015 at 12:25 PM, David Martinez <[email protected]> wrote:

> Hello Sushain,
> thanks for responding. I realised I was running 3.2, and that's why I got
> the syntax error. However, when I run python3.3, I get the following error:
>
> ImportError: No module named '_sqlite3'
>
> I tried to run "pip3 install pysqlite" to avoid this, but it doesn't allow
> me. Do you have any pointers?
> Thank you,
> David
>
>
>
> On Thu, Jul 30, 2015 at 9:19 AM, Sushain Cherivirala <[email protected]>
> wrote:
>
>> David,
>>
>> How exactly are you running it? `python3 servlet.py`? If so, what version
>> does `python3` show?
>>
>> --
>> Sushain K. Cherivirala
>> www.skc.name
>>
>> On Wed, Jul 29, 2015 at 3:09 PM, David Martinez <[email protected]>
>> wrote:
>>
>>> Dear list members,
>>> I am trying to install apertium-apy in Ubuntu 12.04, but I keep running
>>> into problems. I think that the main issue is the following:
>>>
>>> - I installed python3.3, and then pip3, toro, and tornado making sure
>>> that I use python3.3 for each.
>>> - However, when I run servlet.py, I get the error (SyntaxError: 'return'
>>> with argument inside generator), which suggests that it's using 3.2.
>>>
>>> If I remove anything related to python 3.2, then in doesn't find tornado.
>>> I think that I'm stuck, could somebody point me in the right direction?
>>> Thank you,
>>> David
>>>
>>>
>>> ------------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Apertium-stuff mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/apertium-stuff
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> Apertium-stuff mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/apertium-stuff
>>
>>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Apertium-stuff mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/apertium-stuff
>
>
------------------------------------------------------------------------------
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to