Skip to content Skip to sidebar Skip to footer

Typeerror: 'module' Object Is Not Callable Error Running Pip Install Selenium

I have a fresh installation for Python on my PC. To reproduce the issue, I open the command prompt and executed the command: pip install selenium I am seeing the following error:

Solution 1:

this fiexed it:

python -m pip install selenium --user

Solution 2:

This error message...

TypeError: 'module'object is not callable

...implies that the program was unable to locate pip.exe with in your system.

From the image it is pretty clear that Python is installed in D: drive while you were trying to access it from C: drive.

Factually, it doesn't matters where ever you install Python within your system as long as you know where it is at and preferably the path is in your system path. You can use the following command to locate the site packages e.g. pip install

import site
print(site.getsitepackages())

However, to keep things simple you need to install Python in it's default location and add the path to the system path. Then you can easily run:

pip install selenium

Post a Comment for "Typeerror: 'module' Object Is Not Callable Error Running Pip Install Selenium"