pip 提示 did not provide a command

pip 提示 did not provide a command
此时下面两个命令都是可以的,判断是由于其他程序阻塞了pip的环境变量
pip.exe --version
pip3 --version
首先检查pip在哪

where pip
C:\strawberry\perl\bin\pip
C:\strawberry\perl\bin\pip.bat
C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\Scripts\pip.exe

解决方案: 卸载strawberry软件或者使用pip.exe执行相关命令

你可能感兴趣的:(pip 提示 did not provide a command)