Get the App
SLTechnology News&Howtos  ›  Servers  › 

Install odoo11 with Pipenv source code under Win 7

Shulou Source: shulou.com Published: 2022-06-02 15:19:26 09月22日 Update

Because, the computer itself has installed odoo8,9,10 and other odoo versions, at that time, did not consider is directly unified environment configuration.

Now, in the odoo11 environment, Python 3 language environment needs to be able to support the odoo11 function well, so I found the installation tool pipenv, which is now more popular to create virtual environment, which can be used to isolate each project environment well and provide a separate running environment for each project.

Installation steps: 1. Install Python 3.6.4 and configure environment variables:

Address: www.python.org/downloads/

Second, download odoo11 source package: github.com/odoo/odoo

Third, install pipenv: 1, first use pip to install Pipenv and its dependencies:

pip install pipenv

Change the directory to the folder containing your Python project:

C:\Users\Administrator>f:

F:\>cd odoo2018_11

3. Under the Python project folder, specify pipenv to install the Python virtual environment for odoo11, and start Pipenv

F:\odoo2018_11>pipenv --python "D:\Python 3.6.4\Python 3.6.4\python.exe"

F:\odoo2018_11>pipenv install

4. Load the virtual environment and install the dependency packages in the Python compiler:

4. Problems encountered during odoo11 startup and solutions:

1、ImportError: No module named 'win32service'

pipenv install pypiwin32

2、ImportError: No module named 'PIL'

pipenv install Pillow

3、No module named 'ForkingMixIn'

Upgrade Werkzeug to 0.11.15

pipenv install Werkzeug==0.11.15

4、ModuleNotFoundError: No module named 'reportlab'

pipenv install reportlab

5、psycopg2.OperationalError: fe_sendauth: no password supplied

Create a new odoo.conf file in the setup directory

6, window install odoo11 error ValueError: embedded null byte

Under D:\Python 3.6.4\Python 3.6.4\Lib\_strptime.py, add the code:

locale.setlocale(locale.LC_ALL, 'en')

Tags: Environment projects files folders directories configurations source code code methods functions variables addresses tools steps versions computers compilers languages procedures problems Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft Shulou Tech Info NVidia Xiaomi Shulou Information