İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
6564 Görünümler

I'm using Mac and installed Odoo v8 in Yosemite 10.10 and works fine until today morning I upgraded the OS X to El Capitan 10.11 and server is error when I try to start it. I'm using Postgre SQL 9.4.4.  Error is shown as below:


File "/Users/Hok/Odoo/v8/openerp/models.py", line 57, in <module>
import psycopg2
File "/Library/Python/2.7/site-packages/psycopg2/__init__.py", line 50, in <module>
from psycopg2._psycopg import BINARY, NUMBER, STRING, DATETIME, ROWID
ImportError: dlopen(/Library/Python/2.7/site-packages/psycopg2/_psycopg.so, 2): Library not loaded: libpq.5.dylib
Referenced from: /Library/Python/2.7/site-packages/psycopg2/_psycopg.so
Reason: unsafe use of relative rpath libpq.5.dylib in /Library/Python/2.7/site-packages/psycopg2/_psycopg.so with restricted binary


How to fix it?

Avatar
Vazgeç
Üretici En İyi Yanıt

Problem is fixed. Just disable SIP by restart to recovery mode and from the terminal enter "csrutil disable". 

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Mar 25
1687
0
Oca 25
3861
1
Ağu 23
15346
change password Çözüldü
1
Ağu 23
13964
1
Tem 23
11022