在百度上面,查找了一些相关的资料博客等,需要下载odoo11的源码.zip文件,我也下载了,按照博客上面的步骤,去做,到最后运行Odoo11时,PyCharm提示:
Traceback (most recent call last):
File "D:/PycharmProjects/publish/odoo-11.0.post20171120/setup/odoo", line 5, in
import odoo
ModuleNotFoundError: No module named 'odoo'
不知道是哪里的错误,安装了Odoo11最新版本的基于windows的.exe文件后python3.6.2和postgreSQL也都安装好了,我们可以直接使用吧,我使用安转好的python3.6.2中的pip去下载Odoo11的python依赖包时提示我:
Failed building wheel for gevent
Failed building wheel for greenlet
Failed building wheel for lxml
Failed building wheel for Pillow
Failed building wheel for psutil
Failed building wheel for pyldap
Failed building wheel for reportlab
Command ""D:\develope\odoo\Odoo 11.0\python\python.exe" -u -c "import setuptools, tokenize;file='C:\Users\vnbuser\AppData\Local\Temp\pip-build-umg8n_dp\lxml\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\vnbuser\AppData\Local\Temp\pip-83res_ho-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\vnbuser\AppData\Local\Temp\pip-build-umg8n_dp\lxml\
不知道是不是这里的下载依赖库出的问题导致Odoo11源码在PyCharm上运行不了。
希望有前辈指导!