LoginSignup
0
0

psycopg2をpip installしようとすると、UnicodeDecodeErrorになる

Posted at
pip install psycopg2
や
pip install psycopg2-binary

を行うとUnicodeDecodeErrorエラーになる

image.png

調べていろいろやったが、うまくいかない

pythonのバージョンを 3.12.0 から 3.8.10に落としたら行けた

> python -V
Python 3.12.0

ダウングレードは、そのバージョンのインストーラーをダウンロードして、インストール時にパスを上書くようにすればいいだけ
もし仮想環境を使っているのならそれも作り直す

image.png

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