🌐
PyPI
pypi.org › project › jsonlines
jsonlines · PyPI
If you're not sure about the file name format, learn more about wheel file names. ... Details for the file jsonlines-4.0.0.tar.gz.
      » pip install jsonlines
    
Published   Sep 01, 2023
Version   4.0.0
🌐
GitHub
github.com › wbolster › jsonlines › issues › 48
ModuleNotFound error even after installing jsonlines · Issue #48 · wbolster/jsonlines
September 18, 2019 - ModuleNotFoundError Traceback (most recent call last) in () 6 7 import boto3 ----> 8 import jsonlines 9 import matplotlib 10 import matplotlib.pyplot as plt · ModuleNotFoundError: No module named 'jsonlines' No one assigned · No labels · No labels · No projects ·
Author   yasimk
🌐
RoseIndia
roseindia.net › answers › viewqa › pythonquestions › 127779-ModuleNotFoundError-No-module-named-jsonlines.html
ModuleNotFoundError: No module named 'jsonlines'
After the installation of jsonlines python library, ModuleNotFoundError: No module named 'jsonlines' error will be solved.
🌐
Python Forum
python-forum.io › thread-10138.html
Error message when importing jsonlines library
I'm using Jupyter Notebooks with version 2.7 I'm trying to import three libraries, requests, json, and jsonlines. When I post import requests import json import jsonlinesI get an error message saying ImportErrorTraceback (most recent call last) &...
🌐
GitHub
github.com › AdieLaine › lnu-ai › issues › 1
ModuleNotFoundError: No module named 'jsonlines' · Issue #1 · AdieLaine/lnu-ai
June 21, 2023 - File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script exec(code, module.dict) File "/Users/voidwalker/Documents/Documents - Starhaven Air/Starhaven Forge/04_Lnu-AI/lnu-ai/src/lnu-ai.py", line 9, in import jsonlines
Author   thoughtform-co
🌐
Nomodulenamed
nomodulenamed.com › m › jsonlines
Nomodulenamed
We cannot provide a description for this page right now
🌐
Generalist Programmer
generalistprogrammer.com › home › tutorials › python packages › jsonlines: python package guide 2025
jsonlines Python Guide [2025] | PyPI Tutorial
November 16, 2025 - python --version pip install --upgrade pip pip install jsonlines · ModuleNotFoundError: No module named 'jsonlines'
🌐
Readthedocs
jsonlines.readthedocs.io
jsonlines — jsonlines documentation - Read the Docs
jsonlines is a Python library to simplify working with jsonlines and ndjson data. This data format is straight-forward: it is simply one valid JSON value per line, encoded using UTF-8. While code to consume and create such data is not that complex, it quickly becomes non-trivial enough to warrant a dedicated library when adding data validation, error handling, support for both binary and text streams, and so on.
🌐
GitHub
github.com › CVHub520 › X-AnyLabeling › issues › 558
The new version crashes when tagging. · Issue #558 · CVHub520/X-AnyLabeling
February 6, 2024 - ModuleNotFoundError: No module named 'jsonlines' ziiyue@DESKTOP-RF09FLV D:\000A\X-AnyLabeling-main (master) (yolo) # pip install jsonlines Collecting jsonlines Downloading jsonlines-4.0.0-py3-none-any.whl.metadata (1.6 kB) Collecting attrs>=19.2.0 (from jsonlines) Downloading attrs-23.2.0-py3-none-any.whl.metadata (9.5 kB) Downloading jsonlines-4.0.0-py3-none-any.whl (8.7 kB) Downloading attrs-23.2.0-py3-none-any.whl (60 kB) ---------------------------------------- 60.8/60.8 kB 190.6 kB/s eta 0:00:00 Installing collected packages: attrs, jsonlines Successfully installed attrs-23.2.0 jsonlines-4.0.0 ·
Author   lhj5426
🌐
Traceback
python-traceback.com › modulenotfounderror › jsonlines
ModuleNotFoundError: No module named jsonlines
How to fix python error ModuleNotFoundError: No module named jsonlines? This error occurs because you are trying to import module jsonlines, but it is not installed in your python environment. Steps to fix this error: Execute the following command in termanal to install the module
Find elsewhere
🌐
RoseIndia
roseindia.net › answers › viewqa › pythonquestions › 127780-ModuleNotFoundError-No-module-named-json-lines.html
ModuleNotFoundError: No module named 'json-lines'
ModuleNotFoundError: No module named 'module' ModuleNotFoundError: No module named 'module' Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'module' How to remove the ModuleNotFoundError: No module named 'module&#39 · ModuleNotFoundError: No module named 'named-bitfield' ModuleNotFoundError: No module named 'named-bitfield' Hi, My...
🌐
Stack Overflow
stackoverflow.com › questions › 64464927 › in-python-modulenotfounderror-no-module-named-json
In python modulenotfounderror : no module named 'json' - Stack Overflow
In python when I import json this error come that "no module named json" , after I try to install it from pip but it didn't work and give error that "no matching distribution found for
🌐
Anaconda.org
anaconda.org › conda-forge › jsonlines
jsonlines - conda-forge | Anaconda.org
Install jsonlines with Anaconda.org. Library with helpers for the jsonlines file format
🌐
GitHub
github.com › wbolster › jsonlines
GitHub - wbolster/jsonlines: python library to simplify working with jsonlines and ndjson data
python library to simplify working with jsonlines and ndjson data - wbolster/jsonlines
Starred by 307 users
Forked by 31 users
Languages   Python 100.0% | Python 100.0%
Top answer
1 of 2
6

