You can try downloading the plugin from the net and place them in your wp-content/plugins folder. AFter that jus go to your admin panel and activate the plugin. This error usually occurs when your localhost cannot interact with the wordpress libraries.