Community mailing list archives

community@mail.odoo.com

Re: How to get started developing Odoo for beginners in Eclipse or Pycharm on Windows?‏‏

by
Skillteam, Houssine BAKKALI
- 10/08/2015 04:22:44
first odoo does not run on python version > 2.7 so you better get rid of the python 3.4.3 and get the 2.7 one...

2015-10-08 9:47 GMT+02:00 M. Abrar Khalid 1553-FBAS/BSSE/F11 <abrar.bsse1553@iiu.edu.pk>:

Hello guys,

I am searching from a while just to setup the environment for developing odoo. I have searched many blogs but the only one I found to be most detailed and easy for the beginners was this link.

https://www.odoo.com/nl_NL/forum/help-1/question/how-to-debug-odoo-in-eclipse-under-winows-36105

Now I have tried to debug Odoo ver. 7 and ver. 8.

I have installed Python 3.4.3.

Eclipse Mars.

Everything that was mentioned in the link was followed accordingly accept Python ver.2.7 and I am having the following error when I debug it. 

pydev debugger: starting (pid: 3060)

Traceback (most recent call last):

File "F:\Work Partition\IDE\eclipse\plugins\org.python.pydev_4.3.0.201508182223\pysrc\pydevd.py", line 2283, in <module>

    globals = debugger.run(setup['file'], None, None)

File "F:\Work Partition\IDE\eclipse\plugins\org.python.pydev_4.3.0.201508182223\pysrc\pydevd.py", line 1709, in run

    pydev_imports.execfile(file, globals, locals)  # execute the script

File "F:\Work Partition\IDE\eclipse\plugins\org.python.pydev_4.3.0.201508182223\pysrc\_pydev_imps\_pydev_execfile.py", line 18, in execfile

    exec(compile(contents+"\n", file, 'exec'), glob, loc)

File "F:\Work Partition\Workspaces\eclipse - mars\odooV7\openerp-server.py", line 2, in <module>

    import openerp

File "F:\Work Partition\Workspaces\eclipse - mars\odooV7\openerp\__init__.py", line 40, in <module>

    import cli

ImportError: No module named 'cli'


Regards.


Muhammad Abrar Khalid
International Islamic University, Islamabad.

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe