cant install module named certifi

1.8k Views Asked by At

i tried to use this command in cmd to install module certifi:

pip install certifi

But it throws some warning like this:

WARNING: Ignoring invalid distribution -ip (c:\python39\lib\site-packages)

How can i fix it and install certifi ? (Python 3.9.6 )

2

There are 2 best solutions below

0
On

go to directory of site package and remove all files that start with tilde ~ and there is a problem with the package named ip

6
On

Manually delete the following folder:

c:\python39\lib\site-packages\ip

And every file that starts with ~ and try again