Уважаемые, подскажите не могу поставить dbconnection стоит python 3.11
C:\Users\papa\>pip install dbconnection
Collecting dbconnection
Using cached DbConnection-0.0.4-py3-none-any.whl (7.6 kB)
Collecting SQLAlchemy==1.4.25 (from dbconnection)
Using cached SQLAlchemy-1.4.25.tar.gz (7.8 MB)
Preparing metadata (setup.py) ... done
Collecting urllib3==1.26.7 (from dbconnection)
Using cached urllib3-1.26.7-py2.py3-none-any.whl (138 kB)
Collecting pyodbc==4.0.34 (from dbconnection)
Using cached pyodbc-4.0.34.tar.gz (271 kB)
Preparing metadata (setup.py) ... done
Collecting psycopg2==2.9.3 (from dbconnection)
Using cached psycopg2-2.9.3.tar.gz (380 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [53 lines of output]
...
for token in pg_config_helper.query("ldflags").split():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File " C:\Users\papa\AppData\Local\Temp\pip-install-20w1w9oi\psycopg2_9963f16c497541f4899c8c6f0b3973fa\setup.py", line 124, in query
result = result.decode('ascii')
^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'ascii' codec can't decode byte 0xed in position 0: ordinal not in range(128)
[end of output]
-
Вопрос задан
-
64 просмотра