Hello Guys, How are you all? Hope You all Are Fine. Today I am trying to install the package but I got a warning message in my terminal. WARNING: Ignoring invalid distribution in Python. So Here I am Explain to you all the possible solutions here.
Without wasting your time, Let’s start This Article to Solve This Error.
How WARNING: Ignoring invalid distribution Error Occurs ?
I am trying to install the package but I got a warning message on my terminal.
WARNING: Ignoring invalid distribution -django (c:\users\ssc\appdata\roaming\python\python37\site-packages)
How To Solve WARNING: Ignoring invalid distribution Error ?
- How To Solve WARNING: Ignoring invalid distribution Error ?
To Solve WARNING: Ignoring invalid distribution you just have to delete the folder where you got this error. Suppose I got an error in my Django package. delete this folder from following path.
Solution 1: delete the folder
First of all, delete the folder where you got this error. Suppose I got an error in my django package. delete this folder from following path.
c:\users\myusername\appdata\roaming\python\python37\site-packages\django
then this error will go away when using pip. You can then reinstall it again with pip if you decide that you need it. Obviously, make sure nothing is in that folder that you’ve changed before you do this.
Summery
It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?
Also, Read