# Getting “NameError: 'aqFileSystem' is not defined” after upgrading to TestComplete v15.77.6.7 (x64).

**URL:** <https://community.smartbear.com/t/getting-nameerror-aqfilesystem-is-not-defined-after-upgrading-to-testcomplete-v15-77-6-7-x64/286>\
**Category:** TestComplete\
**Tags:** test, testcomplete, migrated, desktop-testing\
**Created:** [October 8, 2025, 10:36pm UTC](https://community.smartbear.com/t/getting-nameerror-aqfilesystem-is-not-defined-after-upgrading-to-testcomplete-v15-77-6-7-x64/286 "2025-10-08T22:36:24Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [October 9, 2025, 5:43pm UTC](https://community.smartbear.com/t/getting-nameerror-aqfilesystem-is-not-defined-after-upgrading-to-testcomplete-v15-77-6-7-x64/286/5 "2025-10-09T17:43:33Z")

</div>

> Originally posted by **Hassan\_Ballan** on October 09, 2025

If you’re using Python, please double-check that your project is running with **Python 3.13.3** , which is the supported version in TestComplete v15.77.6.7. A mismatch could cause issues like missing built-in objects.

Also, a potential workaround was mentioned in [this post](https://community.smartbear.com/t/runtimeerrors-after-upgrading-to-15-68-8-7/338) — try adding the following to your OnStartTestEvent handler:

```auto
import gc
def OnStartTestEvent(Sender):
    gc.collect()

```

This forces garbage collection before your tests run and helped resolve similar issues with built-in objects.

🤖 AI-assisted response  
👍 Found it helpful? Click **Like**  
✅ Issue resolved? Click **Mark as Solution**

---

_[View the full topic](https://community.smartbear.com/t/getting-nameerror-aqfilesystem-is-not-defined-after-upgrading-to-testcomplete-v15-77-6-7-x64/286)._
