# Debugger warning: It seems that frozen modules are being used (Python 3.11.0)

**URL:** <https://discourse.jupyter.org/t/debugger-warning-it-seems-that-frozen-modules-are-being-used-python-3-11-0/16544>\
**Category:** JupyterLab\
**Created:** [October 27, 2022, 8:46pm UTC](https://discourse.jupyter.org/t/debugger-warning-it-seems-that-frozen-modules-are-being-used-python-3-11-0/16544 "2022-10-27T20:46:35Z")\
**Posts on this page:** 1\
**Showing post:** 21

<div class="post-metadata">

**Author:** ![krassowski](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/krassowski/32/1685_2.png) [@krassowski](https://discourse.jupyter.org/u/krassowski)\
**Post date:** [February 14, 2024, 10:10pm UTC](https://discourse.jupyter.org/t/debugger-warning-it-seems-that-frozen-modules-are-being-used-python-3-11-0/16544/21 "2024-02-14T22:10:42Z")

</div>

FYI:

- issue tracking the warning: [python 3.11 debugpy error messages · Issue #1198 · ipython/ipykernel · GitHub](https://github.com/ipython/ipykernel/issues/1198)
- PR fixing it: [Disable frozen modules by default, add a toggle by krassowski · Pull Request #1213 · ipython/ipykernel · GitHub](https://github.com/ipython/ipykernel/pull/1213)

I would appreciate if anyone affected, especially Windows users, could confirm that adding `"-Xfrozen_modules=off",` as a second argument of `argv` list in `kernel.json` of their kernelspec (run `jupyter kernelspec list` from terminal to find where these are located) solves the problem and does not introduce any problems.

For example, the change could look like:

```diff
{
 "argv": [
  "python",
+ "-Xfrozen_modules=off",
  "-m",
  "ipykernel_launcher",
  "-f",
  "{connection_file}"
 ],
 "display_name": "Python 3 (ipykernel)",
 "language": "python",
 "metadata": {
  "debugger": true
 }
}

```

---

_[View the full topic](https://discourse.jupyter.org/t/debugger-warning-it-seems-that-frozen-modules-are-being-used-python-3-11-0/16544)._
