Why we need to create environment mflix?

Why we created environment mflix?? .cannot we directly execute our program ??

Hi @SUDARSHAN_SHARMA_64757,

We recommend users to use specific environment like Anaconda or Virtual Environment, so that all dependencies can be bundled up together.

Like isolating all the libraries with specific version supporting our course separate from any of the libraries on your local system. It is basically for preventing any clashes.
Further, it is easy to manage the dependencies through the use of an environment (whether conda or virtual env). It will ensure that breaking changes to the Python packages won’t impact anyone’s learning experience.

Kanika

Can you give me an example or scenerio where it will turn to be fruitful??

Hi @SUDARSHAN_SHARMA_64757,

This course itself is a great example. Where you can have any dependencies with different version on your system without worrying about course dependencies.

Kanika

@SUDARSHAN_SHARMA_64757,

please read the end of I am getting nomodule flask error for the kind of problems that are solved with an environment system like the one used.

1 Like