close

How to install the ‘glob’ module?

Hello Guys, How are you all? Hope You all Are Fine. Today We Are Going To learn about How to install the ‘glob’ module in Python. So Here I am Explain to you all the possible Methods here.

Without wasting your time, Let’s start This Article.

How to install the ‘glob’ module?

  1. How to install the 'glob' module?

    For Python 3, there is no glob3.
    So use:
    sudo pip3 install glob2

  2. install the 'glob' module

    For Python 3, there is no glob3.
    So use:
    sudo pip3 install glob2

Method 1

For python 2.7:

pip install glob2

For python 3.7:

pip3 install glob2

Method 2

For Python 3, there is no glob3.

So use:

sudo pip3 install glob2

Summery

It’s all About this issue. Hope all Methods helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which Method worked for you? Thank You.

Also, Read