Posts

Showing posts with the label Switch




How to Switch Which Version of Python I Am Using

Image
Type python --version python version will be changed to python 35x. Type python --version or python -V and press Enter. How To Change Python Version In Pycharm Only 4 Steps Now default python executable can be changed by. . Open bashrc file and add new alias to change your default python executable. Type in your root password. The script will be the same for Windows macOS and Linux. To check which Python version is running you can use either the sys or the platform module. Type terminal click on the terminal app. To switch between any versions we can use the following command. Execute this command to switch to python 36. The x stands for the revision level and could change as new releases come out. So the alternative 1 will be 36 and alternative 2 37. Import sys print sysversion And youll get. Click the upper left symbol. Conda create -n py36 python36 anaconda then you can just switch betw...