How to Install ‘Python-VPython’ package on Linux?
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
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
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
Step 3: Using the following command we install the VPython package:
sudo pip3 install vpython
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.