Odoo Help

Welcome!

This community 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.

0

Running Odoo on a Windows 7 workstation

By
Heri Bender
on 8/23/14, 5:43 PM 2,036 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

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/

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/

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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