Skip to main content

Installing Python3 in Ubuntu

A brief introduction on Python:
Python is a high-level and versatile programming language. It is fun loving language and uses easy lines of code. It is created by Guido van Rossum and first released in 1991, Python is now programmer's choice. While writing this post python 3.6.1 is the current version of the language.

Today, I am going to show you how to install and configure python on Ubuntu machine. I am installing python 3.6.1 on Ubuntu 17.04 with an Internet connection.

Installing Python3.6.1:
Here, I am going to show you how to install python3.6.1 from terminal (command-line). To open terminal, type "terminal" on the top left search box or press ALT+CTRL+T simultaneously on your keyboard to open it.
Ubuntu 17.04 ships with both Python3 and Python2 pre-installed. To make sure that our versions are up-to-date, run update and upgrade using apt-get.
















Once the process is complete, we can check the version of python on your machine. Type python3 -V on the terminal to check its version.







Now, install python package pip.

Once python3 is installed, run pyhton3 from terminal.


Comments

Popular posts from this blog

How to increase VRAM in VMware

When you get poor graphics performance in VMware, you need to increase vram to get better graphics. To increase graphics value, you need to edit .vmx file of your Guest OS. Goto, VMware folder or to the Guest OS folder to find .vmx file. Once you get that file, open it with a text editor. Click to zoom this Image Depending on the type of VRAM, change the value for your Guest OS. Click to zoom this Image Click to zoom this Image Once you change the value of VRAM (please check above screenshot of VRAM values from 16MB to 512MB). Save the file and exit and then check the Graphics performance of your Guest OS. Click to zoom this Image You are Done. For more details, please check the knowledge-base of VMware website. Link: https://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&externalId=1003

Fix Apache error in xampp

After Installing xampp (on windows), if you get "Apache" won't start then here the guideline you need to check. Click to zoom this image Please check the error log. Here, port 443 is taken by VMWare daemon. Either you have to change this port no. in VMWare or assigned a different port no. for Apache in xampp. I have tried to change port no. in VMWare. Click to zoom this image Click to zoom this image Open VMWare Workstation. Goto Edit and then click on Preferences . Click to zoom this image Now click on Shared VMs on the left window pane and then click on Change Settings button. Click to zoom this image On the next pop-up window, click on Disable Sharing, HTTPS box will active to change port number. Click to zoom this image Now change its port number other than 443 and click on OK button and close VMWare Workstation. Click to zoom this image Now open xampp and click Start button to run Apache services. You are do...

T-Shirt Design in Photoshop CC 2017