# Library: RequestLibrary Error Message

**URL:** https://forum.robotframework.org/t/library-requestlibrary-error-message/7247
**Category:** Libraries
**Created:** [2 May 2024 05:20 UTC](https://forum.robotframework.org/t/library-requestlibrary-error-message/7247 "2024-05-02T05:20:47Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jafrikr](https://avatars.discourse-cdn.com/v4/letter/j/b3f665/32.png) [@jafrikr](https://forum.robotframework.org/u/jafrikr)
#### Post date: [2 May 2024 05:20 UTC](https://forum.robotframework.org/t/library-requestlibrary-error-message/7247/1 "2024-05-02T05:20:47Z")

</div>

Unresolved library: RequestLibrary. Error generating libspec: Importing library ‘RequestLibrary’ failed: ModuleNotFoundError: No module named ‘RequestLibrary’ Consider adding the needed paths to the “robot.pythonpath” setting and calling the “Robot Framework: Clear caches and restart” action.

---

<div class="post-metadata">

### Author: ![rasjani](https://avatars.discourse-cdn.com/v4/letter/r/858c86/32.png) [@rasjani](https://forum.robotframework.org/u/rasjani)
#### Post date: [2 May 2024 08:20 UTC](https://forum.robotframework.org/t/library-requestlibrary-error-message/7247/2 "2024-05-02T08:20:45Z")

</div>

1. what editor you use ?
2. what lsp you use ?

That error happens when your editor asks LSP about what keywords are in the project and your editor’s configuration for the LSP is not correctly set up.

---

<div class="post-metadata">

### Author: ![jafrikr](https://avatars.discourse-cdn.com/v4/letter/j/b3f665/32.png) [@jafrikr](https://forum.robotframework.org/u/jafrikr)
#### Post date: [2 May 2024 18:28 UTC](https://forum.robotframework.org/t/library-requestlibrary-error-message/7247/3 "2024-05-02T18:28:22Z")

</div>

Thank you for your response ,  
I am using Pycharm IDE and trying to setup API testing, but requrstlibrary given me the error message  
Thanks again for your help

---

<div class="post-metadata">

### Author: ![rasjani](https://avatars.discourse-cdn.com/v4/letter/r/858c86/32.png) [@rasjani](https://forum.robotframework.org/u/rasjani)
#### Post date: [3 May 2024 07:17 UTC](https://forum.robotframework.org/t/library-requestlibrary-error-message/7247/4 "2024-05-03T07:17:28Z")

</div>

Maybe start with this;

> **[Configure a virtual environment | PyCharm](https://www.jetbrains.com/help/pycharm/creating-virtual-environment.html#env-requirements)**

and then re-install the requestslibrary into the created venv.
