![]() You may go to File -> Settings -> Project ->Project Interpreter and click on the setting icon and choose to add. ![]() But in case you want to create the virtual env based on this interpreter. Now you may use this global python interpreter for the project. Now once you have done to step 3, Restart the Pycharm and select the desired interpreter in Run -> Edit Configurations inside Pycharm IDE. Especially while installing from window installer, It will show you the option to set the path automatically with the installation. There is a dedicated tutorial on how to install python in you Opearting System. In case the desire interpreter is not available. All you need to select one of them if they are available at Run time Configuration in Pycharm ( Hint Run -> Edit Configurations). It will show you the name and path of the Interpreter which are already configured. Refer to the above diagram, Here click on the drop-down of the Project Interpreter row ( Where the No Interpreter is mention). How to change python version in pycharm step 1 In order to check it, Go to –įile -> Settings -> Project ->Project Interpreter ![]() Suppose if you have Python 3.7 but you need a virtual env in pycharm for 2.7 base interpreter. Check if you already have that version interpreter of Python pre-installed. ![]() Steps to change python version in pycharm- Step 1 : If you are looking for how to change the python version in P圜harm? I think this article is just for you. Especially when your IDE is Pycharm everything is quite easy. Obviously, there can be a situation where you have to change the interpreter version for the program run. I guess most of us are aware of the fact that syntax in Python 2.x series are a little different than the Python 3.x series.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |