Install odoo-11.0 from source on Windows
It is recommended to have 64 bit version of operating system installed on your system.
It is recommended to install 64 bit version of all software packages mentioned in installation process.
Download and install Git for Windows.
Download and install Node.js LTS.
Launch Command Prompt as Administrator.
Less.js by > npm install -g less less-plugin-clean-cssDownload and install PostgreSQL.
add PostgreSQL’s bin directory (default: C:\Program Files\PostgreSQL\x.x\bin) to your PATH.
create a postgres user with a password using the PgAdmin GUI:
PgAdmin4,server node to create a connection,PostgreSQL node,Role Name field (e.g. odoo),Definition tab and enter the password (e.g. odoo),Privileges tab and give login and create database rights,save.Download and install Microsoft Visual C++ 2015 Redistributable.
Download and install Python3 version 3.6.
Python3 installation directory (default: C:\Users\{UserName}\AppData\Local\Programs\Python\PythonXX.python.exe to python3.exe and pythonw.exe to pythonw3.exe.Python3 installation directory (default: C:\Users\{UserName}\AppData\Local\Programs\Python\PythonXX) to your PATH.Some of odoo dependencies are non-pure Python packages which requires C/C++ compilation during their installation process. you can install those dependencies using one of the following approaches.
Wheel (.whl) format targeting your system configuration.C/C++ compiler than install those dependencies from source.For installing dependencies from Wheel (.whl), launch Command Prompt as Administrator.
pypiwin32 by > python3 -m pip install pypiwin32Pillow by > python3 -m pip install Pillow-3.4.2-cp36-cp36m-win_amd64.whlgevent by > python3 -m pip install gevent-1.2.2-cp36-cp36m-win_amd64.whllxml by > python3 -m pip install lxml-3.8.0-cp36-cp36m-win_amd64.whlpsutil by > python3 -m pip install psutil-5.3.1-cp36-cp36m-win_amd64.whlpsycopg2 by > python3 -m pip install psycopg2-2.7.3-cp36-cp36m-win_amd64.whlpyldap by > python3 -m pip install pyldap-2.4.37-cp36-cp36m-win_amd64.whlreportlab by > python3 -m pip install reportlab-3.4.0-cp36-cp36m-win_amd64.whlIf you’re having 32 bit Windows architecture or other Python versions (e.g. 3.4, 3.5) installed on your system. you can download non-pure Python package Wheels (.whl) targeting your system configurations from PyPI or Laboratory for Fluorescence Dynamics. If you’re having Python 3.4 installed on system then you will require Microsoft Visual C++ 2010 Redistributable instead of Microsoft Visual C++ 2015 Redistributable. for more information visit WindowsCompilers article on Python Wiki.
For installing dependencies from source, download Visual C++ 2015 Build Tools.
custom mode for installation,Windows 8.1 SDK, Windows 10 SDK, ATL/MFC SDK, .NET Framework SDK etc.)Install.After Visual C++ 2015 Build Tools installation process completes, launch Command Prompt as Administrator
pypiwin32 by > python3 -m pip install pypiwin32Pillow by > python3 -m pip install pillowgevent by > python3 -m pip install geventlxml by > python3 -m pip install lxmlpsutil by > python3 -m pip install psutilpsycopg2 by > python3 -m pip install psycopg2pyldap by > python3 -m pip install pyldapreportlab by > python3 -m pip install reportlabIf you’re having Python 3.4 installed on system then you will require Microsoft Windows SDK for Windows 7 and .NET Framework 4 instead of Visual C++ 2015 Build Tools. for more information visit WindowsCompilers article on Python Wiki.
Install remaining pure Python packages from requirements.txt using
$ python3 -m pip install -r requirements.txt$ python3 -m pip install -U werkzeugDownload and install wkhtmltopdf.
Add wkhtmltopdf’s bin directory (default: C:\Program Files\wkhtmltopdf\bin) to your PATH.
Launch Command Prompt.
Switch to (cd) your desired odoo installation directory
clone odoo repository by git clone https://github.com/odoo/odoo.git -b 11.0
Switch to odoo installation directory and run odoo using
$ python3 odoo-bin -w odoo -r odoo --addons-path=addons --log-level=debug_rpc
