Chapter 0:

When I run python I get the following error:
(mflix) C:\Users\Hannah Fisher\mflix-python>python
Traceback (most recent call last):
File “”, line 1, in
from mflix.factory import create_app
File “C:\Users\Hannah Fisher\mflix-python\mflix\”, line 5, in
from flask_cors import CORS
ModuleNotFoundError: No module named ‘flask_cors’

I have not edited that file at all so I am not sure what cause the issue.

It’s preventing me from completing the setup!

Hi @Hannah_Fisher

Looking at the output you have shared, it looks like your environment is not configured. Can you review Chapter 0: Introduction and Setup and the lesson “README: Setting Up mflix” and ensure that step 3 installed the necessary Python library dependencies within your virtual environment (whether anaconda or virtualenv) ? If you use the pip list command from the command prompt it will list what has been installed in the specific environment, these should correspond to the libraries listed within the “requirements.txt” file.

pip list

Hope this helps to resolve your setup issue.

Kindest regards,