To fix this issue, you should do exactly that the system says: enable the allow_url_fopen
option in your command-line PHP interpreter.
You can check whether the allow_url_fopen
is enabled by executing the following command in the root Magento 2 folder:
php -i | grep allow_url_fopen
Similar issues: