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

**URL:** https://forum.robotframework.org/t/i-am-getting-an-error-importing-library-datadriver-testdata-aerosimpleloginpage-xlsx-failed-modulenotfounderror-no-module-named-datadriver/6623
**Category:** Robot Framework
**Created:** [8 January 2024 15:31 UTC](https://forum.robotframework.org/t/i-am-getting-an-error-importing-library-datadriver-testdata-aerosimpleloginpage-xlsx-failed-modulenotfounderror-no-module-named-datadriver/6623 "2024-01-08T15:31:47Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Damodar](https://avatars.discourse-cdn.com/v4/letter/d/0ea827/32.png) [@Damodar](https://forum.robotframework.org/u/Damodar)
#### Post date: [8 January 2024 15:31 UTC](https://forum.robotframework.org/t/i-am-getting-an-error-importing-library-datadriver-testdata-aerosimpleloginpage-xlsx-failed-modulenotfounderror-no-module-named-datadriver/6623/1 "2024-01-08T15:31:47Z")

</div>

![image](https://europe1.discourse-cdn.com/flex005/uploads/robotframework1/original/2X/4/4d1e1a4a52e030253a48831096ec0b3d59a6729d.png)

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):

---

<div class="post-metadata">

### Author: ![damies13](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/damies13/32/623_2.png) [@damies13](https://forum.robotframework.org/u/damies13)
#### Post date: [9 January 2024 01:33 UTC](https://forum.robotframework.org/t/i-am-getting-an-error-importing-library-datadriver-testdata-aerosimpleloginpage-xlsx-failed-modulenotfounderror-no-module-named-datadriver/6623/2 "2024-01-09T01:33:12Z")

</div>

Hi @Damodar,

Welcome to the community

I’ll start with the obvious, have you [installed DataDriver](https://github.com/Snooz82/robotframework-datadriver#installation)?

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.
