1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

pip install psycopg2がうまくいかなかった時の備忘録

Posted at

【環境】
Ubuntu(EC2) 20.04
Python 3.8.5
virtualenv 20.0.17

Ubuntu20.04にvirtualenvを作成して、その中でpipパッケージのインストールを行っていました。

【背景】
ローカル環境(Windows)で作ったDjangoのポートフォリオをサーバーに反映していたらrequirements.txtをダウンロードした時に引っかかりました。

コマンドラインを見るとpsycopg2がダウンロードできないらしい...

早い話wheelが必要みたい

pip install wheel

これをやってからpip install psycopg2を実行したらイケました。

1
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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?