Try with virtuanenv in python.
❯ python -m venv .venv
❯ source .venv/bin/activate
❯ pip install prophet
Then everything you installed will be in the virtual environment.
Here is the sample code.
from prophet import Prophet
print("imported successfully!")
And the output would be following:
❯ python sample.py
Fontconfig warning: ignoring UTF-8: not a valid region tag
Importing plotly failed. Interactive plots will not work.
imported successfully!
Keep in mind that, every library you installed will be only in the virtual env and you have to source first, before running the code.