Shapely-1.7.1-cp38-cp38-win_amd64.whl is not a supported wheel on this platform.
pip install "paddleocr>=2.0.1"
Windows执行此命令行安装Shapely失败
解决方法:
官网:Archived: Python Extension Packages for Windows - Christoph Gohlke (uci.edu)
一、首先参考博文,官网下载相应的.whl文件安装: whl文件安装方法_寒幕小怪的博客-CSDN博客_whl文件怎么安装
安装失败,错误提示:ERROR: Shapely-1.8.2-cp39-cp39m-win32.whl is not a supported wheel on this platform.
时发现解决不了问题。
错误提示:WARNING: Requirement ‘Shapely-1.8.2-cp39-cp39m-win32.whl’ looks like a filename, but the file does not exist
ERROR: Shapely-1.8.2-cp39-cp39m-win32.whl is not a supported wheel on this platform.
最终解决方案:
在上述官网:Archived: Python Extension Packages for Windows - Christoph Gohlke (uci.edu)
下载多个.whl文件,挨个在anaconda中执行
`(paddle_env) C:\Users\12162\Desktop>pip install Shapely-1.8.2-cp38-cp38-win_amd64.whl`
命令,提示失败就换一个版本安装,试了几次找到了合适的版本。
(paddle_env) C:\Users\12162\Desktop>pip install Shapely-1.8.2-cp38-cp38-win_amd64.whl
Processing c:\users\12162\desktop\shapely-1.8.2-cp38-cp38-win_amd64.whl
Installing collected packages: Shapely
Successfully installed Shapely-1.8.2