Тёмный

PyCharm Virtual Environments (venv) Explained! | 10 Min. | Updated 2023 

Max on Tech
Подписаться 12 тыс.
Просмотров 98 тыс.
50% 1

Learn to use virtual environments in PyCharm within 10 Minutes!
🔍 PyCharm Tutorial Playlist: • PyCharm Tutorials
⌚ Timestamps ⌚
00:00 | Two Methods of Creating a Virtual Environment (venv)
00:16 | Method 1: New Project with a Virtual Environment
01:34 | Method 2: Adding a Virtual Environment to Existing Projects
02:53 | Activating a Virtual Environment
06:11 | Error: "Activate.ps1 cannot be loaded because running scripts is disabled"
06:40 | Deactivate a Virtual Environment
06:58 | Installing Modules with PIP in a Virtual Environment
08:07 | Local Venv Modules vs. Global Modules
🌟 Please leave a LIKE and SUBSCRIBE for more! 🌟
◾◾◾◾◾ PyCharm Tutorials ◾◾◾◾◾
🐍 Install PyCharm & Python: • Install PyCharm & Pyth...
💿 PyCharm Basics in 10 Min.: • PyCharm Tutorial | Int...
◾◾◾◾◾ Learn Python ◾◾◾◾◾
🙂 Pygame Basics Series: • Pygame Tutorial - Intr...
🐺 Pygame Advanced Series: • Chrome Dinosaur in Pyt...
🤖 Python A.I. Series: • Video
◾◾◾◾◾ 🌎 Let's Connect! ◾◾◾◾◾
🐦 Twitter (X): 🔗 / @max_on_tech
📂 GitHub: 🔗 github.com/maxontech
🔊 Discord: 🔗 / discord
🏹 ProductHunt: 🔗 www.producthunt.com/@m4x
✅ Blog: 🔗 maxontech.io/courses
◾◾◾◾◾ Hashtags ◾◾◾◾◾
#PyCharm #Debug #Tutorial #Python

Опубликовано:

 

