> For the complete documentation index, see [llms.txt](https://nobraintools.gitbook.io/maya-groomers-tool/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nobraintools.gitbook.io/maya-groomers-tool/getting-started/problem-errors/module-not-found-error.md).

# Module Not Found Error

#### **Cause:**

* This usually happens if:
  * You are running Maya in a non-English language version or,
  * The `xgtc` folder is not located in a directory that Maya searches

***

#### Solution 1

1. Run the following in Maya’s **Python Script Editor**:

   ```python
   import maya.cmds as cmds
   scriptsPath = cmds.internalVar(userScriptDir=True)
   print(scriptsPath)
   ```
2. Maya will print out the correct **user scripts path**.
3. Copy the entire `xgtc` folder into that path.
4. Restart Maya and try launching Groomer’s Tool again.

***

#### Solution 2

If Solution 1 does not fix it, you can add the scripts path manually:

1. Run the script from Solution 1 to get your correct scripts path.
2. Go to your \**Documents\maya\<Your Maya Version>\** folder.
3. Locate the `Maya.env` file. Right-click → **Edit**.
4. Add this line (replace with your printed path):

   ```
   MAYA_SCRIPT_PATH = C:\Users\blues\OneDrive\Documents\maya\2022\scripts
   ```
5. Save the file and restart Maya.

{% hint style="success" %}
&#x20;Always double-check that the `xgtc` folder is directly inside the `scripts` folder (not nested inside another subfolder).
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://nobraintools.gitbook.io/maya-groomers-tool/getting-started/problem-errors/module-not-found-error.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
