跳至內容
選單
此問題已被標幟
5 回覆
24256 瀏覽次數

hi,

i have Ubuntu server 14.04 LTS with five openerp 7 instalations. Each Openerp 7 has own port and subdomain.

My goal is try Odoo 9 but i have big troubles.

when i type in terminal :

/opt/odoo/odoo/openerp-server

i resive :

Traceback (most recent call last):

File "/opt/odoo/odoo/openerp-server", line 2, in <module>
import openerp
File "/opt/odoo/odoo/openerp/__init__.py", line 58, in <module>
import modules
File "/opt/odoo/odoo/openerp/modules/__init__.py", line 8, in <module>
from . import db, graph, loading, migration, module, registry
File "/opt/odoo/odoo/openerp/modules/graph.py", line 13, in <module>
import openerp.osv as osv
File "/opt/odoo/odoo/openerp/osv/__init__.py", line 4, in <module>
import osv
File "/opt/odoo/odoo/openerp/osv/osv.py", line 4, in <module>
from ..exceptions import except_orm
File "/opt/odoo/odoo/openerp/exceptions.py", line 16, in <module>
from tools.func import frame_codeinfo
File "/opt/odoo/odoo/openerp/tools/__init__.py", line 8, in <module>
from misc import *
File "/opt/odoo/odoo/openerp/tools/misc.py", line 15, in <module>
import passlib.utils
ImportError: No module named passlib.utils

any ideas ? 


頭像
捨棄
最佳答案

Hi Mike,

If I understand your question correctly you're getting this when installing / adding a module. This error is telling you that the library passlib.utils is missing. So simply install it inside your Ubuntu like this:

sudo pip install passlib

Update your Odoo after adding the library (by -u) and it should be fixed.

Yenthe

頭像
捨棄
作者

wow "pip" is that magic. many thanks

Got to love pip for these cases. No problem, best of luck with Odoo 9!

最佳答案

Try this..

sudo apt-get install python-passlib

頭像
捨棄

you save my day.

最佳答案

You need to install all the requirements for Odoo v9 and better use a virtual enviroment for that because if you install all the requirements for Odoo v9 in the same system probably you will break the OpenERP instances that you have running. To do it check this answer:

https://www.odoo.com/forum/help-1/question/how-can-i-install-odoo-9-88323#answer_88325

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
6月 16
3301
1
7月 15
4905
2
10月 17
8197
3
2月 25
2840
0
5月 24
46