WARNING: The script f2py.exe is installed in 'C:\Users\89169\AppData\Roaming\Python\Python310\Scripts' which is not on PATH.
时间: 2023-08-27 16:17:11 浏览: 289
这个警告提示是因为安装的脚本所在的路径没有添加到系统的PATH环境变量中,导致在命令行中找不到相应的脚本。通过将脚本所在的路径添加到PATH环境变量中,可以解决这个问题。另外,可以尝试使用--no-warn-script-location选项来强制压下这个警告。
参考资料中提到了两种解决方法。一种是在系统变量中新建一个PYTHONPATH变量,将值设置为脚本所在的路径,例如C:\Users\xxx\AppData\Roaming\Python\Python3x\site-packages。另一种方法是使用--no-warn-script-location选项,可以通过添加环境变量的方式来实现。你可以按照参考资料中的步骤进行操作,解决这个问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [WARNING: The script markdown_py.exe is installed in......](https://blog.csdn.net/silent1cat/article/details/120193220)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [WARNING: The script locust.exe is installed in ‘C:\Users\liuyuan39\AppData\Roaming\Python\Python38\](https://blog.csdn.net/veryly/article/details/115399617)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [记录:python问题-WARNING: The script jsonschema.exe is installed in ‘盘符‘ which is not on PATH.](https://blog.csdn.net/meiyoushenmedabuliao/article/details/115561477)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文