That module was removed in jsonschema 4.0. Your packages haven't been pinned to only use jsonschema 3.x, so that might happen.

For now, you can downgrade to version 3.x of the jsonschema package with

pip install -U 'jsonschema<4.0'

and things should work.

Answer from AKX on Stack Overflow
🌐
GitHub
github.com › ipython › ipython › issues › 5979
ImportError: No module named jsonschema · Issue #5979 · ipython/ipython
January 29, 2014 - I updated to IPython master this afternoon and I'm unable to run the IPython Notebook as a result. As the title of this issue suggests, I get an ImportError: No module named jsonschema. I'm using Python 2.7.7, and am running the b6a05a5 ...
Author   pmarshwx
Discussions

Bug: ModuleNotFoundError: No module named 'jsonschema.compat'
I'm currently getting the error - ModuleNotFoundError: No module named 'jsonschema.compat' I think this first started today I get this on python 3.9.7, when running import neptune This ... More on github.com
🌐 github.com
6
September 30, 2021
python - Can't use Jupyter Notebook: jsonschema apparently missing - Stack Overflow
What I think that nailed it is upgrading jsonschema to 2.5.1 · Here are my steps from "bad" jupyter env to working jupyter env. Good luck and come back if it doesn't work, I will post the notebook* relevant versions. >conda upgrade pip pip: 8.1.0-py27_0 --> 8.1.1-py27_0 setuptools: 20.2.2-py27_0 --> 20.3-py27_0 >pip install functools32 Downloading functools32-3.2.3-2.tar.gz Successfully installed functools32-3.2.3.post2 >jupyter notebook ImportError: No module named ... More on stackoverflow.com
🌐 stackoverflow.com
How to get out of this double circle?
What is likely happening here is that the "pip" you're running is not the one associated with the "python" you're running. So the pip installs etc are going somewhere else. The best way to handle this in general is to use "python -m pip" instead of "pip" - this will use your python interpreter to find and load "it's" pip module. Alternatively you can figure out why your pip and python don't match, and fix it. My guess is that somehow you're running the system pip instead of the one in your virtualenv, and/or the virtualenv doesn't *have* pip in it, so you get the system one. More on reddit.com
🌐 r/learnpython
5
1
September 17, 2023
Question fixing- ModuleNotFOundError: No module named 'jsonmerge'
pip install jsonmerge More on reddit.com
🌐 r/StableDiffusion
10
3
October 23, 2022
🌐
Mozilla Bugzilla
bugzilla.mozilla.org › show_bug.cgi
1435907 - "ImportError: No module named jsonschema" when running talos test locally with geckoProfiler
After I pip install jsonschema, this fatal error no longer shows up (although I still cannot find the profile result). Looks like I don't really need to set MOZ_UPLOAD_DIR and actually it's useless. The harness would set it to testing/mozharness/build/blobber_upload_dir itself... ... Comment on attachment 8949386 [details] [diff] [review] add jsconschema to the requirements.txt file we do not have jsonschema 2.6.0 in our pypi pip cache.
🌐
PyPI
pypi.org › project › jsonschema
jsonschema - JSON Schema validation for Python
An implementation of JSON Schema validation for Python
      » pip install jsonschema
    
Published   Jan 07, 2026
Version   4.26.0
🌐
Finxter
blog.finxter.com › fixed-modulenotfounderror-no-module-named-jsonschema
[Fixed] ModuleNotFoundError: No module named ‘jsonschema’ – Be on the Right Side of Change
Quick Fix: Python raises the ImportError: No module named 'jsonschema' when it cannot find the library jsonschema. The most frequent source of this error is that you haven’t installed jsonschema explicitly with pip install jsonschema.
🌐
GitHub
github.com › Julian › jsonschema › issues › 843
Bug: ModuleNotFoundError: No module named 'jsonschema.compat' · Issue #843 · python-jsonschema/jsonschema
September 30, 2021 - I'm currently getting the error - ModuleNotFoundError: No module named 'jsonschema.compat' I think this first started today I get this on python 3.9.7, when running import neptune This could be an error with 'swagger_spec_validator' See ...
Author   peterdudfield
Top answer
1 of 10
25

I think I have a solution.

I did may things, regenerated my env (anaconda env) from another computer where it worked, but no success.

What I think that nailed it is upgrading jsonschema to 2.5.1

Here are my steps from "bad" jupyter env to working jupyter env.

Good luck and come back if it doesn't work, I will post the notebook* relevant versions.

>conda upgrade pip
pip:        8.1.0-py27_0  --> 8.1.1-py27_0
setuptools: 20.2.2-py27_0 --> 20.3-py27_0 

>pip install functools32
Downloading functools32-3.2.3-2.tar.gz    
Successfully installed functools32-3.2.3.post2

>jupyter notebook
ImportError: No module named _version
Jupyter notebook format depends on the jsonschema package:
    https://pypi.python.org/pypi/jsonschema
Please install it first.

>pip install jsonschema
Requirement already satisfied

