我无法在命令行上访问“C:\Program Files (x86)\Python37-32\Scripts”的内容,但我已将其配置为用户路径。
当我使用 Pip 安装 Python 包时,我收到一条警告消息,指出包的安装位置不在我的 PATH 上。所以我添加了 C:\Program Files (x86)\Python37-32\Scripts 作为名称 PythonScripts 下的路径。
WARNING: The script f2py.exe is installed in 'C:\Program Files (x86)\Python37-32\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
当我尝试运行位于 Python37-32\Scripts 文件夹中的文件(如 pip.exe)时,出现未找到该程序的错误。
pip.exe : The term 'pip.exe' is not recognized as the name of a cmdlet, function, script file, or operable program. Che
ck 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
+ pip.exe
+ ~~~~~~~
+ CategoryInfo : ObjectNotFound: (pip.exe:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException