Can't install psycopg2 package through pip install… Is this because of Sierra?

后端 未结 13 1115
逝去的感伤
逝去的感伤 2020-11-28 01:35

I am working on a project for one of my lectures and I need to download the package psycopg2 in order to work with the postgresql database in use. Unfortunately, when I try

13条回答
  •  旧巷少年郎
    2020-11-28 02:17

    It looks like the openssl package is not installed. Try installing it and pip install again. I'm not a macos user, but I believe that brew simplifies package management on that platform.

    You might also need to install the Python development and postgresql development packages.

提交回复
热议问题