Note: I do not have a definitive answer but will offer a series of steps you can try:

The first thing is see if you can import json from the usual python interpreter:

import json
print(json.__file__) #this would be important to know if it works

If that does work (as well as commenting what json.__file__ is) you would then want to try to use pip from the interpreter.

If you can't import json normally:

This is not surprising, I did not expect pip to be looking in a non-standard place for modules. You will want to figure out where the json package should be located on your computer, you can do this by importing another module from the standard library and looking at it's __file__:

>>> import fractions
>>> fractions.__file__
'/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/fractions.py'

This will obviously be different for you but I'd expect there to be a json folder in the same folder as fractions.py

if you can't import fractions or queue or datetime etc.

If you can't import anything from the standard library you will probably want to just reinstall python.

If the json folder is there and contains an __init__.py

Use the rename function of your file browser to make sure there are no weird special characters, but other then that I'm not sure, if you can import fractions.py but not a package from the same folder that would imply there is something very wrong with the import mechanics of your python version.

If the json folder is not with the rest of the standard library

It is possible that your python distribution has a different structure then I'd expect, it at least can't hurt to take a look for it.

You can search for the json folder amongst your various python files using the find command, not really sure how it works but just another thing to try. If you do find it with the __init__.py, encode.py, decode.py, scanner.py, and tool.py (at least those are the ones in my version) you'll probably want to figure out how it got there, but maybe just move it to the same folder as the rest of the standard library.

If you can't find the json package or you find it and it is corrupted

Well then you will need to replace it! Don't worry, this isn't too hard, just grab a source release of python from the site and extract the json package from it, once it is uncompressed the json folder should be in the Lib folder. Simply copy/move it to the rest of the standard library and you should be good to go!


I hope this helps you debug what is going on, This covers all the scenarios I could imagine happening and I would be interested in which one fixed your issue (or what you were able to figure out so I can come up with more options)

2 of 2
-1

I am guessing that you install it using either pip install simplejson to download from PyPI or using apt-get install python-simplejson to download from ubuntu repositories.

It is possible that you downlaoded the library for the Python2 if you used any of the commands above and it won't be available for Python3 (which pip3.4 will use). Can you try these commands and help debug yourself?

$ python -c "import simplejson"

$ python3.4 -c "import simplejson"

This would tell you which version of the python did you install simplejson for last time (my guess in python2). If the 2nd command errors out with ImportError try:

$ pip3.4 install simplejson

and then install your libraries.

🌐
Readthedocs
jsonlines.readthedocs.io › en › latest
jsonlines — jsonlines documentation
jsonlines is a Python library to simplify working with jsonlines and ndjson data. This data format is straight-forward: it is simply one valid JSON value per line, encoded using UTF-8. While code to consume and create such data is not that complex, it quickly becomes non-trivial enough to warrant a dedicated library when adding data validation, error handling, support for both binary and text streams, and so on.
🌐
NVIDIA Developer Forums
forums.developer.nvidia.com › ai & data science › cybersecurity
Morpheus_22.11-runtime.sif encountering MRC issues - Cybersecurity - NVIDIA Developer Forums
January 21, 2023 - I am part of a student group attempting to get Morpheus running on our HPC at our school. I have been attempting to create the basic pass-through example from this link. One thing I noticed is that in the “Putting the stage together” section it has the line import srf which I am confident is supposed to be import mrc now.