Hello! I want to create a virtual environment, in order to do a tutorial series on python.
The ‘pip’ and ‘virtualenv’ are installed.
When I run: virtualenv Project1_env
I get the following error: FileNotFoundError: [Errno 2] No such file or directory: ‘d:\anaconda\anaconda3\Lib\venv\scripts\nt\python.exe’
What should I do to get rid of this error and create the virtual environment?
Actually, I solved this problem, by using a little bit modified solution from this ‘stakoverflow’ discussion.
This is the original solution:
I copied following files from python location( C:\Program Files\Python37 ) to the ( C:\Program Files\Python37\Lib\venv\scripts\nt ) and it worked for me