>pip install --upgrade jsonschema
Collecting jsonschema
Downloading jsonschema-2.5.1-py2.py3-none-any.whl
Successfully uninstalled jsonschema-2.4.0
Successfully installed jsonschema-2.5.1

>jupyter notebook
[I 16:45:41.708 NotebookApp] Writing notebook server cookie secret to 
[I 16:45:42.134 NotebookApp] Serving notebooks from local directory: 
[I 16:45:42.134 NotebookApp] 0 active kernels 
[I 16:45:42.134 NotebookApp] The Jupyter Notebook is running at: http://localhost:8888/
2 of 10
5

i also got the same error and none of the above mentioned procedures worked for me so i've checked the documentation of anaconda and found something useful

conda install -c conda-forge/label/cf201901 jsonschema

conda install jupyter

jupyter notebook

this worked for me,thanks to anaconda documentation

🌐
Reddit
reddit.com › r/learnpython › how to get out of this double circle?
r/learnpython on Reddit: How to get out of this double circle?
September 17, 2023 -

Sorry if my questions are basic. I don't do this (python programming) on a regular basis. Only running these commands according to a README of some repository I had to set up.

My python commands are running in two circles:

  1. it says I need to upgrade to 24.0. I run upgrade, and it shows I'm there. Then it says I need to upgrade again.

  2. It says I'm missing jsonschema module. I installed it, reinstall only says "equirement already satisfied". But then my program still says I'm missing the module.

How do I get out of this trap? Please help!

(mypenv) myuser-mac:myprogram myuser$ ./myproduct_generator.py --fleets-dir inventory_requests/fleets -rd inventory_requests/regions -od ~/temp/finished_myproducts

Traceback (most recent call last): 
File "/Users/myuser/Workplace/WORKDIR/repos/bootstrap-footprint/myprogram/./myproduct_generator.py", line 17, in <module> 
import jsonschema 
ModuleNotFoundError: No module named 'jsonschema'

(mypenv) myuser-mac:myprogram myuser$ pip install jsonschema 
Requirement already satisfied: jsonschema in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (4.22.0) Requirement already satisfied: attrs>=22.2.0 in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from jsonschema) (23.2.0) 
Requirement already satisfied: jsonschema-specifications>=2023.03.6 in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from jsonschema) (2023.12.1) 
Requirement already satisfied: rpds-py>=0.7.1 in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from jsonschema) (0.18.1) 
Requirement already satisfied: referencing>=0.28.4 in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from jsonschema) (0.35.1)

[notice] A new release of pip available: 22.2 -> 24.0 
[notice] To update, run: python3.9 -m pip install --upgrade pip

(mypenv) myuser-mac:myprogram myuser$ pip3 -V pip 
24.0 from /Users/myuser/python-envs/mypenv/lib/python3.9/site-packages/pip (python 3.9) 

(mypenv) myuser-mac:myprogram myuser$ python3.9 -m pip install --upgrade pip 
Requirement already satisfied: pip in /Users/myuser/python-envs/mypenv/lib/python3.9/site-packages (24.0)

#If I run above commands again, it's basically a repeat.
Find elsewhere
🌐
Mozilla Bugzilla
bugzilla.mozilla.org › show_bug.cgi
1730305 - Intermittent ModuleNotFoundError: No module named 'jsonschema'
Intermittent ModuleNotFoundError: No module named 'jsonschema' Product: Firefox Build System ▾ · Firefox Build System · All the stuff related to the build system and associated automation · See Open Bugs in This Product · File New Bug in This Product ·
🌐
RoseIndia
roseindia.net › answers › viewqa › pythonquestions › 127931-ModuleNotFoundError-No-module-named-json_schema.html
ModuleNotFoundError: No module named 'json_schema'
ModuleNotFoundError: No module named 'json_schema_generator' ModuleNotFoundError: No module named 'json_schema_generator' Hi...: No module named 'json_schema_generator' How to remove the ModuleNotFoundError: No module named 'json_schema_generator' error? Thanks Hi · ModuleNotFoundError: No module named 'json-schema-matcher' ModuleNotFoundError: No module named 'json-schema-matcher' Hi, My...: No module named 'json-schema-matcher' error?
🌐
Reddit
reddit.com › r/stablediffusion › question fixing- modulenotfounderror: no module named 'jsonmerge'
r/StableDiffusion on Reddit: Question fixing- ModuleNotFOundError: No module named 'jsonmerge'
October 23, 2022 -

I've tried a ton of different things trying to get some AI art stuff working, but no matter what I have tried, I keep getting the same error whether I go through python directly, or through conda. its always in the same place. None of my friends had issues with getting it working, and even after uninstall everything (git, python, etc), and reinstalling it, nothing has changed.

