Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Install odoo11 with Pipenv source code under Win 7

2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

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')

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report