Ensure pycurl is installed and update cache if needed