使用pip install安装 whl 文件出现 is not a supported wheel on this platform 解决办法

报错提示

ERROR: rasterio-1.1.8-cp39-cp39-win_amd64.whl is not a supported wheel on this platform.

在这里插入图片描述
原因是 本地python版本与 whl 的版本不匹配

查看本地版本是 3.7.6,而我的安装包需要的是3.9版本的,所以报错了
在这里插入图片描述
到 https://www.lfd.uci.edu/~gohlke/pythonlibs/ 这里下载与自己版本对应的包再安装即可

你可能感兴趣的:(Python)