Installing Odoo on Windows

… with the help of WSL

Ikechi Michael
1 min readJun 12, 2019

This article just tries to fill in the gaps, so follow this installation guide first.

  1. Be sure to have WSL
  2. Clone the odoo repository
  3. Install python3 and pip3 in WSL
  4. Install postgresql

If your postgresql server is installed on Windows, install postgresql-client-common and postgresql-client in WSL

5. Install apt-file, a tool for checking which Linux package has the header file you’re missing. Trust me, you’ll need it.

sudo apt-get install apt-file
sudo apt-file update

6. Navigate to the cloned odoo folder with cd ./odoo

7. Install python3 dependencies with:

pip3 install -r requirements.txt

8. You might get an error saying you’re missing zlib or some header file.

For each missing dependency, use apt-file search <missing> to find out which package to install.

9. Run Odoo for the first time with

python3 odoo-bin -w <dbuser> -r <dbpassword> --database <db> -i base --db_host 127.0.0.1

The -i base argument tells odoo to migrate the database with the base configuration.

10. If it’s successful, you’ll be able to view it at http://localhost:8069

Odoo Apps

--

--

Ikechi Michael

I’ve learned I don’t know anything. I've also learned that people will pay for what I know. Maybe that's why they never pay.