16 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 207   
@janekschleicher9661
@janekschleicher9661 7 месяцев назад
Something worth to mention is also that the pip in the virtual environment is a different one than the pip in the global environment. That's why you can also see a pip.exe in the venv directory in 4:28. You don't always see the prompt (venv), indeed, that's quite common with customized shells with restrictions in corporate environment, but you still can find out which pip is relevant with `which pip` and then see the full path to it (either to global pip or to venv pip). In addition, very often in Windows/corporate environment, you'll have to work with conda and pip together and then in a conda environment (what is then the necessary replacement for the virtualenv), you even have to first `conda activate ` and then run a `conda install pip` first, to have a pip in this environment (and otherwise, the global pip is silently taken without any notice about). And that's hard to debug if you are not aware that there might be different pip's (different locations, in different versions and with different behaviour, especially different install destinations, ...). And while conda+pip together might not be so often, you'll often enough be in a situation where the PATH variable is not correctly set and then again silently the global pip instead of the local venv pip will be taken. Happens remote, in a CI/CD or outside of PyCharm, e.g. in CygWin or WSL2 often enough ... I know it, because I often have to trouble shoot juniors 🙂in such situations.
@KhalidElMouloudi
@KhalidElMouloudi 6 месяцев назад
Thank you for sharing this!
@user-bh5no4ke4i
@user-bh5no4ke4i 8 месяцев назад
Let me explain why you did a GREAT job? Someone who has clicked on your tutorial most likely is not a graduate coder as such, slow, methodical, hold your hand approach is how we can learn and you nailed it. Great Great video and of course I subscribed. Keep up the excellent work.
@MaxOnTech
@MaxOnTech 8 месяцев назад
hey, this is very encouraging! Thanks a lot!
@ROBROB301
@ROBROB301 3 месяца назад
You’re actually describing me - I’ve watched various videos and read articles, this was the first one that really made sense.
@ojinwayoonyeze3864
@ojinwayoonyeze3864 6 месяцев назад
Guess what? Until this video, I get lost each time I launch pycharm.Great job, we need teachers like u, so passionate! You made my 2023 a great one at last.
@MaxOnTech
@MaxOnTech 6 месяцев назад
Hey, thanks! That's very encouraging :)
@GoranMaricgocamaaric
@GoranMaricgocamaaric Год назад
THAAAAAAAAAAAANKKKK YOUUUU! Short and clear, like it should be. Today I was messing around with it for about 4 hours and after 10 minutes of your video I finally get it. :)
@MaxOnTech
@MaxOnTech Год назад
Welcome :) let me know if there are any other topics that i should cover.
@beomseokpark1500
@beomseokpark1500 3 месяца назад
Thank you so much! Most videos just showed the steps but you articulate everything under the hood. Amazing job!
@MaxOnTech
@MaxOnTech 3 месяца назад
awesome! hope it helped you understand everything:)
@ilzamwahyu
@ilzamwahyu Месяц назад
I was lost with PyCharm, this video helped me! Thanks Max!
@MADhatter_AIM
@MADhatter_AIM Год назад
Very good, simple and clear, direct to the point ! Thanks
@MaxOnTech
@MaxOnTech Год назад
glad it helped :)
@alansharedmenesescarbajal1921
@alansharedmenesescarbajal1921 10 месяцев назад
Amazing video, simple yet complete. Keep up the good work!
@MaxOnTech
@MaxOnTech 10 месяцев назад
glad it helps people out there! all the best to you!
@alananalyst7795
@alananalyst7795 Год назад
I was struggling with these, after watching this, everything is making sense, thanks!!
@MaxOnTech
@MaxOnTech Год назад
Hey, that's awesome! Glad it helped!
4 месяца назад
Man you have a natural gift for this! Thanks a lot!
@MaxOnTech
@MaxOnTech 4 месяца назад
thanks a lot! hope it helps :)
@MaxOnTech
@MaxOnTech 10 месяцев назад
Still facing issues? Perhaps my venv write-up covers the problem: maxontech.io/courses/pycharm/using-virtual-environments-venv-in-pycharm
@slavago1266
@slavago1266 Год назад
Thank you for such a helpful video about virtual environments! It helps me reload my Python programming journey!
@MaxOnTech
@MaxOnTech Год назад
Glad it was helpful!
@toddprickett6376
@toddprickett6376 Год назад
A very succinct tutorial! Thanks. Solved my venv problem.
@MaxOnTech
@MaxOnTech 11 месяцев назад
Glad it helped!
@LemonGuy1
@LemonGuy1 6 месяцев назад
Finally, it all made clear!! Thank you so much ❤
@MaxOnTech
@MaxOnTech 6 месяцев назад
haha glad it did
@davidschroeder2732
@davidschroeder2732 Год назад
Outstanding explanation of venv. Best I've seen after having explored several other explanations..
@MaxOnTech
@MaxOnTech Год назад
awesome. feel free to let me know what else I should cover
@dustybrown4599
@dustybrown4599 10 месяцев назад
Thanks! This was exactly what I needed.
@MaxOnTech
@MaxOnTech 10 месяцев назад
awesome :)
@sprinter5901
@sprinter5901 Год назад
Great tutorial. I had that PS script issue and this video helped me solve it.
@MaxOnTech
@MaxOnTech Год назад
awesome :) glad it helped!
@keyvanpfannenschmidt
@keyvanpfannenschmidt 2 месяца назад
That was sooooo helpful. Thank you so much!
@MaxOnTech
@MaxOnTech Месяц назад
Glad it was helpful! :)
@Mr6499
@Mr6499 7 месяцев назад
This has been extremely helpful to me. Thank you
@MaxOnTech
@MaxOnTech 7 месяцев назад
thanks :) glad it helped
@_mulla_
@_mulla_ Год назад
Thank youuu, I kept trying to figure this out and couldn't until i found your video
@MaxOnTech
@MaxOnTech Год назад
Glad I could help!
@Matt-iy2cf
@Matt-iy2cf 8 месяцев назад
Very clear explanation. Much appreciated!
@MaxOnTech
@MaxOnTech 8 месяцев назад
Awesome :)
@davidwang8971
@davidwang8971 Год назад
this is awesome, thank you so much!
@MaxOnTech
@MaxOnTech Год назад
Welcome david :)
@MushroomPower84
@MushroomPower84 Год назад
Thank you so much! Finally I've found your video and my first venv project just got activated. (have been trying for hours :$)
@MaxOnTech
@MaxOnTech Год назад
Hey, that's awesome :) glad it helped!
@abdulquadhiersuhail5215
@abdulquadhiersuhail5215 Год назад
Thank you so much for your help 😇 and you save me from anxiety !
@MaxOnTech
@MaxOnTech Год назад
Hey, glad to hear it helped you :))
@alizeshan6432
@alizeshan6432 6 месяцев назад
Thanks man! Your solution was clear and precise. Worked perfectly for me. 👍
@MaxOnTech
@MaxOnTech 6 месяцев назад
Awesome :) Glad it helped!
@alexramos587
@alexramos587 10 месяцев назад
Very good tutorial. Thank you, Max.
@MaxOnTech
@MaxOnTech 10 месяцев назад
My pleasure!
@user-fi8cg4bb1z
@user-fi8cg4bb1z 9 месяцев назад
Thank you so much for sharing!!!
@MaxOnTech
@MaxOnTech 9 месяцев назад
Any time!
@Graidex
@Graidex 2 месяца назад
really helped me understand each and everything perfectly. thanks
@MaxOnTech
@MaxOnTech 2 месяца назад
hey, thanks, that's awesome:)
@romankolosov5771
@romankolosov5771 Месяц назад
thanks! concise and clear tutorial.
@MaxOnTech
@MaxOnTech Месяц назад
Most welcome! :)
@favourwilliams7319
@favourwilliams7319 11 месяцев назад
thank you so much... very simple and clear
@MaxOnTech
@MaxOnTech 11 месяцев назад
hi :) glad it helped!
@elie1943
@elie1943 Год назад
Thank you so much! Very helpful
@MaxOnTech
@MaxOnTech Год назад
Glad it helped!
@KpxUrz5745
@KpxUrz5745 Месяц назад
Thanks. Every basic video helps. Compared to all the programming I've done in the past, I am finding python exasperatingly confusing in many regards, despite all the books I am reading.
@user-gy7om8ih9q
@user-gy7om8ih9q Год назад
thank you, other videos were showing on how to do it on cmd and i was confused. i didnt know there was a terminal in pycharm. video is really helpful.
@MaxOnTech
@MaxOnTech 11 месяцев назад
You are welcome!
@radka4244
@radka4244 7 месяцев назад
thank you so much for this video!
@MaxOnTech
@MaxOnTech 7 месяцев назад
Glad it was helpful!
@stefklaric
@stefklaric Год назад
This was very easy to follow, thanks
@MaxOnTech
@MaxOnTech Год назад
You're welcome!
@Sonofsun001
@Sonofsun001 7 месяцев назад
Thanks, just started using pycharm and am trying to follow a course I downloaded on selenium and test automation. The instructor is saying to run activate.bat instead of activate.ps1. This seems to have activated the environment. keep up the good work
@joeking5211
@joeking5211 Год назад
That was presented as a master class, thank you for your clear no frills direct tutorial, absolutely superb, will look at any other vid's you may have. Keep up the good work.
@MaxOnTech
@MaxOnTech Год назад
Thanks :) always enjoy reading these types of comments!
@user-ll8hv2vs1l
@user-ll8hv2vs1l 7 месяцев назад
this fixed my issue, thank you so much
@MaxOnTech
@MaxOnTech 6 месяцев назад
You're welcome!
@MrNess2911
@MrNess2911 11 месяцев назад
Thank you very, very much for your crystal clear explanation 😊
@MaxOnTech
@MaxOnTech 11 месяцев назад
You are welcome!
@matthewm9595
@matthewm9595 7 месяцев назад
very clear tutorial, great job
@MaxOnTech
@MaxOnTech 7 месяцев назад
awesome :)
@aizazahmedsahito1240
@aizazahmedsahito1240 7 месяцев назад
Your way of explaining things is very good and understandable, clearly explained everything in detail for me I am a beginner and it helped me a lot. thanks
@MaxOnTech
@MaxOnTech 7 месяцев назад
that's awesome! thanks a lot!
@mahendraverma2826
@mahendraverma2826 6 месяцев назад
this tutorials help's me a lot thank you Max
@MaxOnTech
@MaxOnTech 6 месяцев назад
Glad that it helps :)
@vitorniskier
@vitorniskier 5 месяцев назад
Great video!!
@MaxOnTech
@MaxOnTech 5 месяцев назад
yessir! Thanks!
@Mars_Hll
@Mars_Hll Год назад
Thanks a lot!
@MaxOnTech
@MaxOnTech Год назад
welcome:)
@daniellehotsky1776
@daniellehotsky1776 14 дней назад
Thank you very much that you included that Windows Error and solution. It drove me crazy. Now it works. Thank you, man. Subscribed. :)
@MaxOnTech
@MaxOnTech 4 дня назад
yes, it rarely happens, really useful for that handful of people who get that error.
@kabel-cb4lx
@kabel-cb4lx 3 месяца назад
GREAT!!
@MaxOnTech
@MaxOnTech 3 месяца назад
thanks!!
@pramodhr7676
@pramodhr7676 Год назад
Thnaks a lot. Hepled me!!!!!! you gained one subscriber
@MaxOnTech
@MaxOnTech Год назад
Thanks for the sub!
@user-gk3gl7jl2p
@user-gk3gl7jl2p 7 месяцев назад
thank u very much!!!!!!😊😊👌👌👍👍 PERFECT!
@MaxOnTech
@MaxOnTech 7 месяцев назад
Glad it helped!
@jays12345
@jays12345 Год назад
Thank you. a great help to beginners in python like me.
@MaxOnTech
@MaxOnTech Год назад
You're very welcome!
@dianajoseph5102
@dianajoseph5102 5 месяцев назад
Thank you for this simple yet effective video. Your explaining is great keep it up🙂
@MaxOnTech
@MaxOnTech 5 месяцев назад
Hi Diana :) thanks for the kind words. All the best, Max
@ALVINMAN452
@ALVINMAN452 Год назад
Many thanks. you help me with your video.
@MaxOnTech
@MaxOnTech Год назад
that's awesome! Let me know if there's anything else you want me to cover.
@dddd-ci2zm
@dddd-ci2zm Год назад
Great!
@MaxOnTech
@MaxOnTech Год назад
glad it helped. Let me know if there are other topics you want me to cover!
@chamikamac
@chamikamac 2 месяца назад
Great video :)
@MaxOnTech
@MaxOnTech 2 месяца назад
Thanks! glad these videos help :)
@pooryaomidi8637
@pooryaomidi8637 8 месяцев назад
Great 👏🏻
@MaxOnTech
@MaxOnTech 8 месяцев назад
thanks :)
@SofianMW
@SofianMW 5 месяцев назад
thanks!
@pauledukere8353
@pauledukere8353 Год назад
Helpful.. thanks
@MaxOnTech
@MaxOnTech Год назад
Glad it was helpful!
@stevieboi61
@stevieboi61 10 месяцев назад
thankyou bro!👍🏼
@MaxOnTech
@MaxOnTech 10 месяцев назад
most welcome!
@user-jc3gx2mj9u
@user-jc3gx2mj9u 9 месяцев назад
Thank You sir!
@MaxOnTech
@MaxOnTech 9 месяцев назад
Most welcome!
@jm-xv3wh
@jm-xv3wh 11 дней назад
Thanks Max It is great video , very informative for us
@MaxOnTech
@MaxOnTech 4 дня назад
hey :) glad it's still helpful
@gouseshaikh4840
@gouseshaikh4840 Месяц назад
Great
@tusdhu
@tusdhu 5 месяцев назад
Thank you✌
@MaxOnTech
@MaxOnTech 5 месяцев назад
You're welcome 😊
@kapilnagar9748
@kapilnagar9748 6 месяцев назад
thank you! very helpful in next video if you can touch upon using/connecting anaconda and gitlab with pycharm will be great.
@prakashpokhrel1170
@prakashpokhrel1170 10 месяцев назад
Thanks you alot ❤❤❤❤ love you from nepal. Its really helped me alot.
@MaxOnTech
@MaxOnTech 10 месяцев назад
That's awesome! Happy to help!
@call-me-potato.
@call-me-potato. 8 месяцев назад
thanks thanks for excellent tutorial.
@MaxOnTech
@MaxOnTech 8 месяцев назад
most welcome!
@mohammadzahidkamal8775
@mohammadzahidkamal8775 8 месяцев назад
..great explanation..
@MaxOnTech
@MaxOnTech 8 месяцев назад
Glad it helped :)
@shaikhsufi4541
@shaikhsufi4541 7 месяцев назад
thank you brother
@MaxOnTech
@MaxOnTech 7 месяцев назад
welcome! :)
@christopheanfry2425
@christopheanfry2425 Год назад
Thank you so much for your explanations regarding venv and in another video the interpreter but the question is why using venv, only to have our package in the project. I’m also installing packages in my projects without venv via pip3 install but then they are not available on pycharm. That’s because I don’t have venv? Thanks again very good content
@itsRemco
@itsRemco Год назад
06:34 saved my ass. Thanks for this wonderful tutorial bro!
@MaxOnTech
@MaxOnTech Год назад
awesome :) glad it helped!
@soe3717
@soe3717 Год назад
pls send me the code, I cant do it
@soe3717
@soe3717 Год назад
It's wok now, I am thankfull for this tutorial. Amazing
@ridazouga4144
@ridazouga4144 Год назад
Thank you so much for this series of Pycharm, please keep adding more videos because they are really useful🙏🙏
@MaxOnTech
@MaxOnTech Год назад
Thank you, I will
@DuroLabs85
@DuroLabs85 Год назад
Hi, I tried to install a new python interpreter "python 3.11" but it seems like the pycharm or maybe the python exe stays in a constant loop of the installation . So even after installing python the installation page pops again showing the "Modify, Repair, Uninstall" window of python and it just keeps re-appearing no matter which option I choose. Temporarily I choose the base interpreter which comes with pycharm itself but I want to change it to the latest asap can anyone tell me what's wrong with it or how can I fix it ?
@hinafraz528
@hinafraz528 Год назад
finally, loved it. It cleared my confusion. some questions I need to ask. To run a python program we have to be in a virtual environment first or it's just for installing packages only. 2nd question is how I can make separate python interpreter for different python projects? e.g project1---> python3.8 interpreter , project2------> python3.4 interpreter
@MaxOnTech
@MaxOnTech Год назад
Hi Hina, yes, you should also keep the venv on when you run your script. And you have the possibility to configure a new interpreter for each new project in the window that pops up when you create a new project :) hope it helps!
@JimmyS2
@JimmyS2 9 месяцев назад
Great video, details and how to jump in and out of venv, a minor correction if you don't mind, the file paths are separated by backslash \ in Windows, not slash / like in Linux
@MaxOnTech
@MaxOnTech 9 месяцев назад
Yes, true, those slashes are confusing :D. Thanks for the info!
@utica2burn
@utica2burn 11 месяцев назад
Is there a particular reason why you instruct in the usage of the Python Console inside PyCharm and not just the window under File -> settings ? That window is very simple to use and the list of installed modules is right there.
@ziqinwu2337
@ziqinwu2337 Год назад
good video!
@MaxOnTech
@MaxOnTech Год назад
Thanks!
@ghhdgjjfjjggj
@ghhdgjjfjjggj 9 дней назад
thank you so much...
@MaxOnTech
@MaxOnTech 4 дня назад
You're most welcome! :D
@ock538
@ock538 Год назад
thanks sir
@MaxOnTech
@MaxOnTech Год назад
welcome!
@drarov91
@drarov91 Год назад
Hi, thanks for this video. I have a question. Why it is happening that during deactivation of venv my local terminal in pycharm doesn't see python and pip? How to install them correctly on my computer?
@tusharp1577
@tusharp1577 5 месяцев назад
where should I put the code I am coding for example function library as I don't want to code in main(), inside vent folder or parallel to main, and how do I import in main ? tried and does not seem to recognize my local functional lib which is in project.
@Raselweb
@Raselweb Год назад
Very helpful video. Form Bangladesh ❤❤
@MaxOnTech
@MaxOnTech Год назад
Glad it was helpful!
@Raysonnn
@Raysonnn Год назад
Thanks dude
@Raysonnn
@Raysonnn Год назад
Had to make some research for the command on powershell just for security and it was ok. Super simple
@MaxOnTech
@MaxOnTech Год назад
Hey Ray, glad it helped!
@s.d.9254
@s.d.9254 6 месяцев назад
Hi, I'm using a Mac and my "problem" is two fold: 1) At 1:18 when setting up the virtual environment. On the left side under my sample project, it does not say "venv library root" like your directory does. Instead, that folder is named "VirtualEnv". 2) The terminal text is different. In the parentheses it reads "(VirtualEnv) USER@COMPUTERNAME sampleproject %". So when I try to write a command like "cd venv" I get this message: cd: no such file or directory: venv. Please advise!
@ade4200
@ade4200 4 дня назад
I simply want terminal to autocomplete venv/scripts/activate when i start typing ve... I cannot find out how anywhere! Anyone know? Many thanks.
@deepasinghal4729
@deepasinghal4729 2 месяца назад
There is no "Scripts" shown in my pycharm. It has "bin" which has pckages and "lib" which has gitignore and pyvnev.cfg nested under it?
@kahnbiraj
@kahnbiraj Год назад
Thanks for the nice intro for beginners like me. I had the "rare" issue that you mentioned and tried what you said. However, setting the scope to CurrentUser did not work for me. So, I had to change it to LocalMachine instead. Now, I don't understand why it did not work and why it worked when I switched it. Can you help me understand?
@MaxOnTech
@MaxOnTech Год назад
Hi Biraj, would love to help you on this but frankly I'm not sure why the switch to LocalMachine fixed the issue ... Anyway, glad that you fixed the issue
@jeodezman32
@jeodezman32 Год назад
PowerShell command: Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
@MaxOnTech
@MaxOnTech Год назад
thanks!
@ReshmaS-tb3bd
@ReshmaS-tb3bd 10 месяцев назад
sir, in 3:30 wen i type the command LS,am not getting venv ..wat to do now
@legit_nyel
@legit_nyel Год назад
What is the difference between using the venv and using existing environment? Is there any advantages and disadvantages?
@MaxOnTech
@MaxOnTech Год назад
Venv will save all dependencies (i.e., modules and libraries) to a folder specific to the project you are working on. Without venv you are going to install packages globally on your computer so that every project will have access to the modules and libraries - which is not good and in the video I explain why.
@wedeyforyou
@wedeyforyou 2 месяца назад
I need help. Now where do I code? In what file
@ZZ-cl5so
@ZZ-cl5so 11 месяцев назад
I wish i could like this video 1000 times I had problem of powershell and it was fixed then. How possible.Tnxxx
@MaxOnTech
@MaxOnTech 11 месяцев назад
sup, glad I could help!
@tomwinkler294
@tomwinkler294 10 месяцев назад
So why not install all packages globally? What do I gain by installing a package to a virtual environment where it can’t be used for other projects?
@ALVINMAN452
@ALVINMAN452 Год назад
Please, can you explain me: how can i run pycharm, venv with python ==3.6? (because Scrapy) Thank you.
@MaxOnTech
@MaxOnTech Год назад
Hey Alvaro! To create a new virtual environment with a different version of Python in PyCharm, you can follow these steps: Open your project in PyCharm. Click on the File menu and select Settings. In the left pane, click on Project: your_project_name, and then select Project Interpreter. Click on the gear icon at the top right corner and select Add. In the Add Python Interpreter window, select Virtual Environment and click on New Environment. In the Create Virtual Environment window, select the base interpreter that you want to use . Enter the location where you want to create the new virtual environment. Select the version of Python that you want to use. Click on Create. After creating the new virtual environment, select it from the list of interpreters and click on OK. Your new virtual environment should now be created with the desired version of Python.
@ALVINMAN452
@ALVINMAN452 Год назад
@@MaxOnTech Once more time many thanks to help me with this new steps. Obrigado. Best regards.
@zahiz5570
@zahiz5570 Год назад
I have venv in terminal but can't see venv under project? Could you help me?
@MaxOnTech
@MaxOnTech Год назад
hi zahiz, compare the path in the terminal to the one of the file in the file tree. I think they wont be the same. Make sure you open the file whose path is the one you see in the terminal. If this doesn't help, then post a screenshot into my discord and ill try to help there.
@paaskanama
@paaskanama 10 месяцев назад
"venv" is not prompting when selecting the radio button. Is this because a venv exists on another project within the folder? The answer to this question is not clear.
@SuperKevinFS
@SuperKevinFS Год назад
Hi mate I am not able to get power shell working in Pycharm it is dead could you point me in the right direction thank u
@MaxOnTech
@MaxOnTech Год назад
Sure, check my answer under your other comment. I've written it out there :) all the best, Max
@martinsantiago7900
@martinsantiago7900 Год назад
I need your help When I open Virtualenv Environment 02:35 At location: Do I have to paste the path of Python ? It just shows my location of downloads by default like (C:\Users\AVT\Downloads) Idk what to do and OK option isnt highlighted to click on Pls help
@martinsantiago7900
@martinsantiago7900 Год назад
And if I set location for venv like (create a file) and Base Interpreter to Python and then clicked OK it opens Python to Modify Setup And if I click Modify it says its successful and asks to close and after closing its opens up again to Modify Setup and its continuous.. Im new to this pls help me
@MaxOnTech
@MaxOnTech Год назад
The path should be something like: .../project-name/venv you can make it manually if it doesn't look like that by default.
@MaxOnTech
@MaxOnTech Год назад
You should not add the folder youself because when the venv is created it will make the folder by default.
@MaxOnTech
@MaxOnTech Год назад
If this doesn't work, send a screenshot of the issue to my discord
@martinsantiago7900
@martinsantiago7900 Год назад
@@MaxOnTech oh ok thanks for the reply I will try again
@sourabhkaushik7687
@sourabhkaushik7687 Год назад
I am following the same method but not getting venv , it showing me in the terminal same name as my folder name in place of venv as of yours . Please tell me what to do now
@MaxOnTech
@MaxOnTech Год назад
Hi Sourabh, are you getting any error message?
@sourabhkaushik7687
@sourabhkaushik7687 Год назад
@@MaxOnTech sir I am following the same step as you have said in this video above but the place where venv is to be written at that place the folder name is there . As per your example sample project is written in place of venv in the terminal.
@girlyvlogs1137
@girlyvlogs1137 11 месяцев назад
same problem with me it does not enter into venv
@sourabhkaushik7687
@sourabhkaushik7687 11 месяцев назад
@@girlyvlogs1137 I think you should try this code in visual studio code (vs code) there you can easily create your virtual environment (venv) . I did the same for this code to run . I hope it will work for you too .
@visualapproach7155
@visualapproach7155 4 месяца назад
Out of date with the new interface. There is no option to add an interpreter in the settings panel.
@ege1217
@ege1217 3 месяца назад
You are fckng best
@MaxOnTech
@MaxOnTech 2 месяца назад
haha thanks
@NEERAJKUMAR-li3gj
@NEERAJKUMAR-li3gj 6 дней назад
amazing video. Very beautifully explained all the use cases. You are subscribed.
@MaxOnTech
@MaxOnTech 4 дня назад
awesome :) glad I could help!
@rejsh
@rejsh 9 месяцев назад
I don’t want virtual environment. Every time I create new projects it goes to virtual environment but I want to create projects in main/global/local (whatever it calls I don’t know). Just show me the way how I avoid virtual environment?