I’m working on the EX46 exercise, but I am getting stuck on the very first part of the setup. I am on a Mac, and while I can install the virtualenv, I end up in trouble when I go further in the steps. When I do:
Obviously, the other steps fail as well after that, as expected. I’ve tried Googling for the error, and checking help on virtualenv, but can’t quite seem to find something similar that gives any ideas of what the problem is caused by. Has anyone encountered this before?
Are you really typing mkdir -/.venvs? I’m not on a Mac, but I think hyphens are used to specify options on all Unix-like systems. Can you try the tilde instead? mkdir ~/.venvs
@florian is correct. It’s a tilder’~’ not hyphen. And tilder and forward-slash together means current user directory so you don’t have to type out your username in the path.
For example: to access my project directory where LPTHW files sit: