Error with the psycopg2-binary python library.
See original GitHub issueI looked for someone whom had faced the same problem, but I didn’t find. I also tried to install the application in either Fedora 34 and Kali LTS version, and I got the same error in both:
[+] Checking Dependencies...
[-] psycopg2-binary is not Installed!
[-] Please Execute pip3 install -r requirements.txt to Install Missing Packages
When I try to run the application I face the error above. I have the library already installed, the pip
is at the latest version. I already have uninstalled it and then installed it again. I tried to uninstall python and to install it again as well. As a proof that I have this specific library installed and updated, when I run the pip3 install -r requirements.txt
command, it returns:
Requirement already satisfied: psycopg2-binary in /usr/local/lib/python3.9/dist-packages (from -r requirements.txt (line 8)) (2.9.3)
Thank y’all!
Issue Analytics
- State:
- Created 2 years ago
- Comments:19 (10 by maintainers)
Top Results From Across the Web
How to install psycopg2 with "pip" on Python? - Stack Overflow
Option 1. Install the psycopg2-binary PyPI package instead, it has Python wheels for Linux and Mac OS. pip install psycopg2-binary ...
Read more >psycopg2-binary fails to install on macOS Big Sur 11.0.1 and ...
We are now updating python to 3.9 and when trying to install requirements we found that psycopg could not find pg_config. This error...
Read more >Installation — Psycopg 2.9.5 documentation
The psycopg2-binary package is meant for beginners to start playing with Python and PostgreSQL without the need to meet the build requirements.
Read more >psycopg2-binary - PyPI
The binary package is a practical choice for development and testing but in production it is advised to use the package built from...
Read more >Error while installing psycopg2 using pip - Django Forum
I am trying to run docker in django using this command docker build -t myimage . Now the docker file tries to run...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@daniloalbuqrque blank output means import was successful, edit
requirements.txt
remove the line which containspsycopg2-binary
and run finalrecon againOk then! I will close the issue. Thank you for your time!