At the start, when i installed python, pip was installed automatically but somehow i messed with the administrator access in windows and messed it very bad, By reading some online articles, I downloaded the get-pip.py and tried to run it with python in that same folder: python get-pip.py
But the error i get is :
Traceback (most recent call last):
File "get-pip.py", line 23484, in <module>
main()
File "get-pip.py", line 187, in main
tmpdir = tempfile.mkdtemp()
File "C:\Users\Vamsi\AppData\Local\Programs\Python\Python38-32\lib\tempfile.py", line 348, in mkdtemp
prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)
File "C:\Users\Vamsi\AppData\Local\Programs\Python\Python38-32\lib\tempfile.py", line 117, in _sanitize_params
dir = gettempdir()
File "C:\Users\Vamsi\AppData\Local\Programs\Python\Python38-32\lib\tempfile.py", line 286, in gettempdir
tempdir = _get_default_tempdir()
File "C:\Users\Vamsi\AppData\Local\Programs\Python\Python38-32\lib\tempfile.py", line 218, in _get_default_tempdir
raise FileNotFoundError(_errno.ENOENT,
FileNotFoundError: [Errno 2] No usable temporary directory found in ['C:\\Users\\Vamsi\\AppData\\Local\\Temp', 'C:\\Users\\Vamsi\\AppData\\Local\\Temp', 'C:\\Users\\Vamsi\\AppData\\Local\\Temp', 'C:\\WINDOWS\\Temp', 'c:\\temp', 'c:\\tmp', '\\temp', '\\tmp', 'C:\\Users\\Vamsi']