I have tried installing flask_restful via pip and it shows that all the requirements for it are already satisfied. But when I try to run the following command (python run.py) on my mac terminal, I get this error :
$ python run.py
Traceback (most recent call last):
File "run.py", line 17, in <module>
app = create_app("config")
File "run.py", line 7, in create_app
from app import api_bp
File "/Users/userName/Backend/app.py", line 2, in <module>
from flask_restful import Api
ModuleNotFoundError: No module named 'flask_restful'