“Could not run curl-config: [Errno 2] No such file or directory” when installing pycurl October 5, 2022 by Tarik On Debian I needed the following packages to fix this sudo apt install libcurl4-openssl-dev libssl-dev