How to install Python module, explained in two steps

There are multiple modules available for python. Most of the modules are open source. These modules provide great features to use. Before using any module its necessary to install them on python. This article covers How to install Python module, explained in two steps. We will use pip install command to install modules in Python.

Emma wants to use Tensorflow module on python. As she runs import command she gets an error.

Tensorflow Installation

Below are the 2 steps to solve the problem:

  • Step 1: Open Anaconda Prompt Application in system.
Tensorflow Installation 2

Step 2: Run the below command:

Pip install tensorflow

Tensorflow Installation 4
Tensorflow Installation 5

And following the above steps Emma is able to import Tensorflow in her system.

Tensorflow Installation 6

Another example of module installation:

Emma while working found another module that she liked. She is looking to install Theano module in python.

Theano Module Installation 1
To get top certifications in Python and build your resume visit here. Also, you can read books listed here to build strong knowledge around Python.

Below are the steps to install Theano on python:

Step 1: Launching Anaconda App on windows system.

Theano Module Installation 2

Step 2: Running the below command to initiate installation:

Pip install theanos

Theano Module Installation 4

Again Emma is able to import Theanos in her system.

Theano Module Installation

As we can see installation of module in python is straightforward. Please try adding new modules on python and reach us out in case of any challenges. Also if you are new on python and have not installed python yet in your system please refer this link.

📬 Stay Ahead in Data Science & AI – Subscribe to Newsletter!

  • 🎯 Interview Series: Curated questions and answers for freshers and experienced candidates.
  • 📊 Data Science for All: Simplified articles on key concepts, accessible to all levels.
  • 🤖 Generative AI for All: Easy explanations on Generative AI trends transforming industries.

💡 Why Subscribe? Gain expert insights, stay ahead of trends, and prepare with confidence for your next interview.

👉 Subscribe here:

Related Posts