Could not build wheels for gdal, which is required to install pyproject.toml-based projects
时间: 2023-10-12 14:04:58 浏览: 1047
这个错误提示是由于无法构建gdal所需的wheels导致的。为了解决这个问题,有几个方法可以尝试:
方法1: 使用清华大学的pip源安装gdal
您可以尝试使用以下命令使用清华大学的pip源安装gdal:
```
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple gdal
```
这将使用清华大学的pip源来下载并安装gdal,可能会解决构建wheels的问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [python安装第三方库报错(Failed building wheel for 库名)](https://blog.csdn.net/qq_40434461/article/details/128297846)[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: 50%"]
- *2* [用pip安装GDAL时出错解决办法](https://blog.csdn.net/qq_38316655/article/details/105697886)[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: 50%"]
[ .reference_list ]
阅读全文