
安装教程以及Bug解决
文章平均质量分 53
本专栏主要解决计算机网络相关的问题,包括安装的图文教程,以及在安装或者运行程序过程中遇到的各种疑难bug。仅【学生身份】且【在读状态】可向博主申请免费查看资格。
优惠券已抵扣
余额抵扣
还需支付
¥29.90
¥99.90
购买须知?
本专栏为图文内容,最终完结不会低于15篇文章。
订阅专栏,享有专栏所有文章阅读权限。
本专栏为虚拟商品,基于网络商品和虚拟商品的性质和特征,专栏一经购买无正当理由不予退款,不支持升级,敬请谅解。
一个处女座的程序猿
2025年初博主2本新书(机器学习耗时5年/大模型耗时3年)即将开售!人工智能硕学历,拥有十多项发专利(6项)和软著(9项),包括国际期刊SCI内多篇论文,多个国家级证书(2个国三级、3个国四级),曾获国内外“人工智能算法”竞赛(包括国家级省市级等,一等奖5项、二等奖4项、三等奖2项)证书十多项,以上均第一作者身份,并拥有省市校级个人荣誉证书十多项。目前也是国内知名博主,连续3年获CSDN十大博客之星,荣获达摩院评测官、阿里社区/CSDN/华为社区等十多个开发者社区专家博主荣誉,曾受邀阿里/华为/谷歌等社区采访-评审-论坛几十次。截止2022年,AI领域粉丝超100万,文章阅读量超5000万
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
成功解决ModuleNotFoundError: Could not import module ‘BloomPreTrainedModel‘. Are this object‘s requireme
成功解决ModuleNotFoundError: Could not import module 'BloomPreTrainedModel'. Are this object's requirements defined correctly?目录解决问题解决思路解决方法解决问题llamafactory-cli export examples/merge_lora/qwen25_7b_lora_sft_merge.yamlTraceback (most recent原创 2025-05-25 23:32:14 · 1009 阅读 · 0 评论 -
成功解决Python的pip在C盘中占空间较大的文件?
成功解决Python的pip在C盘中占空间较大的文件?目录解决问题解决思路解决方法解决问题经过筛选大文件,发现下述文件占存储比较大,C:\Users\99386\AppData\Local\pip\cache\http-v2\f\3\b\8\7f3b871af25062e862a52b30ae661236c5b9a11f9c30d4fcdce45440df3b871af25062e862a52b30ae661236c5b9a11f9c30d4fcdce45440d.body原创 2025-03-03 22:49:49 · 1192 阅读 · 0 评论 -
安装Eric7之成功解决ImportError: DLL load failed while importing Qsci 找不到指定的程序
安装Eric7之成功解决ImportError: DLL load failed while importing Qsci 找不到指定的程序目录解决问题解决思路解决方法解决问题Traceback (most recent call last): File "D:\ProgramData\eric7-24.12\install.py", line 2430, in main(sys.argv) File "D:\ProgramData\e原创 2024-12-25 23:59:43 · 1600 阅读 · 0 评论 -
成功解决pip list为什么会出现系统中所有conda环境的依赖包,而不是指定某个conda环境的依赖包
成功解决pip list为什么会出现系统中所有conda环境的依赖包,而不是指定某个conda环境的依赖包目录解决问题解决思路解决方法解决问题pip list出现系统中所有conda环境的依赖包,而不是指定某个conda环境下的依赖包解决思路出现这种情况的原因可能是因为你没有正确激活指定的 Conda 环境。当 Conda 环境没有正确激活时,pip list 会列出系统默认的 Python 环境中的所有包,而不是你想要的特定环境中的包。解决方法1、激原创 2024-12-25 23:21:25 · 1241 阅读 · 0 评论 -
成功解决This application failed to start because it could not find or load the Qt platform plugin “windo
成功解决This application failed to start because it could not find or load the Qt platform plugin “windows” in "!Reinstalling the application may fix this problem.目录解决问题解决思路解决方法解决问题This application failed to start because it could not find or原创 2024-12-25 23:17:56 · 2075 阅读 · 0 评论 -
成功解决ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C he
成功解决ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject目录解决问题解决思路解决方法解决问题File "D:\ProgramData\Anaconda3\Lib\site-packages\pandas\__init__.py", line 22, in f原创 2024-12-13 23:58:17 · 3990 阅读 · 1 评论 -
成功解决throws for invalid file formatValueError: invalid literal for int() with base 10: ‘the‘
成功解决throws for invalid file formatValueError: invalid literal for int() with base 10: 'the'目录解决问题解决思路解决方法解决问题Traceback (most recent call last): File "E:\File_Python\Python_Books\Python_Books_LLMs\一、大语言模型的发展史\1.1.6、代码实战\111111111.py", l原创 2024-10-22 22:31:58 · 951 阅读 · 0 评论 -
成功解决将txt文档中的所有的换行符\n替换为实际的回车换行操作
成功解决将txt文档中的所有的换行符\n替换为实际的回车换行操作目录解决问题解决方法解决问题将txt文档中的所有的换行符\n,按照行回车操作,即执行实际的回车换行操作解决方法在word文档中,ctrl+H 快捷键,选项:\n替换为:^p全部替换即可实现!原创 2024-10-20 23:57:48 · 7220 阅读 · 0 评论 -
成功解决llama_cpp_for_codeshell-master\common\common.cpp(1106,55): error C2059: 语法错误:“)”\build\common\co
成功解决llama_cpp_for_codeshell-master\common\common.cpp(1106,55): error C2059: 语法错误:“)”\build\common\common.vcxproj目录解决问题解决思路解决方法解决问题[E:\File_Python\Python_NLP\codeshell-main\llama_cpp_for_codeshell-master\build\common\common.vcxproj] sampling.原创 2024-10-17 23:33:14 · 1181 阅读 · 0 评论 -
成功解决The server encountered an internal error and was unable to complete your request. Either the ser
成功解决The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application目录解决问题解决思路解决方法解决问题500原创 2024-10-17 02:59:50 · 2676 阅读 · 0 评论 -
Pycharm:pycharm工具使用技巧之成功解决pycharm软件中按住Ctrl+点击指定函数却不能跳转到对应库中的源代码
成功解决pycharm软件中按住Ctrl+点击指定函数却不能跳转到对应库中的源代码目录解决问题解决方法解决问题在pycharm软件中按住Ctrl+点击指定函数却不能跳转到对应库中的源代码解决方法原创 2024-10-17 23:30:49 · 1837 阅读 · 0 评论 -
成功解决Windows桌面点击底部工具栏一直卡住没反应
成功解决Windows桌面点击底部工具栏一直卡住没反应目录解决问题解决方法解决问题Windows桌面点击底部工具栏一直卡住没反应解决方法T1、Ctrl+Alt+Del打开任务管理器→进程→关闭Windows资源管理器T2、cmd命令重启taskkill /f /im explorer.exe & explorer.exe原创 2024-10-17 02:59:10 · 1348 阅读 · 0 评论 -
成功解决win11系统升级后指纹识别的触摸指纹传感器设置无反应(图文教程)
成功解决win11系统升级后指纹识别的触摸指纹传感器设置无反应(图文教程)目录解决问题解决思路解决方法解决问题win11系统升级后指纹识别的触摸指纹传感器设置无反应解决思路指纹传感器设置无反应,如果系统升级前可用,系统升级后不可用,那么,一般都是驱动程序不兼容导致的问题。解决方法T1、重新安装驱动程序如果更新驱动程序未解决问题,尝试卸载指纹传感器驱动程序,然后重新安装。您可以在设备管理器中右键单击指纹传感器,选择“卸载设备”,然后重新启动计算机。T2、更新驱动原创 2024-10-17 02:58:40 · 4203 阅读 · 0 评论 -
成功解决module ‘zhipuai‘ has no attribute ‘model_api‘
成功解决module 'zhipuai' has no attribute 'model_api'目录解决问题解决思路解决方法解决问题module 'zhipuai' has no attribute 'model_api'解决思路模块“zhipuai”没有“model_api”函数解决方法官方API文档地址:智谱AI开放平台1、查询文档根据文档提示,可知调用 charglm-3 时,需要使用 1.0.7 版本或更低版本的 SDKimport zhipu原创 2024-10-17 02:57:55 · 1455 阅读 · 0 评论 -
成功解决在window下执行python脚本命令,路径为中文时报乱码错误浜斻€丩LMs鐨勫井璋冧笌鎺ㄧ悊閮ㄧ讲瀹炴垬妗堜緥\5.4銆佸熀浜嶨LM-4妯″瀷瀹炴垬\5.4.1銆佸井璋冨疄鎴榎data\c
成功解决在window下执行python脚本命令,路径为中文时报乱码错误浜斻€丩LMs鐨勫井璋冧笌鎺ㄧ悊閮ㄧ讲瀹炴垬妗堜緥\5.4銆佸熀浜嶨LM-4妯″瀷瀹炴垬\5.4.1銆佸井璋冨疄鎴榎data\convert_to_chatml.py': [Errno 2] No such file or directory目录解决问题解决思路解决方法解决问题在window下执行python脚本命令,路径为中文时报乱码错误python: can't open file 'E:\Fi原创 2024-10-13 23:22:06 · 1121 阅读 · 0 评论 -
成功解决Address already in use Port 6006 is in use by another program. Either identify and stop that pro
成功解决Address already in use Port 6006 is in use by another program. Either identify and stop that program, or start the server with a different port.目录解决问题解决思路解决方法解决问题Address already in use Port 6006 is in use by another program. Either iden原创 2024-10-13 23:15:49 · 1302 阅读 · 0 评论 -
成功解决get_value(*key, takeable=self._takeable) TypeError: _get_value() missing 1 required positional a
成功解决get_value(*key, takeable=self._takeable) TypeError: _get_value() missing 1 required positional argument: 'col'目录解决问题解决思路解决方法解决问题File "E:\File_Python\Python_Books\Python_Books_DS_ML\Chapter_2_DataPlots\2D_Plot.py", line 161, in pcpl原创 2024-08-23 23:35:57 · 1691 阅读 · 1 评论 -
成功解决AssertionError: Timestamps must be monotonically increasing, got 2024-06-28T16:07:31.185238+00:0
成功解决AssertionError: Timestamps must be monotonically increasing, got 2024-06-28T16:07:31.185238+00:00 > 如果使用外部库管理时间戳,可以在每次调用时增加一些微秒,以确保时间戳是唯一且递增的。根据错误信息,问题出在时间戳没有单调递增,这意味着两个相同的时间戳被记录在日志中。>> 确保每个消息的时间戳是唯一的。原创 2024-06-29 00:21:57 · 1483 阅读 · 0 评论 -
成功解决TypeError: __call__() got an unexpected keyword argument ‘first_int‘
成功解决TypeError: __call__() got an unexpected keyword argument 'first_int'目录解决问题解决思路解决方法解决问题result = multiply(**arguments)File "D:\ProgramData\Anaconda3\Lib\site-packages\langchain_core\_api\deprecation.py", line 168, in warning_emitti原创 2024-06-28 01:42:04 · 1647 阅读 · 0 评论 -
成功解决name ‘round_up‘ is not defined
成功解决name 'round_up' is not defined目录解决问题解决思路解决方法解决问题name 'round_up' is not defined解决思路'round_up'函数没有定义解决方法官方地址:GitHub - OpenBMB/cpm_kernelscpm_kernels的whl下载地址:Links for cpm-kernelscpm_kernels 提供了在 NVIDIA GPU 上运行的 CUDA 内核,这些内核专门为 CPM原创 2023-12-21 22:08:31 · 1323 阅读 · 0 评论 -
成功解决No module named ‘huggingface_hub.inference._text_generation‘
成功解决No module named 'huggingface_hub.inference._text_generation'目录解决问题解决思路解决方法解决问题No module named 'huggingface_hub.inference._text_generation'解决思路没有名为'huggingface_hub.inference._text_generation'的模块解决方法相关地址:Hugging Face Integration Failur原创 2024-05-12 14:39:05 · 2849 阅读 · 1 评论 -
成功解决SHAP库中的离奇bug—Exception: The passed Explanation object has multiple columns, please pass a single
带有 X_data 参数的 shap.TreeExplainer 方法将使用指定的 X_data 数据集来解释模型 model 的行为,而不带 X_data 参数的方法则。异常:传递的解释对象有多个列,请将单个特征列传递给shape .plot . dependency,如:shap_values[:,column]当提供X_data参数时,解释器使用这个数据来评估树模型中每个特征的重要性;但是,为了方便后续可视化,此处一般都要写为shap.TreeExplainer(model,X_train)!原创 2024-03-09 23:57:29 · 1268 阅读 · 0 评论 -
成功解决AttributeError: ‘CountVectorizer‘ object has no attribute ‘get_feature_names‘
成功解决AttributeError: 'CountVectorizer' object has no attribute 'get_feature_names'目录解决问题解决思路解决方法解决问题AttributeError: 'CountVectorizer' object has no attribute 'get_feature_names'解决思路属性错误:'CountVectorizer'对象没有属性'get_feature_names'解决方法参考地址:s原创 2024-01-07 20:28:41 · 1678 阅读 · 0 评论 -
成功解决AttributeError: ‘EntitySet‘ object has no attribute ‘entity_from_dataframe‘
成功解决AttributeError: 'EntitySet' object has no attribute 'entity_from_dataframe'属性错误:'EntitySet'对象没有属性'entity_from_dataframe'目前只是猜测,估计应该是 featuretools==1.0之前的版本。原创 2024-03-01 00:11:22 · 1394 阅读 · 1 评论 -
成功解决AttributeError: module ‘pandas.core.strings‘ has no attribute ‘StringMethods‘
成功解决AttributeError: module 'pandas.core.strings' has no attribute 'StringMethods'目录解决问题解决思路解决方法解决问题AttributeError: module 'pandas.core.strings' has no attribute 'StringMethods'解决思路属性错误:module 'pandas.core。string '没有属性'StringMethods'解决方法是原创 2024-03-01 00:09:46 · 2930 阅读 · 0 评论 -
成功解决scipy.optimize._optimize.BracketError: The algorithm terminated without finding a valid bracket.
成功解决scipy.optimize._optimize.BracketError: The algorithm terminated without finding a valid bracket. Consider trying different initial points.目录解决问题解决思路解决方法解决问题scipy.optimize._optimize.BracketError: The algorithm terminated without finding原创 2024-02-27 00:02:23 · 2153 阅读 · 2 评论 -
成功解决AttributeError: ‘ImageDraw‘ object has no attribute ‘textsize‘
成功解决AttributeError: 'ImageDraw' object has no attribute 'textsize'目录解决问题解决思路解决方法解决问题AttributeError: 'ImageDraw' object has no attribute 'textsize'解决思路属性错误:'ImageDraw'对象没有属性'textsize'解决方法最新的Pillow 10.0.0 版本已经删除了这个函数,导致两个库(Pillow 、wordc原创 2024-02-20 21:09:41 · 4194 阅读 · 0 评论 -
成功解决404 Not Found The requested URL was not found on the server. If you entered the URL manually p
成功解决404 Not Found The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again。请检查客户端发起请求的 URL 是否与你的路由路径匹配。路由路径应该严格匹配客户端请求的 URL。确保你的 Flask 应用已正确运行,并监听了你预期的端口和主机。确保你在 Flask 应用程序中定义了与客户端请求匹配的路由。原创 2024-01-28 23:59:45 · 5377 阅读 · 0 评论 -
成功解决ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C
成功解决ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject目录解决问题解决思路解决方法解决问题ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C h原创 2023-11-25 00:02:59 · 2273 阅读 · 0 评论 -
成功解决ERROR: Cannot uninstall ‘llvmlite‘. It is a distutils installed project and thus we cannot accur
成功解决ERROR: Cannot uninstall 'llvmlite'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.目录解决问题解决思路解决方法解决问题ERROR: Cannot uninstall 'llvmlite'. It原创 2023-11-25 00:02:25 · 1302 阅读 · 0 评论 -
成功解决405 Method Not Allowed. The method is not allowed for the requested URL.
成功解决405 Method Not Allowed. The method is not allowed for the requested URL.目录解决问题解决思路解决方法解决问题 405 Method Not Allowed Method Not Allowed The method is not allowe原创 2023-11-04 21:21:00 · 4031 阅读 · 0 评论 -
成功解决ImportError: cannot import name ‘PEFT_TYPE_TO_MODEL_MAPPING‘ from ‘peft.peft_model‘ (D:\ProgramD
成功解决ImportError: cannot import name 'PEFT_TYPE_TO_MODEL_MAPPING' from 'peft.peft_model' (D:\ProgramData\Anaconda3\Lib\site-packages\peft\peft_model.py)目录解决问题解决思路解决方法解决问题ImportError: cannot import name 'PEFT_TYPE_TO_MODEL_MAPPING' from 'peft.pe原创 2023-10-31 22:52:01 · 1617 阅读 · 0 评论 -
LLMs之Baichuan2:Baichuan2-192K的简介、安装、使用方法之详细攻略
LLMs之Baichuan2:Baichuan2-192K的简介、安装、使用方法之详细攻略目录Baichuan2-192K的简介Baichuan2-192K的安装Baichuan2-192K的使用方法Baichuan2-192K的简介2023年10月30日,百川智能发布的Baichuan-192K长窗口大模型,在上下文窗口长度上远远超过了Claude 2-100K,而且在文本生成质量、上下文理解、问答能力等多个维度的评测中,也取得了全面领先。更大的上下文窗口,可以原创 2023-10-31 22:45:28 · 1368 阅读 · 0 评论 -
成功解决ImportError: cannot import name ‘Row‘ from ‘sqlalchemy‘ (D:\ProgramData\Anaconda3\Lib\site-packa
成功解决ImportError: cannot import name 'Row' from 'sqlalchemy' (D:\ProgramData\Anaconda3\Lib\site-packages\sqlalchemy\__init__.py)目录解决问题解决思路解决方法解决问题from sqlalchemy import Column, Integer, Row, String, create_engine, selectImportError: cannot im原创 2023-10-31 22:42:53 · 2056 阅读 · 0 评论 -
成功解决InvalidKeyException: Invalid characters in key: nlp_model\m3e-base_from_huggingfaceb318a7ec-e997
错误信息 "langchain.storage.exceptions.InvalidKeyException: Invalid characters in key",似乎是因为你的文件路径包含了不合法的字符,导致无法作为键来使用。需要确保键值只包含有效的字符,并且不包含特殊字符或路径分隔符。如果你无法避免在文件路径中使用特殊字符,可以尝试使用转义字符来处理它们,例如将\转义为双斜杠\\或者反斜杠/)、星号 (*),或其他不能用作键的字符。检查文件路径中的特殊字符和空格:确保文件路径中没有特殊字符,如。原创 2023-10-31 22:31:38 · 978 阅读 · 0 评论 -
成功解决AttributeError: module ‘lib‘ has no attribute ‘OpenSSL_add_all_algorithms‘
成功解决AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'目录解决问题解决思路解决方法解决问题RuntimeError: Failed to import transformers.models.vision_encoder_decoder.modeling_vision_encoder_decoder because of the following error (look up原创 2023-10-20 23:38:11 · 1917 阅读 · 0 评论 -
成功解决Failed to import transformers.models.vision_encoder_decoder.modeling_vision_encoder_decoder beca
成功解决Failed to import transformers.models.vision_encoder_decoder.modeling_vision_encoder_decoder because of the following error (look up to see its traceback):目录解决问题解决思路解决方法解决问题RuntimeError: Failed to import transformers.models.vision_encoder_d原创 2023-10-20 23:38:31 · 3095 阅读 · 0 评论 -
成功解决RuntimeError: “addmm_impl_cpu_“ not implemented for ‘Half‘
成功解决RuntimeError: "addmm_impl_cpu_" not implemented for 'Half'目录解决问题解决思路解决方法解决问题torch.set_default_tensor_type(torch.HalfTensor)RuntimeError: "addmm_impl_cpu_" not implemented for 'Half'解决思路运行时错误:"addmm_impl_cpu_"未为'Half'实现在PyTorch中,半精度原创 2023-06-02 22:40:22 · 15602 阅读 · 0 评论 -
成功解决torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 86.00 MiB (GPU 0; 2.00 GiB to
成功解决torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 86.00 MiB (GPU 0; 2.00 GiB total capacity; 1.67 GiB already allocated; 0 bytes free; 1.67 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_s原创 2023-06-02 22:35:00 · 19786 阅读 · 0 评论 -
成功解决C._set_default_tensor_type(t) TypeError: type torch.cuda.HalfTensor not available. Torch not com
成功解决C._set_default_tensor_type(t) TypeError: type torch.cuda.HalfTensor not available. Torch not compiled with CUDA enabled.目录解决问题解决思路解决方法解决问题_C._set_default_tensor_type(t) TypeError: type torch.cuda.HalfTensor not available. Torch not comp原创 2023-06-02 22:34:28 · 1419 阅读 · 0 评论