Odoo Help

0

Running Odoo on a Windows 7 workstation

By
Heri Bender
on 8/23/14, 5:43 PM 2,259 views

I want to try out Odoo 8 on my windows 7 workstation.

Running the start script results in:

ImportError: No module named dateutil.relativedelta

Some googling showed me that this is part of package psycopg2-dateutils.

Running a "easy_install.py psycopg2-dateutils" results in error:

ImportError: cannot import name get_git_version

Python package index does not list "get_git_version". In other google searches I found that this could be a part of the package "version". But I have already installed the package "version". 

What I am doing wrong? (Note: I am a newbie in Python, although an experienced java programmer).

 

0
Anders Wallenquist
On 8/24/14, 5:36 AM

It can be a complex task to get odoo to work in a Windows-environment. In time it will be good hows tos. In the meantime its easer to install Ubuntu 14.04 server in a virtualmashine (VirtualBox for instance). There are plenty howtos for Ubuntu. http://nightly.odoo.com/8.0/nightly/deb/ http://nightly.odoo.com/master/nightly/deb/

0

Ben Bernard

--Ben Bernard--
1083
| 4 3 6
Jakarta, Indonesia
--Ben Bernard--
Ben Bernard
On 8/24/14, 8:49 AM

The easies way is to install Odoo from openerp-allinone-setup-x.x-latest.exe. This installer will install all python module used. Odoo service will available via Windows Services.

The other way, the developer way, is to manually install all python dependencies. I recommend to install pip first. Then you should check setup.py in root Odoo folder. This file give you the idea what python module is needed. Some modules are available via pip. The other is available as standalone package (usually because native OS support). For example, in your case, maybe you need psycopg package:

psycopg2-2.4.5.win32-py2.7-pg9.1.3-release.exe [1]

You have to pick the correct python version you use.

[1] http://www.stickpeople.com/projects/python/win-psycopg/

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 8/23/14, 5:43 PM
Seen: 2259 times
Last updated: 3/16/15, 8:10 AM