Software⏱️ 3 min read📅 2026-06-03

How to Fix: Pytesseract : "TesseractNotFound Error: tesseract is not installed or it's not in your path", how do I fix this?

TesseractNotFound Error: tesseract is not installed or it's not in your path

Quick Answer: Ensure Tesseract OCR engine is added to the system PATH environment variable.

The "TesseractNotFound Error: tesseract is not installed or it's not in your path" error occurs when the Tesseract OCR engine is not properly installed, configured, or added to the system's PATH environment variable. This can happen even if you have downloaded and installed the Tesseract installer for Windows.

🛑 Root Causes of the Error

  • The Tesseract engine is not properly installed.

✅ Best Solutions to Fix It

Method 1: Installing Tesseract Using pip

  1. Step 1: Open a new command prompt or terminal window and run the following command to install Tesseract using pip: `pip install pytesseract`

Method 2: Adding Tesseract to the PATH Variable

  1. Step 1: Right-click on "Computer" or "This PC" and select "Properties."

Navigate to the "Advanced system settings" tab.

Step 2:

  1. Step 2: Click on the "Environment Variables" button.

In the "System Properties" window, click on the "Advanced" tab and then click on the "Environment Variables" button.

Step 3:

  1. Step 3: In the "Environment Variables" window, click on the "Path Variable" and then click on the "Edit" button.

In the "Edit Environment Variable" window, click on the "New" button and then enter the path to the Tesseract executable (usually located at `C: esseract`).

Step 4:

  1. Step 4: Click "OK" on all the windows to save the changes.

💡 Conclusion

By following these steps, you should be able to fix the "TesseractNotFound Error: tesseract is not installed or it's not in your path" error and successfully use Tesseract with Python.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions