Collecting psycopg2 Using cached psycopg2-2.9.1.tar.gz (379 kB) Preparing metadata (setup.py) ... error ERROR: Command errored out with exit status 1: command: 'C:\Users\Samsung\Documents\Alura\DJANGO\receita-aplicacao\venv\Scripts\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Samsung\AppData\Local\Temp\pip-install-vw3cymvx\psycopg2_3de1882729fd49f0b927cba4fd2a7568\setup.py'"'"'; file='"'"'C:\Users\Samsung\AppData\Local\Temp\pip-install-vw3cymvx\psycopg2_3de1882729fd49f0b927cba4fd2a7568\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Samsung\AppData\Local\Temp\pip-pip-egg-info-h2yzwx6q' cwd: C:\Users\Samsung\AppData\Local\Temp\pip-install-vw3cymvx\psycopg2_3de1882729fd49f0b927cba4fd2a7568 Complete output (39 lines): running egg_info creating C:\Users\Samsung\AppData\Local\Temp\pip-pip-egg-info-h2yzwx6q\psycopg2.egg-info
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe3 in position 1: ordinal not in range(128)
WARNING: Discarding https://files.pythonhosted.org/packages/aa/8a/7c80e7e44fb1b4277e89bd9ca509aefdd4dd1b2c547c6f293afe9f7ffd04/psycopg2-2.9.1.tar.gz#sha256=de5303a6f1d0a7a34b9d40e4d3bef684ccc44a49bbe3eb85e3c0bffb4a131b7c (from https://pypi.org/simple/psycopg2/) (requires-python:>=3.6). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. Using cached psycopg2-2.9.tar.gz (379 kB) Preparing metadata (setup.py) ... error ERROR: Command errored out with exit status 1: command: 'C:\Users\Samsung\Documents\Alura\DJANGO\receita-aplicacao\venv\Scripts\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Samsung\AppData\Local\Temp\pip-install-vw3cymvx\psycopg2_6b62c08416414be7b99589133268b3e6\setup.py'"'"'; file='"'"'C:\Users\Samsung\AppData\Local\Temp\pip-install-vw3cymvx\psycopg2_6b62c08416414be7b99589133268b3e6\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Samsung\AppData\Local\Temp\pip-pip-egg-info-bybwrp8m' cwd: C:\Users\Samsung\AppData\Local\Temp\pip-install-vw3cymvx\psycopg2_6b62c08416414be7b99589133268b3e6 Complete output (39 lines): running egg_info File "C:\Users\Samsung\AppData\Local\Temp\pip-install-vw3cymvx\psycopg2_6b62c08416414be7b99589133268b3e6\setup.py", line 123, in query result = result.decode('ascii')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe3 in position 1: ordinal not in range(128)
Using cached psycopg2-2.8.6.tar.gz (383 kB) Preparing metadata (setup.py) ... done Using legacy 'setup.py install' for psycopg2, since package 'wheel' is not installed. Installing collected packages: psycopg2 Running setup.py install for psycopg2 ... error ERROR: Command errored out with exit status 1: command: 'C:\Users\Samsung\Documents\Alura\DJANGO\receita-aplicacao\venv\Scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Samsung\AppData\Local\Temp\pip-install-vw3cymvx\psycopg2_5dba2dd383fa4aa69824744a6da66c22\setup.py'"'"'; file='"'"'C:\Users\Samsung\AppData\Local\Temp\pip-install-vw3cymvx\psycopg2_5dba2dd383fa4aa69824744a6da66c22\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\Samsung\AppData\Local\Temp\pip-record-sl0o_mow\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Samsung\Documents\Alura\DJANGO\receita-aplicacao\venv\include\site\python3.10\psycopg2' cwd: C:\Users\Samsung\AppData\Local\Temp\pip-install-vw3cymvx\psycopg2_5dba2dd383fa4aa69824744a6da66c22 Complete output (22 lines): running build_ext building 'psycopg2._psycopg' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------