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

I am getting this error: 

import win32service as ws

ImportError: No module named win32service

on server/openerp/tools/osutil.py

I am trying to run Openerp 7.0 with python 2.7 on windows 7 64bits

Any help is appreciated, thanks

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

Some packages have a 32bit and a 64bit version available - you must download the one which corresponds to the Python you have installed. Even if you have a 64bit computer, if you installed a 32bit version of Python you must install the 32bit version of pywin32.

https://github.com/mhammond/pywin32/releases

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

You need to install the package from win32all:

http://sourceforge.net/projects/pywin32/files/pywin32/Build 214/pywin32-214.win32-py2.7.exe/download

Regards

Ảnh đại diện
Huỷ bỏ