No video

You MUST WATCH THIS before installing PYTHON. PLEASE DON'T MAKE this MISTAKE.

  Рет қаралды 388,377

Python Programmer

Python Programmer

Күн бұрын

A beginner's guide to installing python. I show you how to use virtual environments in python. This is something that isn't taught in most beginner courses, but it's really useful.
3 Data Science Learning Platforms I would recommend
1. Data Quest - bit.ly/3hcLjbY (my favourite)
2 Data Camp - bit.ly/39erDk8
3 365 Data Science - bit.ly/3hbUHdd
2 Recommended Python Courses
1. Exploratory Data Analysis with Python and Pandas - bit.ly/2QXMpxJ
2. Complete Python Programmer Bootcamp - bit.ly/2OwUA09
Data Science Interview Preparation
StrataScratch bit.ly/30ul0nX
(These contain affiliate links, which means I receive a percentage of any sales made. There is no additional cost for anybody clicking on them)
👌 SUBSCRIBE 👌
/ @gilesmcmullen
/ gilesmcmullen

Пікірлер: 655
@gilesmcmullen
@gilesmcmullen 3 жыл бұрын
Get my two python courses for just $10 here bit.ly/2JuehGa . Use discount code CF903251D5
@colinharvey1049
@colinharvey1049 3 жыл бұрын
Are these courses different to the udemy course?
@ShailjaGupta16
@ShailjaGupta16 3 жыл бұрын
Hi Giles, Do we need to install python every time we want to set up a virtual environment?
@mohammadrafivulla8368
@mohammadrafivulla8368 3 жыл бұрын
No@@ShailjaGupta16, you can use the same "python"(that you have previously installed) to make any number of virtual environments you want, by just including the same path for the "python". But you need to install it every time there is a newer version of python available or when you need an older version, say for some old project that you have cloned...
@ReaalBadman
@ReaalBadman 3 жыл бұрын
Jokes aside ... do u hack?
@bjornhudson1699
@bjornhudson1699 3 жыл бұрын
I dont mean to be offtopic but does anyone know a method to get back into an Instagram account? I was stupid lost my account password. I appreciate any assistance you can offer me.
@abhijeet800
@abhijeet800 4 жыл бұрын
Your shirt confused me more than python
@cute_miaow
@cute_miaow 4 жыл бұрын
😂😂😂
@geraldknowles519
@geraldknowles519 4 жыл бұрын
wow! you dumb then
@stopcheatingconsumers9779
@stopcheatingconsumers9779 4 жыл бұрын
LOL
@brawnyvenky9584
@brawnyvenky9584 3 жыл бұрын
yes there are lot of virtual environments on his shirt, like containers inside a docker.
@lifewithceecee9035
@lifewithceecee9035 3 жыл бұрын
🤣🤣🤣🤣
@Lazdinger
@Lazdinger 3 жыл бұрын
“If you’re about to install Python for the first time, you’re almost certainly, gonna do it wrong.” This man understand me.
@jetspray3
@jetspray3 2 жыл бұрын
And then somewhere in the video he said do not select the option to set path for those who download python before but he left the first timers confused.
@ilkkuPvP
@ilkkuPvP Жыл бұрын
@@jetspray3 Should I select the PATH option. First ever time installing Python3 (any python) EDIT: I googled and people say if I select PATH it will let me use just "python" in command prompt and I don't need to use "c:/.../.../.../python...". So I think it's better to select PATH?
@heinrichhelmbold419
@heinrichhelmbold419 7 ай бұрын
You still got it all wrong... You installed on Windows and not Linux 😜 Linux is a completely different maze and would love to have a full tutorial on setting up virtual environments with libraries on Linux
@xaphon_683
@xaphon_683 3 жыл бұрын
Me: watching how to install python Python Programmer: let's play the ukulele
@brianhauk5965
@brianhauk5965 4 жыл бұрын
Thank you so much for sharing this. I've been developing command line, desktop and web software over years on Linux and Windows, and have been thinking about which machine learning/ IoT project to launch into next, but have paused this development knowing python and library versioning issues could create more grief than I'm ready to deal with. Your tutorial on virtual python environments may be a game changer for me, as now I can continue development without these roadblocks derailing my efforts!
@hakonmoen3438
@hakonmoen3438 Жыл бұрын
FINNALLY!! not just another super technical "introduction" striped of high level illustration of what the topic is about. thank you for keeping it dumbed down for a set amount of time before introducing abbreviations after abbreviations
@wtpollard
@wtpollard 4 жыл бұрын
Virtual environments are, indeed, important to use when you're doing Python development. But, they are not part of "installing python" - they're part of using python. This strikes me as clickbait.
@SoorajAntony007
@SoorajAntony007 4 жыл бұрын
FINALLY! Someone called it what it is. I was hoping this guy would give me idea/hint to help optimise serverless scripts. But meh
@Tomifella
@Tomifella 4 жыл бұрын
I assume you're an experienced python programmer. I don't see it as a clickbait. It is an important part of beginner training which most trainers omit. I find this video useful
@FredMny
@FredMny 4 жыл бұрын
Well, he said to watch it before installing Python... I understand your point, but as a beginner I think it is a valid point to be presented right from the beginning.
@vingcon
@vingcon 3 жыл бұрын
@@SoorajAntony007 this was a very helpfull hint and helped me to avoid wasting even more time with some broken python projects!
@thefuecisla
@thefuecisla 2 жыл бұрын
I think you are wrong sir, because if you install Python with Anaconda it installs it under a general folder -not named after the Python version- which as a newbie makes things more complicated if you are to prepare for the futureand need to work with different Python versions. In my opinion paying attention to the folder you install Python in and naming it with the version number is a very wide decision. That only from the installation point of view. If then you add all the advice regarding virtual environment this video is GOLDEN.
@8aravindk
@8aravindk Жыл бұрын
The ukelele tutorial really helped with my ADHD, this is probably the first time in my KZfaq history I watched a KZfaq video without tuning out and rewinding. Please consider keeping it if you haven't already. Thanks
@williamguesdon400
@williamguesdon400 4 жыл бұрын
Learned it the hard way. Cloud based solutions are also good for this. Anaconda offer the possibility of setting up multiple environments as well.
@svhb1000
@svhb1000 4 жыл бұрын
Incredible how you combine Maxwell's equations, playing a ukelele during installing python!
@tj9382
@tj9382 3 жыл бұрын
Incredibly perplexing
@mikemikel1629
@mikemikel1629 2 жыл бұрын
Made it so much more interesting :)
@greenstarlover1
@greenstarlover1 3 жыл бұрын
The bit with the ukulele cracked me up. Maybe I should too bring my piano up whenever I install something X'D
@ruanerwee394
@ruanerwee394 3 жыл бұрын
I sometimes do
@meekallamer5583
@meekallamer5583 11 күн бұрын
gunna be fit
@jessonpagaduan03
@jessonpagaduan03 4 жыл бұрын
Taking your Python course in Udemy is a good decision I made toward learning data science. Thank you for sharing your passion to teach and inspiring people like myself to learn computational thinking and Python.
@jamespaz4333
@jamespaz4333 2 жыл бұрын
Hi there. Could you please mention what is the name of that course? Thank you
@fghsdfklgsnfdg
@fghsdfklgsnfdg 3 жыл бұрын
Do you save your project files corresponding to 'my_env' in 'pyproj\my_env', 'pyproj' or 'pyproj\my_env\Scripts'?
@Busterblade20
@Busterblade20 4 жыл бұрын
I thought you were going to talk about Anaconda but still was a great video, I didn't know you could create venvs without modules or conda.
@brianchandler3346
@brianchandler3346 4 жыл бұрын
The title is a bit misleading. You nailed some early frustrations when first learning Python that are not clear coming from using other package managers. I should note that virtual environments are great from a development perspective, but moving that to a deployable for systems on a network without going through pypi is still not well explained or documented, and to be frank shouldn't need to be. What I'd prefer is a simple command and clear standard to package the venv completely with the deps in it as the installable package. I think wheels is trying to fill this hole, but it still feels way more esoteric than it needs to be if not following the "put it on pypi" norm you see on tons of tutorials.
@holdingpen1551
@holdingpen1551 4 жыл бұрын
Heyyy Love from India 🇮🇳 If you happen to come to India or need a break from your routine, I will be glad to host you.
@albertgarcialopez6351
@albertgarcialopez6351 3 жыл бұрын
Came here for ukelele lessons and now I'm a software engineer somehow
@adrianstarly1
@adrianstarly1 4 жыл бұрын
Wait. I'm really interested in knowing why are Maxwell's Equations on the board.
@zetlam
@zetlam 4 жыл бұрын
These look like Heavyside electromagnetism equations. I think the ones from Maxwell were about 17 different ones. :p
@adrianstarly1
@adrianstarly1 4 жыл бұрын
Miguel José I think you are right, however the four most famous partial differential equations are the ones that we all refer to as "Maxwell Equations"
@alejandroramos9319
@alejandroramos9319 4 жыл бұрын
Didn't you listen? It is beacuse he is a physicist, and a physicist will always tell you his profession. pd: a physic's student
@jl1267
@jl1267 4 жыл бұрын
One of Maxwell's equations actually has an application in computer graphics in relation to rotation of discrete objects. As in; if a thing is rotating, it takes /time/ for it to rotate. This in turn is related to quantum mechanics and the observer effect, that you have to observe this discrete object and measure it, to know how much it has rotated. Another random math fact... The formula for finding power factor follows Pythagoras' formula.
@sirinkat2623
@sirinkat2623 4 жыл бұрын
They are beautiful...
@harpreetgaur1
@harpreetgaur1 4 жыл бұрын
OH MY GOD!!! I WAS JUST INSTALLING PYTHON AND YOU HAVE BLESSED ME!!!
@jojoTyme
@jojoTyme 4 жыл бұрын
Use miniconda , simple yet effective . Learned it hard way when most deep learning models don't have compatibility with tensorflow 2+
@meghranade5223
@meghranade5223 3 жыл бұрын
A software like Flask may only work with certain versions of python packages & not others - hence one installs Flask in a virtual env ('sandbox') with all the dependent packages. Of course, another sandbox can be created for another software. Does miniconda allow you to do such? I have no experience with it, just asking.
@JeffKempster
@JeffKempster 4 жыл бұрын
This may be obvious to most, but can you comment on this virtual environment and where you would store your actual python code files. Would it be in this "pyproj" folder or a subfolder. Would you just add git to this folder that has the python code files? And last can you talk about how you would update python to the next version with this approach? Thanks so much great video.
@dentn462
@dentn462 2 жыл бұрын
EXACTLY he helped abit bit he is not being specific about it which makes it extremely confusing
@awanturnik978
@awanturnik978 Жыл бұрын
I don't quite get it. What if I do want to use Visual Studio now? Do I connect somehow the pyver or pyproj folder to vsc? Or if I want to use vsc then should I just ignore this tutorial?
@mathew9665
@mathew9665 4 жыл бұрын
In your course - do you give directions / advise on setup from the complete beginner? It would be even better if you explain how to do this with MS Visual Studio IDE
@fadajoana
@fadajoana 2 жыл бұрын
Thank you so much for the video. I had such conflicts you mention. I was told to use anaconda instead, to manage the packages. Do you think your method is best than using anaconda? What would be the advantages/disadvantages of your method above anaconda? Thank you in advance
@anantharamaniyer9135
@anantharamaniyer9135 4 жыл бұрын
Ooooh, love the whiteboard with Maxwells equations in the background :)
@tralfazy
@tralfazy Жыл бұрын
If pip and or python aren't recognized in spite of re-installing Python over and over, try this.. Move the path variables for those up to the top of the path list. For me, there was a bad path somewhere in an old path setting that was being found first before my new path entry was found and thus the new path setting was ignored. Using the Move Up button, I moved my new path settings for Python and Python\Scripts up to the top of the list and problem solved!
@parthrajauria6520
@parthrajauria6520 4 жыл бұрын
Glad you are back. ❤️❤️
@gilesmcmullen
@gilesmcmullen 4 жыл бұрын
Thanks very much! Me too!
@parthrajauria6520
@parthrajauria6520 4 жыл бұрын
I guess you lost some kilograms
@re.liable
@re.liable 4 жыл бұрын
Thought this would be about managing multiple versions of Python in an OS (e.g. pyenv) It seemed like you want to have a completely separate installation of Python for every project to be made, potentially installing the same version several times for each project. Isn't that kind of... janky?
@hit_it_if_you_care5211
@hit_it_if_you_care5211 5 ай бұрын
Thx for the video, i did end having the issues you mention running different projects. This time i'm resetting everything and doing the right way. but i still have some questions, i was planning to install 4 different version none of them without global path set, - but it is recommended to install one with a global python? (not sure if any program is going to try to install anything in base python, i think chocolatey do but not sure?) - should i keep one with global variable so any programs that requires python to be accessed in the terminal without having to declare and activate my venv. - can i create a venv and turn this venv into my global variable, using the python in my venv\Scripts? - witch python do you recommended as the base global if needed? (i have end using this versions in my projects i have use 3.10.6 , 3.9.13 , and 3.11.3) - If a program runs in example 3.10.6 (should it work in all 3.10.x version?), are the 3rdnumber just for small updates or are this breaking points for projects and combabilities stays? i'm asking because this time i might install the latest version of each 3.9.x - 3.10.x - 3.11.x. Thanks in advance.
@pasuplateonishant4908
@pasuplateonishant4908 3 жыл бұрын
How did I not find you yet? I am a subscriber now, and also a fan of your videos. Thanks!
@shellyshell22
@shellyshell22 Жыл бұрын
This was definitely one of the pieces of the puzzle that I've been missing! Thank you so much!
@Beatsbasteln
@Beatsbasteln 3 жыл бұрын
i wish i could try what you're doing there myself but my ukulele is not even tuned correctly atm
@BrooksZurn
@BrooksZurn 2 жыл бұрын
good strategy with the ukelele for "wait times", I usually check something on the web and then forget to ever come back. An instrument provides a diversion with a limited amount of options. I'll run out of chords/song fairly quickly and then remember to get back to work.
@agritech802
@agritech802 10 ай бұрын
Thanks for this, can you still keep running in the virtual environment when it goes live or is it just for testing?
@MomirsLabTech
@MomirsLabTech 2 жыл бұрын
this was immeasurably helpful. other creators glaze over all of the finer details of setting up python and I wasnt even able to install libraries, and now i can. thank you so much for this video!
@DZX5000
@DZX5000 3 ай бұрын
omg you are 100% spot on with the dependency issues that surface !
@wagnernoise
@wagnernoise 4 жыл бұрын
Some Maxwell’s equations in the background, cool :) Cheers!
@TheDavidlloydjones
@TheDavidlloydjones 3 ай бұрын
Danger! Warniing! Danger! Warning! This video includes a maniac playing his ukulele. Enter at your own risk. Switching off your computer provides temporary protection. Reboot at your own risk.
@NeilRieck
@NeilRieck 2 жыл бұрын
Where is the best place to learn Maxwell's equations?
@reddycr4386
@reddycr4386 3 жыл бұрын
'i am getting this tree' is not recognized as an internal or external command, operable program or batch file.
@franchinyama241
@franchinyama241 4 жыл бұрын
Welcome back-- missed the videos
@downerelec4378
@downerelec4378 2 жыл бұрын
Got a question, I don't remember how I installed it last time since it was a year ago but I probably made similar mistakes that you did, I didn't set it up on my vscode either, then when I had a python file there and wanted to run coverage or similar tests, I got a wrong command error as it likely was the python problem since I had it in 3 different folders somehow. I have uninstalled it and removed from PATH including my IDEs that use it, now I wanted to reinstall it, should I do it your way then just install vscode again, somehow set it up, will it work like that or should I just default install and tick the add to path option?
@nicoquibilan3589
@nicoquibilan3589 3 жыл бұрын
Hi Newbie here! I keep getting this error whenever I try to create a path to my_env folder 'c:\Users\Name' is not recognized as an internal or external command, operable program or batch file. Can anyone please tell me how to fix this? Would really help a lot thank you!
@amtulnoor721
@amtulnoor721 3 жыл бұрын
I have the same problem, have you figured out how to fix it?
@cassondrad2280
@cassondrad2280 2 жыл бұрын
Thank you I really appreciate you providing that tip to help version control. You walked thru things and they made perfect sense and simple to do. Greatly appreciate it.
@adamkeel7728
@adamkeel7728 4 жыл бұрын
If you use a code editor instead of the command prompt do you still need to use virtual environments?
@algonte
@algonte 4 жыл бұрын
Thank you, very clarifying explanation on Python's virtual environments. The ukelele is great but I prefer the guitar. Maxwell's equations are also great but Einstein's General Relativity equations are more appealing ;-) (I don't mention Schrödinger equation because, in spite of its practical success, it is "probably" wrong :-D)
@exelrode
@exelrode 3 ай бұрын
When I followed these steps in the video and run the "python -- " command on VS code terminal, it says python is not found but on doing the same thing on windows cmd , it is showing the python version . Any idea why is that?
@1986RockSteady
@1986RockSteady Жыл бұрын
OMG! This is sooooo helpful! I have experienced the conflict issues in the past working on my own projects when first learning. Thank you!
@sadhlife
@sadhlife 3 жыл бұрын
if you wanna get even more advanced, try using pyenv and poetry for managing python versions and packages, it's comfy
@stevensmith6376
@stevensmith6376 4 ай бұрын
This was amazingly helpful. Love your sense of humor as well. Thanks so much.
@marceloherdy2379
@marceloherdy2379 3 жыл бұрын
Hello Giles, thank you so much for this video. What an amazing video! I've never saw it anywhere else.
@khloeluong755
@khloeluong755 4 жыл бұрын
yayy you're back!! Thank you for the video. Looking forward to more to come! :)
@alechewitt2347
@alechewitt2347 3 жыл бұрын
This literally happened to me, so glad I saw this
@parkerman23
@parkerman23 2 жыл бұрын
Thanks this is a very informative video but im still having trouble. for some reason im guessing this error while trying to activate 'my_env\Scripts\activate' is not recognized as an internal or external command, operable program or batch file. i also had a error when making virtual enviroment, but when i typed in 'dir' command, i could see the envitoment i made in there any help would be amazing, I have been having alot of problems with this thanks
@Amsoht
@Amsoht 27 күн бұрын
Great video, thanks! Now, if I want to use poetry to create python packages, I'd probably want to install poetry "globally". When I have multiple python versions installed (and maybe for each python version several virtual environments set up), would I need to install poetry for each python version individually (by typing e.g. C:\python-vers\py3124\Scripts\pip.exe install poetry)? Actually I tried this command but just could not find my poetry installation and how to use it... typing "poetry init" resulted in a command not found error.
@SteelerY360Nation
@SteelerY360Nation 4 жыл бұрын
Thank You. 👍🙏. I’m glad that this is now installed on my computer before I start making projects. I still have difficulty understanding VE, but it will take me some time to learn it
@klaymoon1
@klaymoon1 4 жыл бұрын
Great video. Is using environments in MS Visual Studio the same as creating virtual environments?
@markusbuchholz3518
@markusbuchholz3518 4 жыл бұрын
Virtualisation is cool however th Colab from Google is also perfect alternative to install completely nothing on PC
@Ntifragility
@Ntifragility 4 жыл бұрын
This is the BEST available option. Every begginner should take it.
@DraconaiMac
@DraconaiMac 3 жыл бұрын
Just found your channel and Im delighted. Older coder here not too excited by the newest languages but came across all the uses for Python and had a look here first. I'm grateful you did these videos. Thanks so very much!
@LeonVanDyk
@LeonVanDyk 3 жыл бұрын
Great stuff Giles, I like your whacky style - and also Maxwell's equations!
@kayinator287
@kayinator287 3 жыл бұрын
Is this still possible to do these steps even though I have already downloaded Python?
@zaza_kittyo_head
@zaza_kittyo_head 6 ай бұрын
i think yes if you uninstall python (deleting wont work, you must uninstall it manually)
@themysteriousunknownrevealed
@themysteriousunknownrevealed Жыл бұрын
My Gods, I could listen to you talk about anything! Especially if there's gonna be a ukulele break!
@chenhuang8566
@chenhuang8566 4 жыл бұрын
Hi, Giles, I am a python begnner and thanks a lot for your great advice. I've seen many of your videos about best python books you recommended and I've bought some of them including and etc.. Your playing piano and ukulele is very cool , and I love music as well even I hope to learn some music analysis ,composing, gaming by machine learning in the future if possible . Have you ever set up some projects about music?
@daverei1211
@daverei1211 3 жыл бұрын
Thanks Giles :-) Been coding python for over a year now for several projects, some application based, some POC projects. Wish I knew this before I started, would save a lot of package bloat. However just have a new PC so decided to set it up this way - brilliant:-)
@DavidsonLoops
@DavidsonLoops 3 жыл бұрын
Hi, I'm completely new to Python, I have a Mac so i haven't implemented what Giles said in the video yet but I'm a bit daunted that I don't even understand the problems people are bringing up in the comment section, like how to integrate this with anaconda, how to keep track of the venvs and the packages in each one, someone said it was confusing because they installed it to a certain drive in windows (dont understand why and dont understand its implications for Mac). Where do i even start?
@daverei1211
@daverei1211 3 жыл бұрын
@@DavidsonLoops just take your time, work on little bits and expand your skills. I’ve found googling errors can be the best ways to find solutions. And welcome to a new wonderous world where with time and persistence you will be able to do almost anything.
@DavidsonLoops
@DavidsonLoops 3 жыл бұрын
@@daverei1211 Thanks, im just gonna use anaconda for now i think. im going through Giles's python course now and then going to start with projects, any quick tips on how to think in python instead of thinking yeah i know what these different aspects of python are but dk how its relevant to the problem
@daverei1211
@daverei1211 3 жыл бұрын
@@DavidsonLoops First up, have some kind of goal, start small and build it up. Learn how to use print statements to report on the status of things (really helpful in troubleshooting). And where you find that you have a section of code that you want to call more than once, rather than duplicating that code, put it in a module and let it return at the end. Don’t be afraid to experiment, be patient with troubleshooting. Enjoy the power lists and dictionaries give you.
@romariocarvalhoneto7831
@romariocarvalhoneto7831 4 жыл бұрын
Great stuff! Thanks. But how do we keep track of the many virtualenvs and the packages in each one of them?
@rohithm681
@rohithm681 11 ай бұрын
Really regret discovering your channel so late. Absolutely love the pace at which you speak and the interludes. Nonetheless coming here to sharpen my python skills.
@Maisonier
@Maisonier Жыл бұрын
I'm still confused about CUDA, Pytorch and other stuff that is a mess... When you start using virtual environments.
@geraldknowles519
@geraldknowles519 4 жыл бұрын
That was fantastic, thank you. Just what I was looking for.
@samanthalee7109
@samanthalee7109 2 жыл бұрын
HI everyone, I would like to check that when I typed my path at 8:10, there was an error showing "No module named my_env". May I know how to fix this issue? I googled it but Im still confused with the explanation.
@adamkamarwan
@adamkamarwan 2 жыл бұрын
same problem
@bluidguy4007
@bluidguy4007 3 жыл бұрын
Thanks for this video, still in the middle of watching it but I wanted to say that in case I forget which I usually do. I've been dabbling with python for months now and I would have to say this is probably one of the biggest lapses in my self Learning Journey.
@iamstevenadam
@iamstevenadam 2 жыл бұрын
It means he solved your problem?
@jhoncharlesdf.1599
@jhoncharlesdf.1599 4 жыл бұрын
Very nice ! mi amigo, this tips it's very great, and the mixing ukulele, that wonderful, thanks for your time.
@SylvStone
@SylvStone 2 жыл бұрын
Wondering at 04:30 what about installing it on an (entirely) new pc, installing python for the first time. Do I still skip ticking to add it to PATH??
@juanseverino5651
@juanseverino5651 3 жыл бұрын
That was awesome I try all and now I can call pip with out an error in the CMD prompt. Now if you would be so kind and show how to download 2to3 to that path you make and I, It would be much appreciate. Thanks and keep them tuts coming.
@varunpro1
@varunpro1 4 жыл бұрын
Isn't installing anaconda better vs setting it straight on windows ?
@SteelerY360Nation
@SteelerY360Nation 4 жыл бұрын
Varunpreet Singh - from my understanding, you use Anaconda Navigator as a GUI in a web-like environment without having to learn command line commands using the command prompt from a computer
@BiancaAguglia
@BiancaAguglia 4 жыл бұрын
The main advantage of using anaconda is that you don't have to worry about package dependencies and compatibility. In simple terms that means that, if a library you want to install (pandas, for example) needs other libraries to work, or it needs to be a certain version to work with other libraries, anaconda will take care of that. It installs the right version of a library and installs its dependencies. Same thing when you upgrade: anaconda will also upgrade the necessary dependencies. 🙂
@RyanJohnson
@RyanJohnson 3 жыл бұрын
It would be great if you could make a version for the Mac...
@tcratius1748
@tcratius1748 4 жыл бұрын
Makes sense, never got that far with projects, totally watching later, thanks mate! :)
@mikeheitz46
@mikeheitz46 4 жыл бұрын
Great video and I learned something today! Trying to figure out how I can implement at work with dozens of Python scripts running on a remote desktop (or laptop) - we'd need the virtual environments setup on THAT machine, no? Windows machine runs all the scripts via Task Scheduler
@point1988
@point1988 2 жыл бұрын
Thank you so much. You really helped me a lot. I too am a physicist so i can appreciate maxwells equations. Liked and subscribed👍🏽
@adamkeel7728
@adamkeel7728 4 жыл бұрын
When you talk about virtual environments are they the same thing as virtual machines such as Oracle's virtul box, VMWare virtual machine and windows hyperV?
@fierydragon1249
@fierydragon1249 4 жыл бұрын
No
@groomy88
@groomy88 Жыл бұрын
Thanks for this. The ukulele segment was exceptional lol
@duelist1998
@duelist1998 3 жыл бұрын
Hi, how do I activate the created virtual environment in Visual Studio Code? my_env\Scripts\activate did not work in VSC's Terminal.
@upcom1ng116
@upcom1ng116 3 жыл бұрын
You need to nevigate to directory that has script file. If it's easier just use windows explorer to locate the scripts file.
@duelist1998
@duelist1998 3 жыл бұрын
[3 months later] Apparantly, my VSC uses Window Powershell, and PowerShell Execution Policy prevents me from activating the venv activate program. Here is what I solved: I ran Powershell with Administration right, then change the Execution Policy to RemoteSigned.
@alphenit
@alphenit 2 жыл бұрын
excellent video! What do you recommend when a newer version comes out? current version is 3.10.4 so you install it in c:\users\giles\pyver\py3104. When 3.10.5 arrives do you install it into c:\users\giles\pyver\py3105 and de-install 3.10.4 or let it be?
@DavidLopez-gs1fb
@DavidLopez-gs1fb 7 ай бұрын
"those two chords in the ukulele go well together... So, let's see if it's installed now". Pretty funny.
@Ja14111948
@Ja14111948 2 жыл бұрын
Thanks for your help; question: How can I direct any Python output to my printer in windows 10? I have an EPSON WF-3620 Series printer. Thanks very much already.
@adamsantamaria1876
@adamsantamaria1876 3 жыл бұрын
VIDEO SUMUP for those who need (please watch the video before, it is quality and fun, thanks Giles McMullen): Installing Python and developing projects using virtual environment: - 1 virtual environment for 1 project -> avoid dependencies incompatibilities between projects thanks to a "sandbox" - you can share this environement with colleague with who you collaborate STEPS TO FOLLOW: Python version installation: - create a folder for you python installations (name example: pyver) - when installing a new python version, don't add the python exe to the PATH and think to install it in the folder mentioned previously (customized install) Virtual environment creation for a project (for Windows): - create a folder for you python projects (name example: pyproj) - open a command prompt and move into it (eg: using cd command -> cd pyproj) - create the virtual environment thanks to a Python option with the following command: \your\python\path\python -m venv my_env (adapt \your\python\path\python with the path of the Python interpreter you want to use, and replace my_env by the name you want for your environment) - now you should have a my_env folder in pyproj Virtual environment activation (we are still in the pyproj folder): - launch the command my_env\Scripts\activate - the my_env environement should now be activated and mentioned at the beginning of your command prompt - if you launch the python command you can check that the python version launched is the same as the one of the interpreter used previously - if you try to import a lib it won't work because no lib has been installed in your environment yet Installing a libraty in a virtual environment: - as usual as outside an environment, use pip: pip install lib_name - you can now import the lib installed in your environment Virtual environment deactivation: - use deactivate command
@dentn462
@dentn462 2 жыл бұрын
Ok I did all of this and everything works fine but now where do I start coding 😂 cuz I want to code in my virtual environment but I do not know how to open it or where I can find it (again, got everything installed)
@JoeLee-jk3wi
@JoeLee-jk3wi 4 жыл бұрын
Great video, thanks. It would be a great help if you could do a followup video on how to package and deploy to production server once Python project is done.
@8platypus
@8platypus 2 жыл бұрын
I think it’s comparable to the difference between a DAW (digital audio workstation; abelton, logic, etc) and a plug-in (samplers, FX, synths) for music production.
@aryangautam7506
@aryangautam7506 Жыл бұрын
yes it's the same thing
@Spyder638
@Spyder638 5 ай бұрын
This is a great introduction for people who are just getting into python, but don't don't want to step into the world of Anaconda etc, which seems to add more complexity. Speaking from experience. Thanks!
@john_colter
@john_colter Жыл бұрын
Thank you for demystifying this subject. What a relief!
@abay669
@abay669 Жыл бұрын
Tnx much for the instrunctions. Do we have to go trough all the process again every time starting a new project or is there a short version? I am thinking Project 1 and 2 and so on.... tnx very much
@jamesmunroe6558
@jamesmunroe6558 Жыл бұрын
Not sure why you're recommending venv when virtualenv (a) boots faster, (b) offers support for Python 2 (if you're stuck having to support that), and (c) most importantly, allows you to cross Python versions (e.g., while running Python 3.11.4 for example, you can `virtualenv -p python3.9` to create a virtual environment running under Python 3.9).
@poopascoop4eva
@poopascoop4eva 4 жыл бұрын
Awesome - just signed up for the Udemy course !
@walterpeters3327
@walterpeters3327 Жыл бұрын
....think about you have to work on system provided by your employer, software packages were created to be installed by push portal, all setup settings preset, and you do not have any admin rights at all....
@learnerofknives
@learnerofknives 7 ай бұрын
If I've never downloaded Python before should I add it to the PATH? In another one of your videos you're quite "pro" adding it. If I do, should a directory be made like the rest of the tutorial? Sorry I'm just a bit confused... I literally have 0 idea as to what I'm doing
@robertoamarillas
@robertoamarillas Жыл бұрын
Such a practical and logical install, as it should be done mate, thanks a lot, this will help me a lot with the famous python interpreters
@edwardmacnab354
@edwardmacnab354 2 жыл бұрын
VENV hopefully doesn't require virtualization enabled because that's only available in windows 10 pro not home. Also at 3:15 you say "once you're done , launch the set up application " . Say what ? Do I type a particular key ? Mumble "launch" to Cortana ? How is this "launch" process activated ?
@MySUHIT
@MySUHIT Жыл бұрын
thanks a lot, I've followed this guide to install python, hope everything works for the better.
@dazecm
@dazecm 4 жыл бұрын
Good video. Have you considered a video on using Docker for managing Python development environment versioning?
@jordanscott1394
@jordanscott1394 4 жыл бұрын
This is great advice.. Best to get into the habit from the beginning.. Also makes it super easy to deploy to heroku and so on as you can freeze the requirements to a text file
@prem1prakash
@prem1prakash 4 жыл бұрын
Finally, a new video after a long time. I wish you had brought out this video when I was installing Python but batter late than never. By the way, nice design on shirt :-)
The Complete Guide to Python Virtual Environments!
15:52
teclado
Рет қаралды 340 М.
I've Read Over 100 Books on Python. Here are the Top 3
9:26
Python Programmer
Рет қаралды 334 М.
Joker, what is this doing?!#joker #shorts
00:31
Untitled Joker
Рет қаралды 9 МЛН
I made Games with Python for 10 Years...
28:52
DaFluffyPotato
Рет қаралды 309 М.
This Is Why Managers Don't Trust Programmers...
28:04
Thriving Technologist
Рет қаралды 245 М.
The Best Learning Tool in History - 400 years ahead of its time!
11:04
Python Programmer
Рет қаралды 438 М.
The Truth About Learning Python in 2024
9:38
Internet Made Coder
Рет қаралды 172 М.
6 Steps to Expertise  in ANYTHING - No Talent Required!
8:15
Python Programmer
Рет қаралды 483 М.
How to Install Python 3.11 and PyCharm on Windows
8:27
Koolac
Рет қаралды 69 М.
*Next-door 10x Software Engineer* [FULL]
4:50
Programmers are also human
Рет қаралды 494 М.
I forced EVERYONE to use Linux
22:59
NetworkChuck
Рет қаралды 325 М.
So, you want to be a programmer?
20:43
ForrestKnight
Рет қаралды 260 М.
How Do Hackers Crack ANY Software
5:54
CyberFlow
Рет қаралды 370 М.