I am trying to install a package and pip throws an error-
ERROR: Invalid requirement: '#'
I have tried reinstalling pip, updating it and downgrading it. Nothing works.
Note- I am doing this on jupyter notebook
Turns out I was installing the library like this-
!pip install pandas #If not already installed
Removing the commented part helped. The error arose due to the hashtag symbol where the comment starts.