If you prefer to avoid building psycopg2 from source, please install the PyPIįor further information please check the 'doc/src/install. Or with the pg_config option in 'setup.cfg'. Python setup.py build_ext -pg-config /path/to/pg_config build. Please add the directoryĬontaining pg_config to the $PATH or specify the full executable path with the Pg_config is required to build psycopg2 from source. Writing manifest file '/tmp/pip-pip-egg-info-ydcnhb7u/psycopg2.egg-info/SOURCES.txt' Since we build the psycopg2 windows binaries with the compiler version that was used to build the respective Python version, we also use that compiler version. Writing top-level names to /tmp/pip-pip-egg-info-ydcnhb7u/psycopg2.egg-info/top_level.txt Writing dependency_links to /tmp/pip-pip-egg-info-ydcnhb7u/psycopg2.egg-info/dependency_links.txt Writing /tmp/pip-pip-egg-info-ydcnhb7u/psycopg2.egg-info/PKG-INFO layers/paketo-buildpacks_cpython/cpython/lib/python3.10/site-packages/setuptools/config/setupcfg.py:463: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.Ĭreating /tmp/pip-pip-egg-info-ydcnhb7u/psycopg2.egg-info × python setup.py egg_info did not run successfully. Preparing metadata (setup.py): finished with status 'error' I’m trying to deploy a Flask app, but the dependency install step is failing: Collecting psycopg2=2.9.3ĭownloading psycopg2-2.9.3.tar.gz (380 kB)
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |