While installing magento, you can get this error on configuration part.
But you can resolve it easily. Magento installation wizard now checks for curl on setup. Just make sure that curl extension is enabled in your php.ini
You can uncomment the line referring to php_curl.dll and restart your web server. It should fix the error