Create a Python Virtual Environment in VS Code on Mac OS
HTML-код
- Опубликовано: 31 янв 2024
- Creating a Virtual Environment (Venv) is easy on Mac OS! In this video we create and activate a virtual environment,
⭐️ Follow me ⭐
💼 LinkedIn: / thomas--janssen
✅ Instagram: / tomstechacademy
❗ Some of my videos contain affiliate links. When you click on these kind of links, I get a small percentage in case you make a purchase via the website. Be aware that this doesn't cost you anything - you never pay more than the standard retail price.
#python #macos #virtualenvironment
You are a big help thanks a lot i was really struggling with the venv thing now i can install and import modules
Happy to hear my video is useful for you 😀
Thanks a lot! I was losing my head.
Thank you for your comment, glad my video was useful for you 😀
Thanks a lot!!
Thank you for your comment Manish, happy coding!
Thanks
Thanks for your comment, glad my video is helpful for you 😀
I am trying to create a virtual environment from my Mac Terminal ( not using VS Code ) and I pasted in the command python3 -m venv .venv but no folder by the name venv is getting created in my project folder. Can you please help me.
Hi Ashok, did you use cd (change directory) in your console to navigate to a specific directory? Is it possible your virtual environment has been created in some kind of root folder?
@@TomsTechAcademy I was able to get it done. How do I check if there is a virtual environment in a particular folder?