
安装教程以及Bug解决

本专栏主要解决计算机网络相关的问题,包括安装的图文教程,以及在安装或者运行程序过程中遇到的各种疑难bug。仅【学生身份】且【在读状态】可向博主申请免费查看资格。
优惠卷已抵扣
余额抵扣
还需支付
¥29.90
¥99.00
购买须知?
本专栏为图文内容,最终完结不会低于15篇文章。
订阅专栏,享有专栏所有文章阅读权限。
本专栏为虚拟产品,一经付款概不退款,敬请谅解。
一个处女座的程序猿
人工智能硕博生,拥有十多项发明专利(6项)和软件著作权(9项),多个国家级证书(2个国三级、3个国四级),先后获得国内外“人工智能算法”竞赛(包括国家级、省市级等,一等奖5项、二等奖4项、三等奖2项)相关证书十多个,以上均以第一作者身份,并拥有省市校级个人荣誉证书十多项。正在撰写《人工智算法最新实战》一书,目前已37万字。
展开
-
Python绘图之matplotlib基础教程:利用matplotlib绘制热图并对横坐标重新设置,并按照指定显示的字符串可视化(比如将012改为ABC)
Python绘图基础教程:利用matplotlib绘制热图并对横坐标重新设置,并按照指定显示的字符串可视化(比如将012改为ABC)目录利用matplotlib绘制热图并对横坐标重新设置,并按照指定显示的字符串可视化(比如将012改为ABC)存在问题添加核心代码实现结果显示利用matplotlib绘制热图并对横坐标重新设置,并按照指定显示的字符串可视化(比如将012改为ABC)存在问题横坐标、纵坐标数据默认均是从0开始,想要改为自定义的字符显示原创 2022-04-11 23:15:00 · 986 阅读 · 0 评论 -
成功解决AttributeError: predict_proba is not available when probability=False
成功解决AttributeError: predict_proba is not available when probability=False目录解决问题解决思路解决方法解决问题raise AttributeError("predict_proba is not available when "AttributeError: predict_proba is not available when probability=False解..原创 2022-03-19 23:39:07 · 1439 阅读 · 0 评论 -
成功解决ValueError: feature_names mismatch: [‘f0‘, ‘f1‘, ‘f2‘, ‘f3‘, ‘f4‘] expected f3, f1, f2, f0, f4
成功解决ValueError: feature_names mismatch: ['f0', 'f1', 'f2', 'f3', 'f4'] expected f3, f1, f2, f0, f4目录解决问题解决思路解决方法T1、修改函数T2、升级版本解决问题ValueError: feature_names mismatch: ['f0', 'f1', 'f2', 'f3', 'f4']expected f3, f1, f2, f0, f.原创 2022-03-19 19:14:08 · 3275 阅读 · 0 评论 -
成功解决ValueError: Data is not binary and pos_label is not specified
成功解决ValueError: Data is not binary and pos_label is not specified目录解决问题解决思路解决方法解决问题raise ValueError("Data is not binary and pos_label is not specified")ValueError: Data is not binary and pos_label is not specified解决思路原创 2022-03-19 17:50:27 · 1403 阅读 · 0 评论 -
成功解决ValueError: pos_label=1 is not a valid label: array([‘0‘, ‘1‘], dtype=‘<U1‘)
成功解决ValueError: pos_label=1 is not a valid label: array(['0', '1'], dtype='<U1')目录解决问题解决思路解决方法解决问题ValueError: pos_label=1 is not a valid label: array(['0', '1'], dtype='<U1')解决思路值错误:pos_label=1不是有效的标签:数组(['0','1'],原创 2022-03-19 17:36:27 · 1537 阅读 · 1 评论 -
成功解决raise AttributeError(“Parent variable ‘%s‘ is not the index of entity %s“ % (parent_variable, p
成功解决raise AttributeError("Parent variable '%s' is not the index of entity %s" % (parent_variable, parent_variable.entity))目录解决问题解决思路解决方法解决问题raise AttributeError("Parent variable '%s' is not the index of entity %s" % (parent_variab原创 2022-03-13 23:59:43 · 2934 阅读 · 1 评论 -
成功解决RecursionError: maximum recursion depth exceeded
成功解决RecursionError: maximum recursion depth exceeded目录解决问题解决思路解决方法解决问题在程序pyinstaller打包的时候,遇到递归错误,RecursionError: maximum recursion depth exceeded解决思路递归错误:超过最大递归深度解决方法直接修改默认的最大递归深度即可!第一步,在py对应的spec文件内添加以下代码...原创 2022-02-20 12:25:54 · 1862 阅读 · 0 评论 -
成功解决ValueError: DataFrame.dtypes for data must be int, float or bool.Did not expect the data types
成功解决ValueError: DataFrame.dtypes for data must be int, float or bool.Did not expect the data types in fieldsdatetime64[ns]_col目录解决问题解决思路解决方法解决问题ValueError: DataFrame.dtypes for data must be int, float or bool.Did not expect ..原创 2022-01-03 16:39:38 · 3066 阅读 · 1 评论 -
TypeError: ‘method‘ object is not subscriptable
TypeError: 'method' object is not subscriptable目录解决问题解决思路解决方法解决问题TypeError: 'method' object is not subscriptable解决思路类型错误:“方法”对象不可subscriptable,意思是你不该有下标的地方用了下标解决方法将data_frame.replace['女','男']改为data_fr原创 2021-12-19 10:46:10 · 1623 阅读 · 1 评论 -
成功解决ERROR: Could not find a version that satisfies the requirement xgboost (from versions: none) ERR
成功解决ERROR: Could not find a version that satisfies the requirement xgboost (from versions: none) ERROR: No matching distribution found for xgboost解决问题Could not fetch URL https://pypi.tuna.tsinghua.edu.cn/simple/xgboost/: There was a problem confirm原创 2021-12-15 23:39:16 · 8103 阅读 · 0 评论 -
成功解决raise AssertionError(“Torch not compiled with CUDA enabled“)AssertionError: Torch not compiled
成功解决raise AssertionError("Torch not compiled with CUDA enabled")AssertionError: Torch not compiled with CUDA enabled目录解决问题解决思路解决方法解决问题 File "F:\File_Anaconda\project_py37\envs\lib\site-packages\torch\cuda\__init__.py", line 208, i.原创 2021-12-11 22:41:00 · 3792 阅读 · 0 评论 -
成功解决ImportError: Something is wrong with the numpy installation. While importing we detected an olde
成功解决ImportError: Something is wrong with the numpy installation. While importing we detected an olde目录解决问题解决思路解决方法解决问题ImportError: Something is wrong with the numpy installation. While importing we detected an older version of n原创 2021-12-11 21:12:09 · 1359 阅读 · 0 评论 -
成功解决CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate‘.If u
成功解决CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'. If using 'conda activate' from a batch script, change your目录解决问题解决思路解决方法解决问题CommandNotFoundError: Your shell has not been properly configured to use原创 2021-12-07 23:02:53 · 3191 阅读 · 0 评论 -
成功解决keras库中出现AttributeError: ‘str‘ object has no attribute ‘decode‘
成功解决keras库中出现AttributeError: 'str' object has no attribute 'decode'目录解决问题解决思路解决方法解决问题AttributeError: 'str' object has no attribute 'decode'解决思路“str”对象没有“decode”属性解决方法本bug出现在keras保存或调用h5模型/hdf5模型的时候,因为本身h5文件没有原创 2021-12-07 22:57:49 · 1665 阅读 · 1 评论 -
成功解决If your current network has https://www.anaconda.com blocked, please filea support request with
成功解决If your current network has https://www.anaconda.com blocked, please filea support request with目录解决问题解决思路解决方法解决问题Collecting package metadata (current_repodata.json): failedCondaHTTPError: HTTP 000 CONNECTION FAILED for原创 2021-12-06 22:32:15 · 3077 阅读 · 0 评论 -
成功解决Collecting package metadata (current_repodata.json): failedCondaHTTPError: HTTP 000 CONNECTION
成功解决Collecting package metadata (current_repodata.json): failedCondaHTTPError: HTTP 000 CONNECTION目录解决问题解决思路解决方法解决问题Collecting package metadata (current_repodata.json): failedCondaHTTPError: HTTP 000 CONNECTION FAILED for url &l..原创 2021-12-06 21:42:53 · 4748 阅读 · 0 评论 -
成功解决 params, model_params = config_reader()config_reader KeyError: ‘param‘
成功解决 params, model_params = config_reader()config_reader KeyError: 'param'目录解决问题解决思路解决方法解决问题params, model_params = config_reader()config_reader param = config['param'] File "E:\Program Files\Python\Python36\lib\site-pac...原创 2021-12-01 21:52:43 · 1364 阅读 · 0 评论 -
成功解决AttributeError: ‘NoneType‘ object has no attribute ‘shape‘
成功解决AttributeError: 'NoneType' object has no attribute 'shape'目录解决问题解决思路解决方法解决问题multiplier = [x * model_params['boxsize'] / input_image.shape[0] for x in params['scale_search']]AttributeError: 'NoneType' object has no attribute原创 2021-12-01 21:47:46 · 3799 阅读 · 0 评论 -
成功解决 AttributeError: module ‘keras.engine.topology‘ has no attribute ‘load_weights_from_hdf5_group_b
成功解决 AttributeError: module 'keras.engine.topology' has no attribute 'load_weights_from_hdf5_group_by_name'目录解决问题解决思路解决方法解决问题AttributeError: module 'keras.engine.topology' has no attribute 'load_weights_from_hdf5_group_by_name'原创 2021-12-01 21:45:31 · 2628 阅读 · 0 评论 -
成功解决AttributeError: module ‘dask.array.numpy_compat‘ has no attribute ‘take_along_axis‘
成功解决AttributeError: module 'dask.array.numpy_compat' has no attribute 'take_along_axis'目录解决问题解决思路解决方法T1、numpy会更新至numpy-1.19.5T2、手动更新解决问题import dask.array as da File "E:\Program Files\Python\Python36\lib\site-packages\da..原创 2021-12-01 21:43:19 · 2142 阅读 · 0 评论 -
成功解决ValueError: numpy.ufunc size changed, may indicate binary incompatibility. Expected 216 from C h
成功解决ValueError: numpy.ufunc size changed, may indicate binary incompatibility. Expected 216 from C header, got 192 from PyObject目录解决问题解决思路解决方法解决问题 from skimage.measure import find_contours File "E:\Program Files\Python\Pyth...原创 2021-12-01 21:39:10 · 1922 阅读 · 0 评论 -
成功解决AttributeError: module ‘skimage‘ has no attribute ‘io‘
成功解决AttributeError: module 'skimage' has no attribute 'io'目录解决问题解决思路解决方法解决问题AttributeError: module 'skimage' has no attribute 'io'解决思路模块“skimage”没有属性“io”解决方法版本问题导致函数使用方法有所改变!将 import skimage filename=...原创 2021-11-30 22:01:06 · 7924 阅读 · 0 评论 -
成功解决 “this version of pandas is incompatible with numpy < 1.15.4\n“ImportError: this version of pand
成功解决 "this version of pandas is incompatible with numpy < 1.15.4\n"ImportError: this version of pandas is incompatible with numpy < 1.15.4 your numpy version is 1.15.1.目录解决问题解决思路解决方法T1、降低pandas去匹配numpyT2、升高numpy去匹配pandas..原创 2021-11-30 21:57:49 · 2107 阅读 · 0 评论 -
Python编程语言学习:在根目录的py文件内调用某叶目录文件内的包/库或者函数(常用在GUI编程)之详细攻略
Python编程语言学习:在根目录的py文件内调用某叶目录文件内的包/库或者函数(常用在GUI编程)之详细攻略目录在根目录的py文件内调用某叶目录文件内的包/库或者函数之详细攻略T1、导入当前包T2、采用if判断在根目录的py文件内调用某叶目录文件内的包/库或者函数之详细攻略T1、导入当前包T1.1、直接加载当前路径(自动获取路径)T1.2、手动添加绝对路径T1、导入当前包T1.1、直接加载当前路径(自动获取路径) impor原创 2021-11-30 21:49:22 · 990 阅读 · 0 评论 -
成功解决运行tensorflow时ModuleNotFoundError: No module named ‘numpy.core._multiarray_umath‘
成功解决运行tensorflow时ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'目录解决问题解决思路解决方法解决问题运行tensorflow时ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'解决思路模块未找到错误:没有命名为'numpy.core._multiarr原创 2021-11-30 21:41:52 · 1037 阅读 · 0 评论 -
Python之youtube_dl:youtube_dl库的简介、安装、使用方法之详细攻略
Python之youtube_dl:youtube_dl库的简介、安装、使用方法之详细攻略目录youtube_dl库的简介youtube_dl库的安装youtube_dl库的使用方法1、基础使用方法youtube_dl库的简介 它是一款开源免费但功能强大的视频下载工具。youtube_dl库是利用命令行程序下载视频从YouTube.com和其他视频网站。youtube-dl 虽然名字带有 Youtube,但实际上可以支持许多视频网...原创 2021-11-28 13:03:35 · 2953 阅读 · 0 评论 -
成功解决ERROR: Could not build wheels for bottleneck, which is required to install pyproject.toml-based
成功解决ERROR: Could not build wheels for bottleneck, which is required to install pyproject.toml-based projects目录解决问题解决思路解决方法解决问题 error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": http.原创 2021-11-28 12:35:10 · 19662 阅读 · 2 评论 -
成功解决tensorflow.python.framework.errors_impl.UnimplementedError: Cast string to int32 is not supporte
成功解决tensorflow.python.framework.errors_impl.UnimplementedError: Cast string to int32 is not supported解决问题Done training -- epoch limit reachedTraceback (most recent call last): File coord.join(threads) File "E:\Program Files\Python\Pyth原创 2021-11-20 05:59:30 · 2576 阅读 · 0 评论 -
成功解决Ignoring invalid distribution -yqt5
成功解决Ignoring invalid distribution -yqt5目录解决问题解决思路解决方法解决问题Ignoring invalid distribution -yqt5解决思路忽略无效的分发-yqt5解决方法带有~波浪号的文件夹,大多都是存在问题或者破损的临时文件夹,直接删除前缀带有“波浪号”的文件哈哈,大功告成!...原创 2021-11-18 21:45:53 · 2408 阅读 · 0 评论 -
成功解决sub_div.insert(points)cv2.error: OpenCV(3.4.1) C:\projects\opencv-python\opencv\modules\imgproc
成功解决sub_div.insert(points)cv2.error: OpenCV(3.4.1) C:\projects\opencv-python\opencv\modules\imgproc\src\subdivision2d.cpp:288: error: (-211) in function cv::Subdiv2D::locate目录解决问题解决思路解决方法解决问题 src_img = tran_src(src_img, src_p...原创 2021-11-17 23:17:34 · 3171 阅读 · 0 评论 -
成功解决WARNING: Ignoring invalid distribution -illow (E:\program files\python\python36\lib\site-package
成功解决WARNING: Ignoring invalid distribution -illow (E:\program files\python\python36\lib\site-package目录解决问题解决思路解决方法解决问题WARNING: Ignoring invalid distribution -illow (E:\program files\python\python36\lib\site-package解决思路原创 2021-11-15 23:34:53 · 2349 阅读 · 0 评论 -
成功解决Future Warning: The sklearn.neighbors.dist_metrics module is deprecated in version 0.22 and wil
成功解决Future Warning: The sklearn.neighbors.dist_metrics module is deprecated in version 0.22 and wil目录解决问题解决思路解决方法解决问题Future Warning: The sklearn.neighbors.dist_metrics module is deprecated in version 0.22 and will be removed .原创 2021-11-15 23:15:50 · 1556 阅读 · 0 评论 -
成功解决pywintypes.com_error: (-2147352573, ‘找不到成员。‘, None, None)
成功解决pywintypes.com_error: (-2147352573, '找不到成员。', None, None)目录解决问题解决思路解决方法解决问题pywintypes.com_error: (-2147352573, '找不到成员。', None, None)解决思路pywintypes.com错误 (-2147352573, '找不到成员。', None, None)解决方法pyttsx3版本有问题,更原创 2021-11-15 01:37:43 · 2598 阅读 · 3 评论 -
成功解决import win32api, sys, osImportError: DLL load failed: 找不到指定的模块。
成功解决import win32api, sys, osImportError: DLL load failed: 找不到指定的模块。目录解决问题解决思路解决方法解决问题import win32api, sys, osImportError: DLL load failed: 找不到指定的模块。解决思路导入win32api、sys、os导入错误:DLL加载失败:找不到指定的模块。解决方法重新更新一.原创 2021-11-15 01:01:27 · 1780 阅读 · 0 评论 -
成功解决Fatal error in launcher: Unable to create process using ‘“f:\program files\python\python36\pytho
成功解决Fatal error in launcher: Unable to create process using '"f:\program files\python\python36\python.exe" "E:\Program Files\Python\Python36\Scripts\pip.exe" '目录解决问题解决思路解决方法解决问题Fatal error in launcher: Unable to create process usin.原创 2021-11-15 00:56:34 · 3959 阅读 · 0 评论 -
成功解决安装cuda的时候,下载的文件自动消失,并且出现An unknown error has occurred
成功解决安装cuda的时候,下载的文件自动消失,并且出现An unknown error has occurred.目录解决问题解决思路解决方法解决问题安装cuda的时候,下载的文件自动消失,并且出现An unknown error has occurred.解决思路发生未知错误。解决方法很可能是因为当前电脑下载的cuda版本不适合当前电脑GPU支持的cuda版本!推荐文章:CV:Win1..原创 2021-11-14 19:23:18 · 1996 阅读 · 1 评论 -
成功解决 RecoveryYour PC/Device needs to be repairedThe Boot c onfiguration Data for your PC is missin
成功解决 RecoveryYour PC/Device needs to be repairedThe Boot c onfiguration Data for your PC is missin目录解决问题解决思路解决方法解决问题RecoveryYour PC/Device needs to be repairedThe Boot c onfiguration Data for your PC is missing or con.原创 2021-11-14 13:26:44 · 3597 阅读 · 1 评论 -
成功解决Exception “unhandled ModuleNotFoundError“No module named ‘sklearn.neighbors.classification‘
成功解决Exception "unhandled ModuleNotFoundError" No module named 'sklearn.neighbors.classification'目录解决问题解决思路解决方法解决问题Exception "unhandled ModuleNotFoundError" No module named 'sklearn.neighbors.classification'解决思路异常“未处理的模块.原创 2021-11-10 01:14:47 · 2041 阅读 · 0 评论 -
成功解决Exception “unhandled ModuleNotFoundError“No module named ‘face_recognition.cli‘
成功解决Exception "unhandled ModuleNotFoundError"No module named 'face_recognition.cli'目录解决问题解决思路解决方法经过查询,发现版本过高降低版本解决问题Exception "unhandled ModuleNotFoundError"No module named 'face_recognition.cli'解决思路异常“未处理的模块未找到错误”没有名为“f原创 2021-11-10 01:12:31 · 1456 阅读 · 0 评论 -
成功解决Building wheel for dlib (setup.py) ... error ERROR: Command errored out with exit status 1:
成功解决Building wheel for dlib (setup.py) ... error ERROR: Command errored out with exit status 1:目录解决问题解决思路解决方法第一步,先安装dlib第二步,再安装face_recognition解决问题Building wheel for dlib (setup.py) ... error ERROR: Command errored out wi..原创 2021-11-10 01:09:47 · 4381 阅读 · 5 评论