The most important reference is the installation documentation of the corresponding version on the official website of odoo, https://www.odoo.com/documentation/10.0/setup/install.html#, no matter which distribution under which operating system is installed, it is important Say things three times, ( . . . )
Install 11 community distribution under windows10
1. Install virtualenv, create a virtualenv directory where odoo is installed
2. Download the odoo source code and unzip it
3.安装 error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
This software needs to be installed first
4. Activate the virutalenv environment, enter the odoo source directory, pip install -r require.txt
5.Install psycopg
using the installer herehttp://www.stickpeople.com/projects/python/win-psycopg/
Python 3.6 needs to go to the _psycopg.py in the psycopg package under (virtual environment directory)\lib\site-packages, which has an extension. There is no such problem under python2.7.
6. npm install -g less
npm install -g less-plugin-clean-css