0
0

More than 3 years have passed since last update.

Pipenv環境下でpsycopg2がpipenv lock時にエラーを吐く時の対処法

Last updated at Posted at 2020-03-05

経緯

herokuにあげようとライブラリを追加していたとき、psycopg2がひっついてきて、Pipfile lockでエラー吐きまくるので困った話

環境

項目 バージョン
os Ubuntu18.04LTS
python 3.7
pipenv version 2018.11.26

解決方法

なぜ効いたかなどは調べられていないので参考程度に。

  1. psqlをインストールします

$ sudo apt upgrade
$ sudo apt install postgresql postgresql-contrib

以上!!!(なんで?ワカラナイノトテモキモチワルイ....)

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0