
python
文章平均质量分 54
killvirus007
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
AttributeError: module ‘cv2‘ has no attribute ‘gapi_wip_gst_GStreamerPipeline‘
python3.7.6 调用from moviepy.editor import VideoFileClip,出现AttributeError: module ‘cv2‘ has no attribute ‘gapi_wip_gst_GStreamerPipeline‘原创 2022-08-10 09:36:48 · 5632 阅读 · 0 评论 -
Anaconda3 安装 Python库,出现No module named的问题
Anaconda3 安装 Python库,出现No module named的问题系统:windows10 64位Python和 Anaconda版本:Python 3.7.6 (default, Jan 8 2020, 20:23:39) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32编辑器:Sublime Text 3.21 卸载直接Python3.5后,安装python3.7.0-amd64,为了一键安装...原创 2021-05-21 17:54:52 · 5758 阅读 · 0 评论 -
出现:“resize.cpp:4044: error: (-215) ssize.width > 0 && ssize.height > 0 in function cv::resize ”的问题之一
最近编写一段程序用到感知哈希算法def classify_pHash(image1,image2): image1 = cv2.resize(image1,(32,32)) image2 = cv2.resize(image2,(32,32)) gray1 = cv2.cvtColor(image1,cv2.COLOR_BGR2GRAY) gray2 = cv2....原创 2019-10-24 09:03:50 · 1531 阅读 · 0 评论 -
一箭双雕解决python3.5下type_string()不能输出中文字符和windows7下pyperclip.paste()不能 粘贴问题
系统:Windows7 1.问题: 最近编写一个向某个程序窗口输出中文字的小程序,费了一翻周折。原来的基本思路是使用PyUserInput库(中的pykeyboard)向窗口发送中文字符,但是在调试过程发现PyKeyboard().type_string ("中文“)这样的语句根本不能发送成功,运行后光标处无中文字符出现。如果用英文,数字都可以发送成功。...原创 2019-04-24 17:04:34 · 3676 阅读 · 3 评论 -
pip install 出现Consider using the `--user` option or check the permissions.
使用pip install 安装库时出现提出EROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: 'c:\\program files\\python35\\Lib\\site-packages\\goto.py'Consider using the `--user...原创 2019-04-25 15:35:33 · 18149 阅读 · 6 评论 -
aircv不能读取中文路径文件名的解决方法( 错误提示 raise RuntimeError("file: '%s' not exists" % filename))
前序aircv是codeskyblue 基于python-opencv2在https://github.com/NetEaseGame/aircv提交的库,是一款基于Python-opencv2的目标定位。codeskyblue于2017年4月24日最后一次更新支持opencv3。我个人很喜欢这个库,可以实现从一张图中找出局部特征图,可以找多图。用法示例importaircva...原创 2019-06-04 11:51:10 · 3821 阅读 · 1 评论