Closed GijsGoudzwaard closed 7 years ago
Fixed it by doing this: pip install flask-cors --upgrade
if upgrade cant do it, you can run python file, my file name called app.py, in virtual environent (venv) root@alanzulwas:/var/www/html/python# python3 app.py
I have installed flask_cors like so:
pip3 install -U flask-cors
also triedpip install -U flask-cors
This is my code: