I am running a Python programme on my MacBook Pro (Catalina), but everytime it prompts the following information
However, in the pane of Security & Privacy preferences, I have set it,
How can I fix it?
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.Sign up to join this community
Create a self-signed certificate.
Now sign your application
codesign -s "My Certificate" -f $(which python)
In the dialog that appears, click "Allow".
With the OS X firewall enabled, you can remove the "Do you want the application "python" to accept incoming network connections?" message.