pip install https://github.com/mraardvark/pyupdi/archive/master.zip
pip : The term ‘pip’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
I’m assuming you want to install PyUPDI within the isolated Python environment that PlatformIO uses.
For that, open a PlatformIO CLI and then execute the pip install https://github.com/mraardvark/pyupdi/archive/master.zip command.
If that still doesn’t work, talk to the Python interpreter executable directly. Execute pio system info and copy the value of Python Executable then copy-paste that and do
I got a message to inform me there’s a newer version of pip, so updated using the command:
pip install --upgrade pip
but it didn’t go well as described below. Have I messed it up and if so how would I correct things?
just to note I have admin rights on the machine. (WIN 10)
thanks
Paul
WARNING: You are using pip version 20.3.3; however, version 21.0.1 is available.
You should consider upgrading via the ‘c:\users\paul.platformio\penv\scripts\python.exe -m pip install --upgrade pip’ command.
PS C:\Users\Paul\Documents\PlatformIO\Projects\USART-Example-4809> pip install --upgrade pip
Requirement already satisfied: pip in c:\users\paul.platformio\penv\lib\site-packages (20.3.3)
Collecting pip
Downloading pip-21.0.1-py3-none-any.whl (1.5 MB)
|████████████████████████████████| 1.5 MB 2.2 MB/s
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 20.3.3
Uninstalling pip-20.3.3:
Successfully uninstalled pip-20.3.3
ERROR: Could not install packages due to an EnvironmentError: [WinError 5] Access is denied: ‘C:\Users\Paul\AppData\Local\Temp\pip-uninstall-bxgwayqv\pip.exe’
Consider using the --user option or check the permissions.
MIght be intentional because its in own pyenv…? I’d rather let PlatformIO’s pip version be in peace.
But also note that you are talking to your system PIP here, and not PlatformIO’s pip when you executed pip install --upgrade pip. The full command above