Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4165 Lượt xem

i know that when we install openerp 7 in windows openerp also contain python.dll file to run openerp python file abd also base file, and i had also install python2.7 in windows 7 explicitly.

My question is i want to compile all openerp module and its dependent python module from external python command(c:

\python27\python.exe) , because some module is install in  my external python , Openerp also want that module my Openerp server not able to find all the module which install in external python . How can i set my external python module link to openerp

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Just copy  the needed python packages (OpenERP Python external dependencies) from ../Python27/lib/site-packages/  to .../openerp/server/

One trick: some python packages are found not under ../Python27/lib/site-packages/ but under ../Python27/lib/site-packages/package_name.egg/

Ảnh đại diện
Huỷ bỏ
Tác giả

Thanks Med Said BARA

My advice: Move to Linux, even with Virtual Machine under Windows.

Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 3 15
12739
0
thg 3 25
1448
2
thg 7 24
1418
4
thg 4 24
174327
0
thg 12 23
2202