Your installation of virtual enviornment was ok.
But then it seems that you tried to create a venv folder with mkdir.
That is not the way to create a venv.
I do not have Microsoft. So I had to google a little and found this:
Create a virtual environment
Open your terminal and, inside your HelloWorld project folder, use the following command to create a virtual environment named venv :
python3 -m venvvenv
To activate the virtual environment , enter:
source venv /bin/activate
This actually works in linux. So if it does not work in Microsoft you have to google what difference there is in the command.
If you want another name of your virtual enviornment you change the second venv to a name of your choise.
python3 -m venvmy_first_venv
Then I think you are ready to go on with the exercise.
So I think people helped you here but I’ll point out the mistake your making for the future. Take a look at what you typed:
Access is denied.
Error occurred while processing: …
I type this:
See the difference? It looks like you aren’t hitting space between each word. Now I think that’s either because you can’t see the spaces in the book, or your paste didn’t include them, but either way go check that you don’t do this frequently. I see you did it here too:
virtualenv -system-site -packages.venvs/lpthw
You just seem to not hit space when you should, and it looks like any time you see a . (dot) character.