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

Hello,

I've installed PostgesSQL 9.1 on OpenSuse 12.2-x64, all packages related to Python and then installed OpenERP 7. At the end i have this:

compilation terminated. error: Setup script exited with error: command 'gcc' failed with exit status 1 ABIGAEL:~/Downloads/openerp-7 # openerp-server Traceback (most recent call last): File "/usr/local/bin/openerp-server", line 4, in <module> import pkgresources File "/usr/lib/python2.7/site-packages/pkgresources.py", line 2803, in <module> workingset.require(requires) File "/usr/lib/python2.7/site-packages/pkgresources.py", line 696, in require needed = self.resolve(parserequirements(requirements)) File "/usr/lib/python2.7/site-packages/pkgresources.py", line 594, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: psutil

Do you know what happened?

thanks

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

Just install the psutil package, either from your package manager or via the pip command.

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

zypper in python-psutil

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