I have created a virtual environment in vscode and also activated it, however, the virtual environment is not being shown in python interpreter path. only the default python path is being shown. Also when I am trying to install any module in terminal while the venv active, it just shows that Unable to create process using "" install module. Please help me with this problem.
Here are the steps which I used to create the virtual environment:
- I installed the virtualenv module by using the command 'pip install virtualenv'
- I created the virtual environment in a folder by using the command 'virtualenv myprojectenv'
- Then I activated the virtual env by using the command '.\myprojectenv\Scripts\activate.ps1'
- It took me inside the virtual environment. Then I tried to install the module 'flask' by using the command 'pip install flask', but then it showed the error - 'Unable to create process using "" '

Also please provide me a solution in layman's language as I am a beginner in the coding field
activate.ps1should inject theScriptsfolder (with pip.exe and python.exe) to thePATHof the process. Did you resolve this already? One option would be to use plainvenvinstead ofvirtualenv. Also, as a workaround you can usemyprojectenv\Scripts\python.exe -m pip install flaskto force the usage of the pip of your virtual environment.