I am getting an error Importing library 'DataDriver ..TestData/Aerosimpleloginpage.xlsx' failed: ModuleNotFoundError: No module named 'DataDriver '

iam getting this error while executing test case

Importing library ‘DataDriver …TestData/Aerosimpleloginpage.xlsx’ failed: ModuleNotFoundError: No module named 'DataDriver ’

(venv) PS D:\Aerosimple using Robot Frame work> robot TestCases\DataDrivenExcel.robot
[ ERROR ] Error in file ‘D:\Aerosimple using Robot Frame work\TestCases\DataDrivenExcel.robot’ on line 4: Importing library ‘DataDriver …TestData/Aerosimpleloginpage.xlsx’ failed: ModuleNotFoundError: No module named 'DataDriver ’
Traceback (most recent call last):

Hi @Damodar,

Welcome to the community

I’ll start with the obvious, have you installed DataDriver?

Assuming you did, it looks like you are running robot from inside an IDE (VSCode?), so the next question is does the IDE use a python virtual environment? If so, you may need to ensure that DataDriver is installed in that virtual environment.

Hopefully that helps,

Dave.