Ask Your Question
1

What is the cause of "Permission denied: 'curl-config'" error when trying to create building airflow in docker-compose using pycurl in requirements?

asked 2023-04-04 11:00:00 +0000

woof gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2021-05-14 00:00:00 +0000

lakamha gravatar image

The "Permission denied: 'curl-config'" error occurs when the user does not have sufficient permissions to access or execute the "curl-config" file. This file is used by pycurl to build and install the library in the virtual environment.

To fix this error, you can try running the docker-compose command as a root user. Alternatively, you can provide the necessary permissions to the file by using the chmod command:

sudo chmod +x /usr/bin/curl-config

This will give execute permissions to the curl-config file and allow the pycurl library to install properly.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-04-04 11:00:00 +0000

Seen: 12 times

Last updated: May 14 '21