Odoo, the open-source business management software suite, empowers businesses with a wide range of applications for managing various aspects of their operations. While Odoo is often associated with Linux environments, installing it on Windows is a straightforward process that brings the power of this robust ERP system to Windows users.
Why Odoo on Windows?
While Linux is a popular choice for hosting Odoo due to its stability and performance, many users prefer the familiarity of the Windows operating system. Installing Odoo on Windows allows businesses and developers to leverage the capabilities of Odoo without the need for a Linux server setup. This flexibility makes Odoo accessible to a broader audience, including those who primarily use Windows for their daily tasks.
Step-by-Step Installation Guide:
1. Python installation.
2. PostgreSQL Installation
3. pgAdmin4 and PSQL Configuration.
4. Installation of the C++ kit using Visual Studio Tools.
5. Getting Odoo 17 from Github.
6. Pycharm Installation
7. Configuring Odoo17 Development environment in Pycharm
Step 1: Python installation
Ensure Python is not already installed on your system before proceeding with the installation. Try the "Python-version" command on the command prompt. If python is installed on your device, it will show some version number, like āPython 3.xx.x.ā Otherwise, you will get an error message saying something like ā'python' is not recognized as an internal or external command, operable program, or batch file.ā For Odoo 17, we need Python 3.10 or the latest. If your version is below 3.10 or your machine doesn't have Python, then download Python from the official website: [https://www.python.org/downloads/].
![how-to-install-odoo-17-in-windows-1-cybrosys](https://www.images.cybrosys.com/blog/Uploads/BlogImage/how-to-install-odoo-17-in-windows-1.png)
While installing the downloaded.exe package, choose the āCustom Installationā option and also check the āAdd Python 3.12 to PATHā box.
![how-to-install-odoo-17-in-windows-2-cybrosys](https://www.images.cybrosys.com/blog/Uploads/BlogImage/how-to-install-odoo-17-in-windows-2.png)
On the optional page, check all checkboxes and click "Nextā.
![how-to-install-odoo-17-in-windows-3-cybrosys](https://www.images.cybrosys.com/blog/Uploads/BlogImage/how-to-install-odoo-17-in-windows-3.png)
On the Advanced page, check the first five check boxes, then āInstall.ā
![how-to-install-odoo-17-in-windows-4-cybrosys](https://www.images.cybrosys.com/blog/Uploads/BlogImage/how-to-install-odoo-17-in-windows-4.png)
Step 2: PostgreSQL Installation
To install PostgreSQL on your machine, directly download and install PostgreSQL from the official website of PostgreSQL ā [https://www.enterprisedb.com/downloads/postgres-postgresql-downloads].
![how-to-install-odoo-17-in-windows-5-cybrosys](https://www.images.cybrosys.com/blog/Uploads/BlogImage/how-to-install-odoo-17-in-windows-5.png)
Version 13 or later is desirable, so click the download icon under āWindows x86-64ā option. Then install the package. While installing, check all componentās checkboxes on the āselect componentsā page of the installer, and provide a super user password on the āPasswordā page. Keep all other configurations the same.
![how-to-install-odoo-17-in-windows-6-cybrosys](https://www.images.cybrosys.com/blog/Uploads/BlogImage/how-to-install-odoo-17-in-windows-6.png)
![how-to-install-odoo-17-in-windows-7-cybrosys](https://www.images.cybrosys.com/blog/Uploads/BlogImage/how-to-install-odoo-17-in-windows-7.png)
After the PostgreSQL installation, there will be a Stack Builder wizard for installing additional components for PostgreSQL. In the wizard, select all the applications under the āDatabase Driversā Category, then complete the wizard.
![how-to-install-odoo-17-in-windows-8-cybrosys](https://www.images.cybrosys.com/blog/Uploads/BlogImage/how-to-install-odoo-17-in-windows-8.png)
Step 3: pgAdmin4 and PSQL Configuration
When installing PostgreSQL, we already selected pgAdmin4 to install on the select components page of the installer, so pgAdmin is already installed on your machine. Open it and expand "Servers" in Object Explorer (tab on the left side). Then youāll need to enter a password for secure pgAdmin. Under the Servers, expand the Postgres Object, and then you can see the option āLogin/Group Rolesā. Right-click on it and create a new role.
![how-to-install-odoo-17-in-windows-9-cybrosys](https://www.images.cybrosys.com/blog/Uploads/BlogImage/how-to-install-odoo-17-in-windows-9.png)
Give the name of the role from the āgeneralā tab.
![how-to-install-odoo-17-in-windows-10-cybrosys](https://www.images.cybrosys.com/blog/Uploads/BlogImage/how-to-install-odoo-17-in-windows-new-1.png)
Set the password from the āDefinitionā tab.
![how-to-install-odoo-17-in-windows-11-cybrosys](https://www.images.cybrosys.com/blog/Uploads/BlogImage/how-to-install-odoo-17-in-windows-new-2.png)
Enable all options from the āPrivilegesā tab.
![how-to-install-odoo-17-in-windows-12-cybrosys](https://www.images.cybrosys.com/blog/Uploads/BlogImage/how-to-install-odoo-17-in-windows-new-3.png)
Then save it.
Step 4: Installation of C++ kit using Visual Studio Tools
C++ is a foundational language for Windows application development. Visual Studio provides a comprehensive set of tools and libraries that make it easier for developers to create Windows desktop applications, services, and components using C++.
Download the C++ Built Tools installer directly from the official websiteā [https://visualstudio.microsoft.com/visual-cpp-build-tools/].
![how-to-install-odoo-17-in-windows-13-cybrosys](https://www.images.cybrosys.com/blog/Uploads/BlogImage/how-to-install-odoo-17-in-windows-13.png)
When installing the installer, check "Desktop Development with C++" and select optional components as shown in the figure.
![how-to-install-odoo-17-in-windows-14-cybrosys](https://www.images.cybrosys.com/blog/Uploads/BlogImage/how-to-install-odoo-17-in-windows-14.png)
Then complete the installation and restart your machine to make the changes.
Step 5: Getting Odoo 17 from Github
Downloading Odoo 17 from Github is an easy process. For that, go to the GitHub official website: [https://github.com/]. Then search Odoo and click on the first result that appears, as shown in the image below.
![how-to-install-odoo-17-in-windows-15-cybrosys](https://www.images.cybrosys.com/blog/Uploads/BlogImage/how-to-install-odoo-17-in-windows-15.png)
Then confirm the branch shown is 17, and click the āCodeā button. Then, you can see the download zip option for Odoo 17.
![how-to-install-odoo-17-in-windows-16-cybrosys](https://www.images.cybrosys.com/blog/Uploads/BlogImage/how-to-install-odoo-17-in-windows-16.png)
Extract it and keep it in a safe location (better to keep it in the home directory).
Step 6: Pycharm Installation
Requirements for the pycharm installation:
Requirement Minimum
ā--------------- ā---------
RAM 4 GB of free RAM
CPU Any modern CPU
Disk space 3.5 GB
Monitor resolution 1024Ć768
If your system meets these requirements you can download pycharm community from the official jetbrains website - [https://www.jetbrains.com/pycharm/download/?section=windows]
![how-to-install-odoo-17-in-windows-17-cybrosys](https://www.images.cybrosys.com/blog/Uploads/BlogImage/how-to-install-odoo-17-in-windows-17.png)
Select installation options while installing the pycharm like in the figure.
![how-to-install-odoo-17-in-windows-18-cybrosys](https://www.images.cybrosys.com/blog/Uploads/BlogImage/how-to-install-odoo-17-in-windows-18.png)
Complete the installation.
Step 7: Configuring Odoo17 Development environment in Pycharm
Now, the final step for the Odoo17 configuration, ie, Setting up the environment.
For that, open the pycharm from applications and click on the āOpen existing projectā.
![how-to-install-odoo-17-in-windows-19-cybrosys](https://www.images.cybrosys.com/blog/Uploads/BlogImage/how-to-install-odoo-17-in-windows-19.png)
Choose the extracted Odoo17 folder and click ok.
![how-to-install-odoo-17-in-windows-20-cybrosys](https://www.images.cybrosys.com/blog/Uploads/BlogImage/how-to-install-odoo-17-in-windows-20.png)
Create an odoo.conf file inside the directory by right clicking on the Odoo-17 folder from project tab (left side).
![how-to-install-odoo-17-in-windows-21-cybrosys](https://www.images.cybrosys.com/blog/Uploads/BlogImage/how-to-install-odoo-17-in-windows-21.png)
Paste these codes inside it.
[options]
; Is This The Password That Allows Database Operations:
admin_passwd = admin
db_host = localhost
db_port = 5432
db_user = odoo
db_password = odoo
addons_path = /home/user/odoo/addons
xmlrpc_port = 8017
Change the db_user and db_password which is set when configured PostgreSQL using pgAdmin. Also, change addons path to āaddonsā directory inside the extracted odoo-17.0 folder.
![how-to-install-odoo-17-in-windows-22-cybrosys](https://www.images.cybrosys.com/blog/Uploads/BlogImage/how-to-install-odoo-17-in-windows-22.png)
Next, we need to set up a Python Interpreter. For that, go to Settings -> Project Settings -> python Interpreter.
![how-to-install-odoo-17-in-windows-23-cybrosys](https://www.images.cybrosys.com/blog/Uploads/BlogImage/how-to-install-odoo-17-in-windows-23.png)
Click on āAdd Interpreterā from the Python interpreter option.
![how-to-install-odoo-17-in-windows-24-cybrosys](https://www.images.cybrosys.com/blog/Uploads/BlogImage/how-to-install-odoo-17-in-windows-24.png)
Now, choose the Interpreter as āSystem Interpreterā as shown in the figure then click OK.
![how-to-install-odoo-17-in-windows-25-cybrosys](https://www.images.cybrosys.com/blog/Uploads/BlogImage/how-to-install-odoo-17-in-windows-25.png)
Finally, we need to create a configuration for running the Odoo17 instance. For that, under the āCurrent fileā option select āEdit Configuration.ā
![how-to-install-odoo-17-in-windows-26-cybrosys](https://www.images.cybrosys.com/blog/Uploads/BlogImage/how-to-install-odoo-17-in-windows-26.png)
Add a new configuration using the Plus icon from the top left panel and choose Python from the options.
![how-to-install-odoo-17-in-windows-27-cybrosys](https://www.images.cybrosys.com/blog/Uploads/BlogImage/how-to-install-odoo-17-in-windows-27.png)
Fillup the necessary information on configuration as shown in figure.
+ Give a name for configuration
+ Select āScript pathā as āodoo-binā file from extracted Odoo-17 (Project Directory)
+ Set Python interpreter only if not already shown.
+ Working Directory choose the extracted project folder
+ Parameters: -c odoo.conf
then click Apply and OK.
![how-to-install-odoo-17-in-windows-28-cybrosys](https://www.images.cybrosys.com/blog/Uploads/BlogImage/how-to-install-odoo-17-in-windows-28.png)
Yeah, Now we can run our Odoo instance by clicking the play icon next to the configuration option or by Keyboard Shift+F10.
![how-to-install-odoo-17-in-windows-29-cybrosys](https://www.images.cybrosys.com/blog/Uploads/BlogImage/how-to-install-odoo-17-in-windows-29.png)
Maybe some Python packages will be missing on your Python interpreter, and then pycharm will show the missing packages. We can add it to the Python interpreter by adding it manually.
To add a package manually, go to interpreter settings then click the + icon above the packages. Paste the missing package name on the search bar and install the correct one.
![how-to-install-odoo-17-in-windows-30-cybrosys](https://www.images.cybrosys.com/blog/Uploads/BlogImage/how-to-install-odoo-17-in-windows-30.png)
Some packages need to be installed with alternate packages which are;
Missing package Alternate package for install
* psycopg2 psycopg2-binary
* PIL PIL-Tools
* dateutil dateutils
* Win32service pypiwin32
After adding the missing packages, run the instance once again open the browser and paste the ālocalhost:8017ā address.
![how-to-install-odoo-17-in-windows-31-cybrosys](https://www.images.cybrosys.com/blog/Uploads/BlogImage/how-to-install-odoo-17-in-windows-31.png)
You can create a new database with your master password set on the configuration file by filling email and password.