Fix the error.
Learn the why.
Clear walkthroughs for Python, Java, SQL, Git and more — written to get you unstuck fast and leave you understanding what actually went wrong.
$ python parse.py Traceback (most recent call last): File "parse.py", line 4, in <module> print(user["name"]) TypeError: string indices must be integers $
Fix an error
Exception, stack trace or cryptic message? Start here.
In-depth reads
The longest, most complete guides.
Recently updated
Git Detached HEAD: What It Means and How to Recover Your Work
Seeing 'You are in detached HEAD state' in Git? It is not an error. Learn what it means, how to save commits made in it, and how to find ones you left behind.
Version ControlGit 'refusing to merge unrelated histories': Causes and Fixes
Git says fatal: refusing to merge unrelated histories? Learn why two repos share no common commit, and fix it with a merge or a rebase without losing work.
PythonModuleNotFoundError: No module named 'x' — 5 Causes and Fixes
Python says No module named 'x' even though you installed it? Find which of 5 causes you have — wrong interpreter, wrong package name, sys.path — and fix it.
Pythonpip 'externally-managed-environment' Error: Why and 4 Fixes
pip stops with error: externally-managed-environment? It is PEP 668 protecting your system Python. Here is why it happens and the safe ways to install packages.
PythonRecursionError: Maximum Recursion Depth Exceeded in Python
RecursionError: maximum recursion depth exceeded means a function called itself too deeply. Learn the three real causes and how to fix each one.
PythonUnicodeDecodeError: 'utf-8' codec can't decode byte — Fixes
Python says UnicodeDecodeError: 'utf-8' codec can't decode byte? The file is not UTF-8. Learn how to identify its real encoding and read it correctly.