🌐
Gentoo
bugs.gentoo.org › 869821
869821 – dev-python/termcolor-2.0.0:0 - ModuleNotFoundError: Error getting the version from source `vcs`: No module named 'jsonschema'
Gentoo's Bugzilla – Bug 869821 dev-python/termcolor-2.0.0:0 - ModuleNotFoundError: Error getting the version from source `vcs`: No module named 'jsonschema' Last modified: 2025-11-26 06:58:36 UTC node [vulture]
🌐
GitHub
github.com › google › adk-samples › issues › 102
ModuleNotFoundError: No module named 'jsonschema' on Gcloud Logs Explorer when attempting to deploy an agent sample. · Issue #102 · google/adk-samples
November 28, 2024 - ModuleNotFoundError: No module named 'jsonschema' on Gcloud Logs Explorer when attempting to deploy an agent sample.#102
Published   May 19, 2025
Author   sw-savop
🌐
Gentoo
bugs.gentoo.org › 890652
890652 – dev-python/tavern-2.0.0 fails tests: ModuleNotFoundError: No module named jsonschema
Gentoo's Bugzilla – Bug 890652 dev-python/tavern-2.0.0 fails tests: ModuleNotFoundError: No module named jsonschema Last modified: 2023-01-13 13:21:01 UTC node [vulture]
🌐
GitHub
github.com › sgl-project › sglang › issues › 254
ModuleNotFoundError: No module named 'jsonschema.protocols' · Issue #254 · sgl-project/sglang
March 3, 2024 - when I execute this bash to launch a server, the terimal will tell me this error. python -m sglang.launch_server --model-path model/1-grade/Qwen1.5-0.5B-Chat/ --port 30000 Traceback (most recent ca...
Author   Chenghao-Jia
🌐
GitHub
github.com › ansys › pyaedt › issues › 4196
Can't create AEDT project: ModuleNotFoundError: No module named 'jsonschema' · Issue #4196 · ansys/pyaedt
February 7, 2024 - | (main, Sep 11 2023, 13:24:38) [MSC v.1916 64 bit (AMD64)] PyAEDT INFO: AEDT 2023.2.1 Build Date 2023-10-16 09:58:56 Traceback (most recent call last): File "", line 13, in myQ = pyaedt.Q3d(projectname=pyaedt.generate_unique_project_name(), File "", line 1192, in Q3d from pyaedt.q3d import Q3d as app File "", line 11, in from pyaedt.application.Analysis3D import FieldAnalysis3D File "", line 7, in from pyaedt.generic.configurations import Configurations File "", line 32, in from jsonschema import exceptions ModuleNotFoundError: No module named 'jsonschema' Type "help", "copyright", "credits" or "license" for more information.
Author   onyx22574
🌐
GitHub
github.com › scrapinghub › portia › issues › 13
ImportError: No module named jsonschema.exceptions · Issue #13 · scrapinghub/portia
April 5, 2014 - Traceback (most recent call last): File "/usr/local/bin/twistd", line 14, in run() File "/usr/local/lib/python2.7/dist-packages/twisted/scripts/twistd.py", line 27, in run app.run(runApp, ServerOptions) File "/usr/local/lib/python2.7/dist-packages/twisted/application/app.py", line 642, in run runApp(config) File "/usr/local/lib/python2.7/dist-packages/twisted/scripts/twistd.py", line 23, in runApp _SomeApplicationRunner(config).run() File "/usr/local/lib/python2.7/dist-packages/twisted/application/app.py", line 376, in run self.application = self.createOrGetApplication() File "/usr/local/lib/p
🌐
RoseIndia
roseindia.net › answers › viewqa › pythonquestions › 127930-ModuleNotFoundError-No-module-named-jsonschema.html
ModuleNotFoundError: No module named 'jsonschema'
Thanks Hi..., ModuleNotFoundError: No module named 'cubicweb-jsonschema' error · ModuleNotFoundError: No module named 'Flask-JsonSchema' ModuleNotFoundError: No module named 'Flask-JsonSchema' Hi, My... named 'Flask-JsonSchema' How to remove the ModuleNotFoundError: No module...: No module named 'Flask-JsonSchema' error will be solved.
🌐
GitHub
github.com › axnsan12 › drf-yasg › issues › 744
ModuleNotFoundError: No module named 'jsonschema.compat' · Issue #744 · axnsan12/drf-yasg
October 2, 2021 - Internal Server Error: / Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner response = get_response(request) File "/usr/local/lib/python3.9/site-packages/django/core/handlers/base.py", line 204, in _get_response response = response.render() File "/usr/local/lib/python3.9/site-packages/django/template/response.py", line 105, in render self.content = self.rendered_content File "/usr/local/lib/python3.9/site-packages/rest_framework/response.py", line 70, in rendered_content ret = renderer.render(self.data, accepted
Author   spavlovich001
🌐
FreeBSD
bugs.freebsd.org › bugzilla › show_bug.cgi
263932 – sysutils/py-ansible-lint: @py38 6.1.0 fails to run - No module named 'jsonschema'
May 12, 2022 - FreeBSD Bugzilla – Bug 263932 sysutils/py-ansible-lint: @py38 6.1.0 fails to run - No module named 'jsonschema' Last modified: 2022-05-12 20:10:19 UTC