M
M
Mark2022-01-26 17:50:59
Python
Mark, 2022-01-26 17:50:59

Can't install psycopg2 and end up running a django server. Can anyone come across Mac OS Monterey m1?

After I installed the "pip install psycopg2-binary" engine and started the server, I started to knock out:
61f15f4898958794476758.png

Here is the text of the main error:
61f15f672bc8d553714128.png

Half an evening spent in Google has not yet yielded results (
Often the reason is for those who work on poppies with an m1 chip

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dr. Bacon, 2022-01-26
@bacon

1. Everything, code, errors, etc., should be displayed in text, why bother breaking our eyes
2. what version of django 4 do you have, where did you find this: 'django.db.backends.postgresql_psycopg2' I suspect that this is the error.
Threat you can also try to build psycopg2 (without binary), but you need a compiler, dev libraries python and postgresql.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question