ModuleNotFoundError after installing packages

I am using the latest version of Anaconda with Jupyter notebook 6.4.12 on MacOS. I’ve installed several packages, for example finnhub-python as follows:

pip install finnhub-python

The installation seems to be successful. For example, pip show finnhub-python gives the following:
Name: finnhub-python
Version: 2.4.19
Summary: Finnhub API
Home-page: API Documentation | Finnhub - Free APIs for realtime stock, forex, and cryptocurrency. Company fundamentals, economic data, and alternative data.
Author: Finnhub
Author-email: support@finnhub.io
License: Apache-2.0
Location: /opt/anaconda3/lib/python3.11/site-packages

But when I import the package:
import finnhub

and run, I get a MonduleNotFoundError as follows:

ModuleNotFoundError: No module named ‘finnhub’

Any idea how to resolve this?