“Failed building wheel for psycopg2” - MacOSX using virtualenv and pip

前端 未结 14 1507
囚心锁ツ
囚心锁ツ 2020-12-08 18:20

I\'m attempting to make a website with a few others for the first time, and have run into a weird error when trying to use Django/Python/VirtualEnv. I\'ve found solutions to

相关标签:
14条回答
  • 2020-12-08 19:16

    For OSX Sierra users, it seems that an xcode update is the solution: Can't install psycopg2 package through pip install... Is this because of Sierra?

    0 讨论(0)
  • 2020-12-08 19:18

    I faced the same issue, but the answers above didn't work for me. So this is what I did in my requirements.txt psycopg2-binary==2.7.6.1 and it worked fine

    0 讨论(0)
提交回复
热议问题