Skip to content
Related Articles

Related Articles

How to Install ‘Python-VPython’ package on Linux?

View Discussion
Improve Article
Save Article
  • Last Updated : 14 Feb, 2022

VPython package in python makes it easy to construct passable 3D displays and animations, even for those with limited programming experience. Because it is based on Python3, it also has much to offer for experienced programmers and researchers. This package permits users to create objects such as spheres and cones in 3D space and displays these objects in a window. So, in this article, we will be installing the VPython package on Linux operating system using Python-Pip

Installing VPython package on Linux using PIP

Requirements:

  1. Python3
  2. Python3-pip

To install the VPython package in Linux follow the following steps:

Step 1: Install the latest version of Python3 on Linux Machine using the following command in the terminal:

sudo apt-get install python3

Install-the-latest-version-of-Python

Step 2: Now, using the following command we install the pip module which is required to install and manage all the packages of Python3:

sudo apt install python3-pip

Installing-pip

Step 3: Using the following command we install the VPython package:

sudo pip3 install vpython

Install-the-VPython-package

Verifying VPython package installation on Linux using PIP

To verify if the VPython package has been successfully installed in your system run the below command in Terminal:

python3 -m pip show vpython

You’ll get the following output if the installation is completed successfully in your system.

Verifying-VPython-package-installation

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!