Skip to main content

Changing python version in gitpod

I have always had this problem modifying using a particular version of python on gitpod. Until I knew this simple trick to switch between the python versions.



If you have not heard of gitpod its time for you to use it as running code online instead of local machine helps you when you have a CPU intensive processes and there are a lot of free to use online web apps that enable you to start with using powerful CPU and extends to GPU and TPU as well. I will be sharing a blog post soon on all the free tools you could use to boost up your productivity.

So if you are already using gitpod and want to switch between python versions its simpler than you think

Run this to check all the python versions available:   pyenv versions

So to install a new version of python you simply have to run this:  pyenv install 3.7.6 (Or whatever version you want)

That will basically download and install. Now you need to make sure to configure it for the existing workspace, to do that you simply have to run this: pyenv local 3.7.6 Same version as you downloaded.

Now you are all set yo use that specific version of python. You are free to download any number of versions and you can simply switch between them using the  local command. 

Feel free to let me know if you have any additional questions in the comments below

For more details check - Gitpod - Documentation

Comments

Popular posts from this blog

Reasons not to buy Akaso action camera if you are from india

Recently I made a full review of the action camera I brought after doing a ton of research and time. Having used it for a couple of months I feel extremely glad that it meets up to my expectations. But recently, I accidentally tipped off the camera without an external case and it cracked my lens. This, in turn, added a shady spot on my phone or video and I cannot use that anymore (Some phones of the cracked lens below)     I immediately mailed the akaso team to ask if there is anything they could do but unfortunately, this was their response. Oops, that was not what I was expecting and then I asked them I could get any details of the replacement parts or anything like that so that I can order it online. But that didn't happen it took a lot of time for them to respond me back(I have been bugging them on Facebook and email).  But after some time they left me with this response which I had no other choice but to accept. After getting the 50%re...

ExtJs installation

Firstly you need to download and unzip the ExtJs framework downloaded from sencha website. once you are done then you need to download the sencha cmd -  DOWNLOAD LINK Install sencha cmd and then allow the installation to create a path variable during the installation. now add  "C:\Users\ ::change to your directory name:: \bin\Sencha\Cmd" to PATH variable in user variables. Check whether sencha command is accessible from your command prompt globally You are all set to starting a new project with ExtJs ! :) 

Facebook Whitehat

Have you ever wondered that Facebook provides you some test accounts in case if you are trying to find some bugs are attempting to attacks on some personal accounts. So its quiet interesting, lets take a look at them now just login to your Facebook account.. and then go to this link.. Facebook whitehat Then you may find out 4 sections in the page 1-Info            This basically provides you all the security related issues for Facebook and even provides you the opportunity to report the posts that are against the terms and conditions and violating the security issues.. Here are some links that might be important.. In case of any hacked accounts :  Hacking reports Abuse reports :  Report abuse 2-Thanks                The names are those who reported Facebook some bugs and helped Facebook for making their security issues more strong 3-Report a Security vulnerability     ...