我正在尝试使用python为我的PC安装GoogleAssistant。我是Python编码的初学者。因此,我基本上是使用来自各个站点的说明。 (esp-https://www.lifewire.com/google-assistant-on-windows-4628292)
我尝试通过以下方式更新python版本 “ python -m pip install --upgrade pip。”
error: [WinError 2] The system cannot find the file specified
----------------------------------------
*ERROR: Command errored out with exit status 1: 'C:\Users\S K CHOUDHARY\AppData\Local\Programs\Python\Python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\S K CHOUDHARY\\AppData\\Local\\Temp\\pip-install-gr2pj17q\\grpcio\\setup.py'"'"'; __file__='"'"'C:\\Users\\S K CHOUDHARY\\AppData\\Local\\Temp\\pip-install-gr2pj17q\\grpcio\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\S K CHOUDHARY\AppData\Local\Temp\pip-record-n9m9wxyy\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output.
上述错误是什么意思?我该如何解决?
警告:
WARNING: You are using pip version 19.2.3, however version 19.3.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
C:\WINDOWS\system32>
C:\WINDOWS\system32>python -m pip install --upgrade pip
Requirement already up-to-date: pip in c:\program files\python37\lib\site-packages (19.3.1)
请查看警告。它说我应该拥有19.3.1版本,但是在运行升级时,同样的cmd显示我已经在使用最新版本19.3.1。这怎么可能?
我面临很多困惑。任何人都可以为初学者推荐一些网站,以便在PC上安装GoogleAssistant。我已经尝试过Github,但无法理解它。