can someone still use this command to install virtual environment and all dependency. As of what learnt my tutor said it is old ways of installing virtual environment that it is better one should use
For Python 3
python3 -m venv myenv
or
For Python
python -m venv myenv
and to activate use
myenv\Scripts\activate
Any support about this …
can someone still use this command to install virtual environment and all dependency. As of what learnt my tutor said it is old ways of installing virtual environment that it is better one should use
It really depends which way you like better, I like using python -m venv myenv
instead of pipenv like mosh shows because you can see the folder with all your dependencies inside your project, so you can browse it etc and you know when your inside with the green indicator in the terminal. I find this way more intuative