jsonschema 3.2.0 and perhaps any version less than 4.0 support Python 2.7. Try

pip install "jsonschema<4.0"
Answer from phd on Stack Overflow
🌐
PyPI
pypi.org › project › jsonschema
jsonschema · PyPI
jsonschema is available on PyPI. You can install using pip:
      » pip install jsonschema
    
Published   Jan 07, 2026
Version   4.26.0
🌐
Finxter
blog.finxter.com › how-to-install-jsonschema-in-python
How to Install jsonschema in Python? – Be on the Right Side of Change
This article will show you everything you need to get this installed in your Python environment. ... Type "cmd" in the search bar and hit Enter to open the command line. Type “pip install jsonschema” (without quotes) in the command line and hit Enter again.
🌐
jsonschema
python-jsonschema.readthedocs.io
jsonschema 4.26.0 documentation
jsonschema is available on PyPI. You can install using pip:
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

🌐
piwheels
piwheels.org › project › jsonschema
piwheels - jsonschema
January 7, 2026 - pip3 install jsonschema · attrs · rpds-py · referencing · jsonschema-specifications · PyPI page · pypi.org/ project/ jsonschema · Project JSON · piwheels.org/ project/ jsonschema/ json · Versions · 109 · Files · 107 · Downloads · (all time) loading...
Find elsewhere
🌐
pytz
pythonhosted.org › json-schema-validator › installation.html
Installation — JSON Schema Validator 2.3.1 documentation
This package is being actively maintained and published in the Python Package Index. You can install it if you have pip tool using just one line:
🌐
Howtoinstall.me
howtoinstall.me › ubuntu › 18-04 › python-jsonschema
How to Install python-jsonschema in Ubuntu 18.04
Ubuntu · 18.04 · python-jsonschema · Install python-jsonschema by entering the following commands in the terminal: sudo apt update sudo apt install python-jsonschema · Description: An(other) implementation of JSON Schema (Draft 3 and 4) - Python 2.7 · JSON Schema is a specification for ...
🌐
GitHub
github.com › Julian › jsonschema › issues › 276
Unable to pip install jsonschema because of setup_requires vcversioner · Issue #276 · python-jsonschema/jsonschema
March 4, 2016 - I basically have the same issue as #257. The problem is well detailed here : pypa/pip#410 http://stackoverflow.com/a/27789623 Basically, setup_requires is very cumbersome option when you want to avoid a simple pip install to talk to Pypi...
Author   Lucas-C
🌐
PyPI
pypi.org › project › jsonschema-specifications
jsonschema-specifications · PyPI
pip install jsonschema-specifications Copy PIP instructions · Latest version · Released: Sep 8, 2025 · The JSON Schema meta-schemas and vocabularies, exposed as a Registry · These details have been verified by PyPI · Homepage · Issues · Source · JSON Schema ·
      » pip install jsonschema-specifications
    
Published   Sep 08, 2025
Version   2025.9.1
🌐
GitHub
github.com › python-jsonschema › jsonschema
GitHub - python-jsonschema/jsonschema: An implementation of the JSON Schema specification for Python · GitHub
jsonschema is available on PyPI. You can install using pip:
Starred by 4.9K users
Forked by 611 users
Languages   Python 99.8% | TypeScript 0.2%
🌐
PyPI
pypi.org › project › jsonschema-rs
jsonschema-rs · PyPI
jsonschema-rs supports CPython 3.10 through 3.14 and PyPy 3.10+. ... If you encounter linking errors when building from source on Linux (e.g., undefined symbol errors related to ring or crypto), try using the mold linker: RUSTFLAGS="-C link-arg=-fuse-ld=mold" pip install jsonschema-rs --no-binary :all:
      » pip install jsonschema-rs
    
🌐
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?
May 22, 2024 -

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.
🌐
Ubuntu
launchpad.net › ubuntu › +source › python-jsonschema
python-jsonschema package : Ubuntu - Launchpad
The following unsupported and untrusted Personal Archives (PPAs) provide packages of 'python-jsonschema': Python - backports (Xenial & newer) owned by Rob Savoury · Versions: Xenial (3.2.0-0ubuntu2~16.04.sav1), Bionic (3.2.0-0ubuntu2~18.04.sav1) Cloud Archive Staging - Havana owned by Ubuntu Cloud ...
🌐
PyPI
pypi.org › project › check-jsonschema
check-jsonschema · PyPI
pip install check-jsonschema Copy PIP instructions · Latest version · Released: Feb 27, 2026 · A jsonschema CLI and pre-commit hook · These details have been verified by PyPI · Homepage · Repository · Stars: Forks: Open issues: Open PRs: sirosen · These details have not been verified by PyPI ·
      » pip install check-jsonschema
    
Published   Feb 27, 2026
Version   0.37.0