Python
慢-慢
快乐就好
展开
-
使用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/ 这里下载与自己版本对应的包再安装即可...原创 2020-11-12 15:27:03 · 6797 阅读 · 4 评论 -
python :alpha shapes 算法检测边界点
def alpha_shape_2D(data, radius): """ alpha shapes 算法检测边缘 :param x: 原始点坐标集 x轴 :param y: 原始点坐标集 y轴 :param radius: 圆半径 :return: 边缘点集 """ x = data.x y = data.y count = len(x) i = 0 temp_i = i edge_x = []原创 2020-11-09 11:04:02 · 7507 阅读 · 8 评论 -
Python 格式化输出 【% 和 format 】
python基础_格式化输出(%用法和format用法)原创 2020-09-11 15:20:55 · 90 阅读 · 0 评论 -
python中的正则表达式(re模块)
python中的正则表达式(re模块)原创 2020-09-09 16:11:23 · 75 阅读 · 0 评论