Installing glob Module on Windows using Conda
If you want the installation to be done through conda, open up the Anaconda Powershell Prompt and use the below command:
conda install -c anaconda glob2
Type y for yes when prompted.
You will get a similar message once the installation is complete:
Make sure you follow the best practices for installation using conda as:
- Use an environment for installation rather than in the base environment using the below command:
conda create -n my-env conda activate my-env
Note: If your preferred method of installation is conda-forge, use the below command:
conda config --env --add channels conda-forge
How to Install glob in Python in Windows?
The Python Glob module searches all path names looking for files matching a specified pattern according to the rules dictated by the Unix shell.
In this article, we will look into, how to install the glob module on Windows.
Contact Us