The handling of "ValueError: embedded null byte" appears when installing Odoo from source under Win7 and low-version servers

First look, after installing odoo, such an error will be reported

Solution:

Under python\Lib\_strptime.py, add the code:
locale.setlocale(locale.LC_ALL,'en')

Find _strptime.py

This is generally under the python path, I installed the python virtual environment here, so find the Lib folder under the virtual environment location

Then find _strptime.py

Then under the import header file, add content:

Restart odoo

Guess you like

Origin blog.csdn.net/u012798683/article/details/106323376