Error Loading Psycopg2 Module Dlopen
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might error loading psycopg2 module s e have Meta Discuss the workings and policies of this site About
Error Loading Psycopg2 Module Dll Load Failed
Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting django error loading psycopg2 module ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 improperlyconfigured error loading psycopg2 module million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up How do I run psycopg2 on El Capitan without hitting a libssl error up vote 12 down vote favorite 8 I've got a python django dev setup on my mac and have just upgraded to El Capitan. I've
Error Loading Psycopg2 Module No Module Named Psycopg2
got psycopg2 installed in a virtualenv but when I run my server I get the following error - django.core.exceptions.ImproperlyConfigured: Error loading psycopg2 module: dlopen(/Users/aidan/Environments/supernova/lib/python2.7/site-packages/psycopg2/_psycopg.so, 2): Library not loaded: libssl.1.0.0.dylib Referenced from: /Users/aidan/Environments/supernova/lib/python2.7/site-packages/psycopg2/_psycopg.so Reason: image not found I've tried reinstalling my virtualenv pip install -f requirements.txt And I've tried upgrading psycopg2 pip uninstall psycopg2 pip install psycopg2 But I'm still getting the same error. I've also tried adding symlinks to /usr/lib but El Capitan's new rootless thing doesn't allow it - $ sudo ln -s /Library/PostgreSQL/9.2/lib/libssl.1.0.0.dylib /usr/lib ln: /usr/lib/libssl.1.0.0.dylib: Operation not permitted So I tried /usr/local to no avail. The system version of openssl seems to be 1.0.2 - $ openssl version OpenSSL 1.0.2d 9 Jul 2015 How do I fix this? python psycopg2 osx-elcapitan libssl share|improve this question edited Feb 17 at 23:36 TimB 4,28821827 asked Oct 6 '15 at 19:43 Aidan Ewen 6,83623253 I had this same frustrating issue yesterday. Did some of this same troubleshooting, no avail. I re
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this django.core.exceptions.improperlyconfigured error loading psycopg2 module no module named psycopg2 site About Us Learn more about Stack Overflow the company Business Learn more psycopg2 image not found about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss
Ln: /usr/lib/libssl.1.0.0.dylib: Operation Not Permitted
Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Psycopg2 image not http://stackoverflow.com/questions/32978365/how-do-i-run-psycopg2-on-el-capitan-without-hitting-a-libssl-error found up vote 45 down vote favorite 25 Trying to setup postgres with the postgres mac app and hit this error, which I haven't been able to solve. Any thoughts? ImportError: dlopen(/Users/Craig/pyenv/mysite/lib/python2.7/site-packages/psycopg2/_psycopg.so, 2): Library not loaded: @executable_path/../lib/libssl.1.0.0.dylib Referenced from: /Applications/Postgres.app/Contents/MacOS/lib/libpq.dylib Reason: image not found python osx postgresql psycopg2 share|improve this question edited Oct 7 '14 at 15:08 mehaase 12.3k23652 asked May 6 '13 at http://stackoverflow.com/questions/16407995/psycopg2-image-not-found 22:00 Craig Cannon 5491716 add a comment| 12 Answers 12 active oldest votes up vote 71 down vote $ sudo ln -s /Library/PostgreSQL/9.2/lib/libssl.1.0.0.dylib /usr/lib $ sudo ln -s /Library/PostgreSQL/9.2/lib/libcrypto.1.0.0.dylib /usr/lib I encountered this error while working on Django. I have it working on virtualenv with Django==1.3 but not on Django==1.5 where I have to issue the commands above. In OS X El Capitan you can't do these links without disabling system protection but it works well if you link to /usr/local/lib share|improve this answer edited Sep 25 at 6:31 temoto 2,31831528 answered May 19 '13 at 11:21 philippinedev 1,00678 2 This answer was the only one that worked for me that didn't screw up other systems like Mercurial etc. Looks like it's a known issue: github.com/PostgresApp/PostgresApp/issues/… –Luke Hoersten May 31 '13 at 18:50 12 And for those of you using Heroku's Postgres.app -- sudo ln -s /Applications/Postgres.app/Contents/MacOS/lib/libssl.1.0.0.dylib /usr/lib sudo ln -s /Applications/Postgres.app/Contents/MacOS/lib/libcrypto.1.0.0.dylib /usr/lib –s29 Aug 26 '13 at 0:44 In case you've already created a symbolic link from a previous version, be sure to remove it before you create a new one. sudo rm /usr/lib/libssl.X.X.X.dylib sudo rm /usr/lib/libcrypto.X.X.X.dy
here for a quick overview of the site Help Center Detailed answers to http://stackoverflow.com/questions/1383126/django-python-beginner-error-when-executing-python-manage-py-syncdb-psycopg2 any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack error loading Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Django/Python Beginner: Error when executing python manage.py syncdb - psycopg2 not found up vote 21 down vote favorite 7 I have Pythong2.6, psycopg2 and pgAdmin3 installed using Macports. error loading psycopg2 My settings.py is: DATABASE_ENGINE = 'postgresql_psycopg2' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. DATABASE_NAME = 'mysite' # Or path to database file if using sqlite3. DATABASE_USER = 'postgres' # Not used with sqlite3. DATABASE_PASSWORD = '' # Not used with sqlite3. DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3. DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3. The error I get when I run python manage.py syncdb is: Traceback (most recent call last): File "manage.py", line 11, in