Something is strange here.
Can do eg.
Can go into register(
Of course both this work and use corrct pip,if can not get pip alone to for some strange reason.
Can do eg.
G:\div_code λ where pip C:\python311\Scripts\pip.exe G:\div_code λ pip -V pip 23.1.2 from C:\python311\Lib\site-packages\pip (python 3.11)Thern just delete the wrong Path in file system,and see if update to correct path to pip.
Can go into register(
regedit
) and look if it is correct there.# System HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session # User HKEY_CURRENT_USER\EnvironmentBoth is under key
Path --> REG_EXPAND_SZ
Of course both this work and use corrct pip,if can not get pip alone to for some strange reason.
py -m pip install lxml python -m pip install lxml