The situation: I'm trying to install pyside on a project using the PyCharm IDE, however it says that it does not support python 3.5 that is installed by default on ubuntu 16.04. It does support python 2.7, however I'd rather not start a new project using python 2. 12 hours ago venv will usually install the most recent version of Python that you have available. If you have multiple versions of Python on your system, you can select a specific Python version by running python3 or whichever version you want. If you are using Ubuntu 16.10 or newer, then you can easily install Python 3.6 with the following commands: $ sudo apt-get update $ sudo apt-get install python3.6 If you’re using another version of Ubuntu (e.g. The latest LTS release) or you want to use a more current Python, we recommend using the deadsnakes PPA to install Python 3.8.
Install OpenCV 3.4.4 Step 0: Select OpenCV version to install echo 'OpenCV installation by learnOpenCV.com' #Specify OpenCV version cvVersion='3.4.4' We are also going to clean build directories and create installation directory. # Clean build directories rm -rf opencv/build rm -rf opencvcontrib/build. See full list on github.com.
- Related Questions & Answers
- Selected Reading
Python is a general-purpose interpreted, interactive, object-oriented, and high-level programming language. It was created by Guido van Rossum during 1985- 1990. Like Perl, Python source code is also available under the GNU General Public License (GPL).This article describes “How to install Python on Ubuntu”
Installing Required Packages
To install python, it should require prerequisites as shown below-
The sample output should be like this –
To install supportive libraries, use the following command –
The output should be like this –
Downloading Python
To download python use the following commands-
The sample output should be like this –
Now extract the downloaded package as shown below-
Development
Compiling Python Source
To compile Python source, use the following command –
Install Python 3.6
The sample output should be like this –
use altinstall to prevent replacing the default python binary file /usr/bin/python as shown below –
The sample output should be like this –
To check the Python version, use the following command –
Install Python 3.4 Ubuntu Installer
The sample output should be like this –
Install Python 3.4 Ubuntu 14.04
Congratulations! Now, you know “How to Install Python 3.4.4 on Ubuntu”. We’ll learn more commands in our next Linux post. Keep reading!