Datasmith Plugin error when trying to open Revit

After installing the Datasmith plugin, I try to run Revit and it throws the following error: "Revit cannot run the external application "DatasmithRevitExporter. Contact the provider for assistance. Information provided to Revit about their identity: Epic Games, epicgames.com.

System.TypeInitializationException

System.TypeInitializationException: The type initializer for ‘DatasmithFacadeCSharpPINVOKE’ threw an exception… long error that won’t let me copy and paste.

Any help would be greatly appreciated.