PyCharm Unresolved Reference: Installed Package Not Recognized

Share
Workaround available Windows, macOS, Linux Updated November 14, 2026Based on 3 user reportsHow we research

Quick answer

Packages are managed per interpreter. If an import shows as unresolved, the wrong interpreter is selected or the package path is not in the interpreter paths. Check the interpreter, then reload its paths.

Most likely fix: Check the interpreter and install the package there

How to fix it

Try these in order — the most common fix is first.

  1. 1. Check the interpreter and install the package there

    1. Click the Python Interpreter widget and confirm the right environment
    2. Open View | Tool Windows | Python Packages, search the package and click Install
    Did this fix it?
  2. 2. Reload the interpreter paths

    1. Ctrl+Alt+S, then Python | All Interpreters, select the interpreter
    2. Click Show Interpreter Paths, then the Reload the interpreter paths icon
    3. Or press Shift twice, type Rescan and run Rescan Available Python Modules and Packages
    Did this fix it?
  3. 3. Add a missing path

    1. In the Interpreter Paths dialog click Add a path and choose the folder
    Did this fix it?

Symptoms

Red 'Unresolved reference' on imports even though the package works in a terminal.

Why it happens

  • The project uses a different interpreter than the one where you ran pip
  • The package location is not among the interpreter paths
  • Package list is stale

This guide also covers

  • pycharm unresolved reference
  • pycharm package not recognized
  • pycharm module not found
  • pycharm import not resolved

Still not working?

If PyCharm keeps failing, you're not alone. See every PyCharm problem users report or the alternatives people switch to.

Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.

Talk to us
Fixed it? Share this guide

Other PyCharm errors

All 10 PyCharm errors and fixes →