Skip to content
Related Articles

Related Articles

How to Install Twisted in Linux?

View Discussion
Improve Article
Save Article
  • Last Updated : 31 Jan, 2022
View Discussion
Improve Article
Save Article

Twisted is an asynchronous networking framework developed in Python language. The twisted package works on various Operating Systems like Windows, Linux, and macOS. It supports different types of modules like twisted.web, twisted.conch, twisted.mail, twisted.names, etc. In this article, we will look into, how to install the Twisted framework on a Linux Operating System.


Installing Python-Twisted package on Linux using PIP

To install the Python-Twisted package in Linux we have to follow the following steps:

Step 1: First of all, we will install Python3 on our Linux Machine. Use the following command in the terminal to install the latest version of Python3.

sudo apt-get install python3


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

sudo apt install python3-pip


Step 3: Now, install the Python-Twisted package with the help of the following command.

sudo pip3 install Twisted


sudo apt install python-twisted


Verifying Python-Twisted package Installation on Linux using PIP

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

python3 -m pip show Twisted

You’ll get the below message if the installation is complete successfully:


My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!