Ok try:
Elevated command prompt (search for ‘cmd’ right-click- ‘run as administrator’)
python -m pip install anvil-uplink
you might have multiple versions of python installed, and pip may be installing it under the incorrect PATH
python -m
usually fixes this, but not always
mine is installed already obviously so it just tells me it is already installed.