ModuleNotFoundError: No module named 'virtualenv.seed.embed.via_app_data' 1

ModuleNotFoundError: No module named ‘virtualenv.seed.embed.via_app_data’

# create the virtual environment using directly venv module
python3 -m venv my_env

Here is what the above code is Doing:
1. The python3 command is telling the computer to use the Python 3 interpreter to run the code.
2. The -m flag is telling the interpreter to run a module as a script.
3. The venv module is part of the standard library, so we don’t need to install it.
4. The venv module has a number of options, but the one we want is the create command, which is what we give as the final argument.
5. The final argument is the path to the directory where we want the environment to live.

Similar Posts