小编Mic*_*cha的帖子

包要求'psycopg2==2.9.1'不满足pycharm macos

经过长时间的尝试:我安装了 psycopg2==2.9.1 并 安装了 pip

我尝试将其添加到我能找到的所有解释器路径中,但仍然不断收到此消息: 错误消息

我也尝试重新启动 pycharm,使缓存无效..

当尝试使用 pycharm 安装它时,我收到此错误消息:

    Collecting psycopg2==2.9.1
  Using cached psycopg2-2.9.1.tar.gz (379 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Building wheels for collected packages: psycopg2
  Building wheel for psycopg2 (setup.py): started
  Building wheel for psycopg2 (setup.py): finished with status 'error'
  Running setup.py clean for psycopg2
Failed to build psycopg2
Installing collected packages: psycopg2
    Running setup.py install for psycopg2: started
    Running setup.py install for psycopg2: finished with status 'error'

  ERROR: …
Run Code Online (Sandbox Code Playgroud)

python pip psycopg2 pycharm python-3.x

8
推荐指数
2
解决办法
1811
查看次数

标签 统计

pip ×1

psycopg2 ×1

pycharm ×1

python ×1

python-3.x ×1