If the import statement refers to the package that is not installed locally, the IDE highlights it with an error. To install it, press &shortcut:ShowIntentionActions; and choose the corresponding quick-fix.