engineergaq.blogg.se

10.9 5 mac os
10.9 5 mac os




10.9 5 mac os

Last but not the least, it also assumes you already have PostgreSQL installed in your system, if not then install it.

10.9 5 mac os

If you have not installed homebrew then install it. The below steps assume you have homebrew installed. If not, then install it from the Apple Developer site. Before starting make sure you have the Xcode command-line tool installed. You can check it step by step to know which is the source of error for you and then you can troubleshoot from there.įollowing are the steps, which worked for me and my team members while installing psycopg2 on Mac OS Big Sur. py file then the problem is libpq and its linkages. If psycopg2 is getting installed but you are unable to import it in your.If your psycopg2 is not getting installed or giving an installation error then check you may have a problem with PostgreSQL installation, linking to pg_config file in the bin folder of PostgreSQL installation or openssl installation and its linkages.py file can lie in two areas - installation and import. The problem of psycopg2 installation and its import in the. Users/sg/build/psycopg2 Storing complete log in Or with the pg_config option in 'setup.cfg'.Ĭommand python setup.py egg_info failed with error code 1 in Please add the directory containing pg_config to the PATH or specify the full executable path with the option: Warning: manifest_maker: standard file '-c' not found Pip-egg-info/psycopg2.egg-info/dependency_links.txt Pip-egg-info/psycopg2.egg-info/top_level.txt Writing pip-egg-info/psycopg2.egg-info/PKG-INFO Complete output fromĬommand python setup.py egg_info: running egg_info Or with the pg_config option in 'setup.cfg'. Python setup.py build_ext -pg-config /path/to/pg_config build. The full executable path with the option: Please add the directory containing pg_config to the PATH or specify My error code is: Running setup.py egg_info for package psycopg2 Error: pg_config I found a lot of the same questions on StackOverflow but no answer seems to work. I'm trying to install Psycopg2 on my Macbook, but I am getting an error.






10.9 5 mac os