Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8318971
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T22:09:37+00:00 2026-06-08T22:09:37+00:00

I did a simple pip install psycopg2 on mac system. It installed fine, but

  • 0

I did a simple pip install psycopg2 on mac system. It installed fine, but when I try to use psycopg2 I get the error:

Reason: Incompatible library version: _psycopg.so requires version 1.0.0 or later, but libssl.0.9.8.dylib provides version 0.9.8

pip freeze shows psycopg2==2.4.5 just right. I have installed psycopg2 on several virtualenvs but this is the first time I am seeing such error. I tried uninstalling and reinstalling, same results. Please help

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T22:09:40+00:00Added an answer on June 8, 2026 at 10:09 pm

    I ran into a similar problem after upgrading to Mountain Lion.

    Instead of copying libssl.* files per Slack’s suggestion, make sure that /usr/lib/libssl.dylib is actually a soft link to the most up-to-date version of the library.

    E.g., on my machine, ls -l /usr/lib/libssl* gives:

    lrwxr-xr-x  1 root  wheel    46B Jun 27 15:24 /usr/lib/libssl.1.0.0.dylib -> /Library/PostgreSQL/9.1/lib/libssl.1.0.0.dylib
    lrwxr-xr-x  1 root  wheel    27B Jul 30 10:31 /usr/lib/libssl.dylib -> /usr/lib/libssl.1.0.0.dylib
    

    If libssl.dylib doesn’t link to the version that the error version mentions, make sure you have that version of the library, and then make sure /usr/lib/libssl.dylib points to it, and not an older version.

    If the link doesn’t exist, create it like so

    sudo ln -s library_to_link_to link_to_create
    

    using, of course, the proper locations for your machine. For me, this turned out to be:

    sudo ln -s /usr/lib/libssl.1.0.0.dylib /usr/lib/libssl.dylib
    

    Edit:

    It seems like some are having trouble with part of my solution. Namely, deleting these important libraries even temporarily causes problems with the operating system.

    Per Purrell’s answer, make sure you include the -fs flags when you use the ln command, which helps ensure that the libraries don’t go missing for a short period of time. E.g.,

    sudo ln -fs /usr/lib/libssl.1.0.0.dylib /usr/lib/libssl.dylib
    sudo ln -fs /usr/lib/libcrypto.1.0.0.dylib /usr/lib/libcrypto.dylib
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Perhaps a simple to be answered question, but I did not find a satisfying
What I'm trying to do seems very simple, but I did not yet find
i'm starting up learning prolog (i use SWI-prolog) and i did a simple exercise
I'm recently have learned to use Zend Framework. I did a simple CRUD application.
i did a simple navigationbased app. it works on iphone very well, but it
Getting this error when running pip install -U selenium . Mid way through the
Did a simple application for line drawing with UIBezierPath, but now need a way
I did a simple test, I know C++ is faster but the results of
I just did a simple application to get a screenshot periodically. The main issue
I was playing around with recursion and did this simple function. I was assuming

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.