Install Python and PyCharm on Windows 11

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey guys in this video i'm going to show you how you can download and install and use pycharm ide on your windows 11 operating system so pycharm ide is one of the most popular ides for developing python based applications so let's see how we can install it so before installing pycharm ide you need to have python installed on your windows 11 operating system so first of all we are going to check whether your windows 11 operating system already have a previous version of python or not for this you can just open your search bar and search for cmd or command prompt and then open the command prompt and then you just need to type python here okay when you type python and when you press enter and if it opens uh this microsoft store so you can see on microsoft store the latest version which is available is python 3.9 but we are not going to install python using this microsoft store so when you type python and it doesn't show any uh repo or terminal for a python then python is most probably not installed on your windows operating system so let's see how we can install python so close your command prompt and then open your favorite browser and search for python download and the first link which will appear here will be from python.org forward slash download so i'm going to click on this link and then straight away on the main download page you will see this download python 3.10 at the time of making this video python 3.10 is the latest version of python available you can also see the previous versions of python here so as we have seen microsoft store was showing us the version 3.9 but the latest version at the time of making this video is 3.10 right so i always trust and recommend to download the python from the official website right so once you are on the download page click on this download python button here which just going to download the python 3.10 exe file you can see this file is downloaded so i'm going to click on this exe file and then i'm going to minimize my browser so now on this first window there are few important things to note so the first thing here is python will be installed at this path on your windows 11 operating system right now what i prefer generally is to install python directly in my c directory and not on this long path so instead of clicking on this install now button i always click on customize installation button but first of all you need to also check this check box which says add python whatever version of python you are installing to path what this is going to do is it's going to add the python binary path in your environmental variable on your windows 11 operating system which is going to help you to run python from the command prompt right i'm also going to show you how you can manually set this but just check this checkbox and then click on customize installation and here just leave everything as default and then click on next and on the next window you can see the advanced options right so if you want to install python for all the users you can check this checkbox and if you want to download the debugging symbols and debug binaries you can also check these check boxes so it's going to also download all the debugging symbols and binaries so it will make your debugging easier right now in the customize installation you can see this location is provided i generally as i said prefer to download python on my c drive directly so i generally create this folder which is called python and then whatever the version i'm installing so i'm installing version 3.10 so i generally name the folder python310 right if i'm installing the version python 3.9 then i will name this folder python39 okay and then i'm going to click on install which is going to install python and in between you will see this warning which says do you want to allow this app to make changes on your device i trust this app so i will click on yes here and then it's going to start the installation process of python on my windows 11 operating system so just wait for this process to complete so now in the end i will see this window which says setup was successful you also have this option disable path length limit which you can do later also i'm not going to click on this option and then i'm going to click on the close button button and once you do that python is successfully installed on your windows 11 operating system so now let's check first on command prompt if python command is working or not so i'm going to just search for cmd once again and then open the command prompt and once command prompt is open i'm going to just type python space hyphen hyphen version okay and then press enter which is going to show you the version of python you have on your windows 11 operating system so we have installed python 3.10 so that's why it's showing us the version of python python also comes with python package manager which is called pip you can also check the version of pip here so i'm going to just write pip version and then press enter and it's going to show me the version of pip which is installed for python right so you can see pip 21.2.3 is installed for python 3.10 on my windows 11 operating system also when i type python here and then press enter here it's going to open the python repel repel stands for read eval print loop which in simple terms is going to help you to just type your command and then get the result at the same terminal so let's say i just type 5 plus 5 and then press enter it's going to just add these two numbers and give me the sum of these two numbers i can also write print here and then in the brackets i can just type hello space world here and then close the bracket and then press enter it's going to print hello world so print is nothing but an inbuilt function in python which is going to help us to print strings and other values right so everything is working fine now in case you don't see uh this python version when you type python version command here then your environmental variable for python is not set so in that case what you can do in that case just go to the location where you have installed python in my case i have installed python in my c drive and if you remember i have installed python in this directory which is called python 310 go inside that directory so this is the folder where all your python related files are available right so for now i'm going to minimize this window and what you need to do is you need to set the python environment variable on your windows 11 operating system so what you can do here is you can just write edit e and v and it's going to show you this result which says edit environment variable for your account i'm going to click on this option which is going to open this window if you don't see edit environment variable for your account result then you can open control panel also so this is the long way of reaching to the same point so just open control panel then view by category then click on system and security then click on system and then once system window opens under system you will be able to see advanced system settings so just click on advanced system settings and once this window opens you need to click on the environment variables so once you click on this it's going to open the same window right so you can see the same window is opened okay so you can directly search for environment variables uh window or you can just navigate it using control panel now here when you click on the path here so just click on path environment variable and then click on edit you will see that this path is added by python installer on your windows 11 operating system so if this path is not available see a colon python 310 or whatever directory you have for your python installation then you need to add that directory manually okay so if you don't see any uh thing related to python in the environment variables then you just need to copy this path like this and then add it you can add it by just clicking on new or just double clicking on this line here and then just paste your path which is essentially the same path which is added by python for me right but if it's not present you can do that also okay so once you you do that you can just click on ok and then click on ok and then click on ok and close everything and then python command is going to work using the command prompt also on your windows 11 operating system and once you have python installed on your windows 11 operating system you are ready to install pycharm ide so for installing pycharm you just need to open your favorite browser and search for pycharm and the first link which will appear here will be from jetbrains.com forward slash pycharm so jetprince is a company which makes pycharm it also makes different ides so just click on this link i'm going to put this link in the description of this video also and straight away you will be able to see the download button at the top and you can see the download button here so you can click any of these buttons and here on the next page you will be able to see two versions one is the professional version and other is the community version so professional version have more features than the community version but for developing simple and straightforward python based applications you just need the community version so i'm going to download the community version by clicking on the download button here and it's going to start the download of this pycharm community.exe file so just wait for the download to complete so once this exe file is downloaded i'm going to click on this file and i'm going to minimize my browser just going to start the installation process for pycharm ide so first of all you will see uh this window which says do you want to uh allow this app to make changes on your device i trust this app so i'm going to click on yes here and now you can see the pycharm community edition setup has been started so here just click on next and this will be the default location where pycharm ide will be installed on your windows 11 operating system if you want to change this location click on browse and select the location and once you are done click on next and here on the next window you will see the installation options so i generally select this check box which says create desktop shortcut which is going to create a desktop shortcut for me and i can also select update path variables which will require the restart right so if you want to add the bin folder to your path then you can select this checkbox also i'm going to skip this for now but i will recommend you to just check this checkbox you can also select create association with dot py files and then add open folder as project in context menu also let me click on next button and then click on install which is going to start the installation process of pycharm on my windows 11 operating system so at this point i just need to wait for this progress bar to reach to the 100 mark you can also click on the show details button which is going to show you all the details what's happening in the process of installation of your pycharm ide and once the installation of pycharm is finished you will see this kind of window here you can check this checkbox which says run pycharm community addition and then click on finish which is going to launch your pycharm ide also you can see the desktop icon has been created on my windows 11 desktop so from the next time you can click on the shortcut and then open your pycharm ide now for the first time when you start pycharm ide it's going to ask you if you want to import any settings from the previous installation i don't have any previous installation of pycharm so i will just leave it as default which is do not import settings and then click on ok which is going to start the pycharm ide and you can see now pycharma ide has been started so you can see this window here in order to create a new project you can click on the new project here and also you can customize your pycharm installation by clicking on the customize section here so let's create a new python project using this pycharm ide so i'm going to click on the new project button which is going to show me this window here i can give the name to my project default name is python project i can change it to let's say hello world here and then you can choose the environment so i want to create this project using virtual n you also have the option to choose pip and so i'm going to leave it as default and then this will be the location of that environment and then you can also select your interpreter right so as i have mentioned you need to have python installed on your windows operating system in order to use pycharm to develop your python project so you can see i have pre-installed this python that's why pycharm has detected the python uh executable on my windows 11 operating system and it's showing me this option if you don't have python then you will not see this option so i will recommend you to install python first and then install pycharm i'm going to just click on create which is going to create a new project for me and when pycharm ide starts it always gives you these tips so you can read them and then click on close and you can see my project has been created and this project have one file right now which is called main.py file and you can see pycharm has also created a sample python program for me inside this main dot py file right so in order to run this main dot py file i can just right click here and then click on run file in python console which is going to run this python file in the python console so you can see it has opened the python console and the output is printed here so basically we were printing high pi charm here which is printed here okay so this is basically a python function and we are calling the python function inside the main method so this is like calling a main method in other languages like java or c plus plus also from the next time you can see uh this run main button so when you press this button it's going to run your python file or you can click on the debug button so you can uh just create a breakpoint here and then run the debug button and it's going to uh you know run your python file in the debug mode so this is how you can download and install and use pycharm on your windows 11 operating system i hope you've enjoyed this video and i will see you in the next video
Info
Channel: ProgrammingKnowledge2
Views: 113,598
Rating: undefined out of 5
Keywords: Install PyCharm, How to Install PyCharm on Windows 11 20.04, How to Install PyCharm on Windows 11 and Other Windows 11, Step-by-step - PyCharm IDE Windows 11 20.04 Installation, How to Install PyCharm on Windows 11, How to Install PyCharm on Debian 10, How to install Intellij IDEA, PyCharm, WebStorm on Kali Windows 11, Install PyCharm Pro on Windows 11, How to install Pycharm on Parrot os
Id: mO6ONGkQk9Y
Channel Id: undefined
Length: 17min 18sec (1038 seconds)
Published: Mon Jan 17 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.