For those missing green (venv). Solution: after you have typed the command "python -m venv ..." and have hit enter as my man Aditya does at 2:05 and have waited for it to make the venv directory, type into the terminal the following line: venv\scripts\activate and hit enter. Done. You should now how the green (venv) and be working with your virtual environment. !!ERROR!! If an error pops up about permissions or access being denied or something, go ahead and type into the terminal (you might want to reverse this change after you have done it btw, so read about this if you concerned): Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process and try executing "venv\scripts\activate" in the terminal again. !!ADDITIONAL POSSIBLE FIXES!! - make sure you're terminal is working in the correct directory (for example: C:\Users\Asus\Desktop\Project>) before executing "venv\scripts\activate"
Hey bro, thank you! May I know what 'Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process' does, please? Also, do you know how to revert back, please? Thank you :)
@@tanushsavadi988 I can’t give you a high level answer to this question, however, I can tell you for sure that it grants you permission to execute scripts. The -scope process makes it so that this permission is returned to its default value as soon as you’re done with whatever you’re currently doing. If you want to permanently grant yourself permission to execute these scripts, you just have to remove the “-scope process” part. In summary, you can using that command without worrying because all is returned to its original state after you’ve used venv\scripts\activate ;)
Thanks so much, i´ve been trying to solve this for ages and your tutorial was the first that i found that was intuitive and easy to follow, keep up the good work!
If VS Code is still throwing an error about the library import, make sure you select the correct interpreter (CTRL+SHIFT+P) and type "Interpreter" and choose the correct one.
If anyone is having trouble with installing using pip install ... First upgrade pip: py -m pip install --upgrade pip Otherwise, thanks so much Aditya! My man
bro huge thx its 5 pm i was trying to execute my project from morning itself but again n again m getting same error ,, but after watching this tutorial i got to know virtual environment is must thing thx buddy again (i m new to python )
thank you very much, it worked first time for me. I remember needing to do this in the spyder IDE but either it was easier or I had a teacher holding my hand the whole way
Thank you for this! I was following a Python tutorial, but I didn't want to use a new editor. I was having issues using Python modules until watching this.
Hi Aditya, thank you for the tutorial. When I follow your instruction and try to create ve, console says that my command not found. I just started using VS and probably I am missing some extensions?
If you are still having errors after performing everything then , actually python 3.9 and 3.10 might have some issue installing libraries, so try installing an older version like 3.8
hey i think i have this problem because after doing all like the video python still say me that he don't find matplotlib, so how can i install an older version please ?
Hi thanks for the short video clip. I created virtual environment with your method, but it cannot activate like a green color on your screen (venv). Can you please let me know how can I activate it?
Thank you for this, really helpful. Wanted to ask about anaconda along with vs code; thought downloading anaconda brings all the libraries and no need for individual pip installs. First is that true? If yes how to get anaconda support in vs code? Of not, is there a shorter way to get all or most libraries in one go instead of one by one pip install into the venv?
I've to repeat every time i need those packages this procedure with venv? Or it has to be done just once and i can use such packages. Thank you in advance bro.
bro u r really awesome, i was trying to import cx_Oracle in vs code for the past two days i tried every possible way. Im fraustraded to the core while watching ur video, but after it was not the same it is working. Thanks lot. go great heights.
For those missing green (venv). Solution:
after you have typed the command "python -m venv ..." and have hit enter as my man Aditya does at 2:05 and have waited for it to make the venv directory, type into the terminal the following line:
venv\scripts\activate
and hit enter. Done. You should now how the green (venv) and be working with your virtual environment.
!!ERROR!!
If an error pops up about permissions or access being denied or something, go ahead and type into the terminal (you might want to reverse this change after you have done it btw, so read about this if you concerned):
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process
and try executing "venv\scripts\activate" in the terminal again.
!!ADDITIONAL POSSIBLE FIXES!!
- make sure you're terminal is working in the correct directory (for example: C:\Users\Asus\Desktop\Project>) before executing "venv\scripts\activate"
Hey bro, thank you! May I know what 'Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process' does, please? Also, do you know how to revert back, please? Thank you :)
@@tanushsavadi988 I can’t give you a high level answer to this question, however, I can tell you for sure that it grants you permission to execute scripts. The -scope process makes it so that this permission is returned to its default value as soon as you’re done with whatever you’re currently doing. If you want to permanently grant yourself permission to execute these scripts, you just have to remove the “-scope process” part.
In summary, you can using that command without worrying because all is returned to its original state after you’ve used venv\scripts\activate ;)
@@robertruta687 Cheers mate, thank you. I get the gist of it now
Thanks a lot!
hey for some reason after i installed the library i want the venv folder is still there unlike Aditya's and ist sayin there is no module called that
man, this is perhaps the best (the shortest and brief) video to solve the problem. thank you very much
I litterly searched this up because i needed to make a graph in python for school and u actually just did it with a graph xD
thanks a lot, I spent nearly a week and tried many ways but nothing actually happened until I followed your instructions. Many thanks!!!!!!!!!
Been stuck for ages ! Thanks so much. This shit about installing libraries takes 90% of my "coding" time.
Thank you so much! I have been searching for an easy to follow explanation like this for so long!
Thank you :) I am glad.
@@AdityaThakurXD help me fix this
import requests could not be resolved from source vscode
To create virtual environment:
-> py -m venv env
To activate virtual environment:
-> .\env\Scripts\activate
To deactivate virtual environment:
-> deactivate
you haven't even got the same syntax/arrangement as the video or the top example, yet your is the only one that works for me. Very grateful!
@@MrMenace3210 Same here
I can't believe I need this vedio even after I have been a senior student.
Thanks so much, i´ve been trying to solve this for ages and your tutorial was the first that i found that was intuitive and easy to follow, keep up the good work!
Your explanation is awesome. Been trying to figure it out for hours and I saw your video and it fixed everything. Much appreciated. Thank you
If VS Code is still throwing an error about the library import, make sure you select the correct interpreter (CTRL+SHIFT+P) and type "Interpreter" and choose the correct one.
Thank you so much. I struggled with this all day.
You should be the second comment in the list tysm
Please what's the correct interpreter
you sir are the goat
I am trying to do so but nothing is changing
Thanks man, I have been trying to find the solution almost all day but this one thing cracked it for me finally! :)
Imagine I had to come back here again. Thanks Thakur!
I don't have slightest idea about coding but you fixed my problem.
If anyone is having trouble with installing using pip install ...
First upgrade pip: py -m pip install --upgrade pip
Otherwise, thanks so much Aditya! My man
you deserve a nobel price man
thank you
I been stuck like almost 3 week until I saw this video, THANKS YOU!!!!!
Omg thankyou so much I cant believe I was trying to import using the terminal rather than the code space👀
bro you dont know how much u just saved me, ive been using vms and was gonna get a laptop cause my pc was being weird, this saved me tysm
WOW THIS INDIAN FRIEND SAVED MY LIFE!
Thanks sir it’s the eisiest way you can display your graphs keep going sir
bro huge thx
its 5 pm
i was trying to execute my project from morning itself but again n again m getting same error ,, but after watching this tutorial i got to know virtual environment is must thing
thx buddy again
(i m new to python )
Thank you for a well produced straightforward tutorial. Learned what I needed to without all the bs. 👍
thank you very much, it worked first time for me. I remember needing to do this in the spyder IDE but either it was easier or I had a teacher holding my hand the whole way
Thank you for this! I was following a Python tutorial, but I didn't want to use a new editor. I was having issues using Python modules until watching this.
this worked! Be sure to have powershell as your terminal type.
THNXXXX I HAD THE ERROR AND CORRECTED IT FOLLOWING THE STEPS IN YOUR FIRST COMMENT ^^
Thank you, I been trying to do this for 2 days . Watching your video I finally figure it out..Thanks
Take love brother from Bangladesh. This vedio is very helpful for me.And easily solved my problem.I think you create more vedio.Thank you.💓
Glad it helped. Thank you so much!
very thank you sir, i had trouble running pygame code. I fixed it now. thanks. Keep making these type of videos.
HATSS OFF I WAS SEARCHING FROM WHEN LIKE SUPER QUICKLY !!!THANKYOU U MADE ME EASY
God bless you and thank you for everything, fellow knowledge seeker 👋
Okaya this was my 6th video and finally I could do it.. Thanks
thank you so much, I browsing for hours until I found your tutorials,,,very simple to solve the problem
thanks bhai 😁i am watching this in 2024 and still it is very helpful for me
Thank you so much for your video sir.I was looking for this for hours.Finally I got it
Thank you so much. It took me a day to get results from you
Thank you. Very short and to the point and It works.
Brother it will really prove to be helpful for me... Thanks for sharing❤
I am glad ✨ Thank you for leaving a comment. 💯
I tried to do venv several times... finally got it thank you. sometimes we all hit roadblock which is like a fart in a spacesuit, life
Thanks Bhaiya i have a question can we run pandas by this method
By writing pip install pandas
Thanks Aditya...This video is really helpful.
bro, this save my life, thanks
Thank you so much sir ❤️
Thank you so much For your better explanation.
hey , mine doesnt show the green venv but I'm not sure. any help?
my also its not showing but everything is working fine on pc
bro same issue idk what to do
venv\Scripts\activate - try this in terminal
Thank you very much. Your video was very helpful
Thank you Aditya for the video🙏
Worked perfectly! Thanks.
Hi Aditya, thank you for the tutorial. When I follow your instruction and try to create ve, console says that my command not found. I just started using VS and probably I am missing some extensions?
nice job man i really need those vids
hats off to you
👌👌👌👌
thank you so much bro this helped me a lot. love the way you make understand. thanks a lot 😀
Great video! It really worked out for me. Thanks for making very short and sweet
thank you so much ..keep making such informative videos
thank you soo much , it really solved my problem ,
If you are still having errors after performing everything then , actually python 3.9 and 3.10 might have some issue installing libraries, so try installing an older version like 3.8
hey i think i have this problem because after doing all like the video python still say me that he don't find matplotlib, so how can i install an older version please ?
You are spot on !!! I had this problem with installing pandas in 3.9. Once I went back to a older version everything was working....
@@roshanleanage1275 Which version did you go back to?
this tutorial was what i was looking for thank you !!
Yess thank you! exactly what I was looking for!
I have done the same till installing matplotlib but after that it is again showing no module found
Same
I would thank you so much, it helped me a lot.. Thanks bro.
Aree sir ji big fan... Great Video 🔥
Thanks a lot bhai 💯💯
INFORMATIVE VIDEO BTW THANKS A LOT!!!
I GOT INSTALLED PANDAS
Thnq sir for this fruitful video
Bless up mahn. This was so helpful.
Gzzzzz dude, ty so much, I spend hours trying to solve it with no success
Hi thanks for the short video clip. I created virtual environment with your method, but it cannot activate like a green color on your screen (venv). Can you please let me know how can I activate it?
Same problem!What to do?Did u find a solution?
I think you have to create a new terminal and paste the powershell file path (Activaet.ps1), then press enter.
Great video, I am not getting the green (venv) can you help please, thanks
Yeah me too
Same
Thanks a lot..... Your explanation is really awesome!!
gr8 vid bro, thanks for making
Awesome video man, much appreciated!
Thanks a lot Aditya , u helped me out a lot
I recommend your videos. so helpful
Thank you finally I can install pywhatkit tq.....😊😊
I reach a point in my programming career where I watch some indian guy fix my problems with his indian magic
Congratulate me
Thank you so much bro! It was very helpful
Its solved my problem, thanks a lot👍
Hello, Thank you so much for the content. I was really struggling with installation. This video really helped me out. 😄😄
finally some one with this wallpaper!
Awesome Aditya, thanks for this short and simple video, but very valuable one :-)
Simple and clean no messy things thanks bro
Thank you for this, really helpful. Wanted to ask about anaconda along with vs code; thought downloading anaconda brings all the libraries and no need for individual pip installs. First is that true? If yes how to get anaconda support in vs code? Of not, is there a shorter way to get all or most libraries in one go instead of one by one pip install into the venv?
Thanks sir for Your help I was really worried for a moment their
Thanks from Uruguay!
really a helpful , thanks for sharing ,,,
This video is very helpful 😍
Thank you for the tutorial! :D
Happy to help!
I've to repeat every time i need those packages this procedure with venv? Or it has to be done just once and i can use such packages. Thank you in advance bro.
bro u r really awesome, i was trying to import cx_Oracle in vs code for the past two days i tried every possible way. Im fraustraded to the core while watching ur video, but after it was not the same it is working. Thanks lot. go great heights.
Thank you man , you really helped mee !!!!
Ey men I fix it, thanks for this video!!!
thanks bro ..it helps me a lot🙏
Does this method also work when we want to use Numpy and Pandas?
good video, you did good with this one.
you have been a big help for me, thank you very much
Hey Aditya, Hope you are doing good. I am getting permission denied error while using pip in vs code. Can you help me ? Would be great help.
Thanks
Great job... 👏
Thank you 😭❤️
nice explained
thanks man, you helped me, together on this(i'm Braziliam bro and i learning english, so correct me if you can)
thank you so much! very helpful!
Hi great video. Can we do the exact same thing but install forecasting packages like pmdarima , prophet etc instead of matplotlib?