Help

3

syntax error openerp

Avatar
pfe2013

hello I installed openerp, postgresql. I installed Eclipse environment with Python 2.5 and download openerp source. I execute setup.py but I get this error:

c:\python25\lib\site-packages\openerp-6.1-py2.5.egg\openerp\cron.py:113: Warning: 'with' will become a reserved keyword in Python 2.6 File "c:\python25\lib\site-packages\openerp-6.1-py2.5.egg\openerp\cron.py", line 113 with _thread_slots_lock: ^ SyntaxError: invalid syntax

2 Comments
Avatar
Discard
Avatar
Daniel Reis
-

You should edit your question and improve it describing in detail all the installation steps you are using. Not only this will help people willing to help you, but will also help other people trying to do the same thing you are.

Avatar
Yug Faa
-

Use python 2.7 and why setup.py in Eclipse ?

1 Answer
0
Avatar
Vince Vinet
Best Answer

As the error mention shows, python2.5 does not support the with statement. Use a more recent python version.

Avatar
Discard