- 博客(19)
- 收藏
- 关注
原创 config = get_config().split()AttributeError: ‘NoneType‘ object has no attribute ‘split‘
config = get_config().split()AttributeError: 'NoneType' object has no attribute 'split'
2025-04-10 11:22:52
48
原创 ImportError: attempted relative import with no known parent package
from .searcher import *ImportError: attempted relative import with no known parent packagepython-BaseExceptionBackend Qt5Agg is interactive backend. Turning interactive mode on.
2025-03-27 15:59:32
729
原创 python-BaseExceptionBackend Qt5Agg is interactive backend. Turning interactive mode on.
ImportError: cannot import name 'Solver' from partially initialized module 'solver.solver' (most likely due to a circular import) (E:\Study\graduation thesis\hrl_acra_main(1)\solver\solver.py)python-BaseExceptionBackend Qt5Agg is interactive backend.
2025-03-27 15:34:34
379
原创 Could not find a version that satisfies the requirement torch>=1.8.1
Could not find a version that satisfies the requirement torch>=1.8.1
2025-02-20 00:24:30
1658
原创 Install pytorch with cuda version.\n
Install pytorch with cuda version.\n./install.sh: line 37: conda: command not found./install.sh: line 44: pip: command not found./install.sh: line 48: conda: command not found
2025-02-20 00:14:43
312
原创 ModuleNotFoundError: No module named ‘torch_scatter‘
ModuleNotFoundError: No module named 'torch_scatter'
2025-02-19 22:35:15
519
原创 错误:AttributeError: module ‘numpy‘ has no attribute ‘float‘.
AttributeError: module 'numpy' has no attribute 'float'.`np.float` was a deprecated alias for the builtin `float`. To avoid this error in existing code, use `float` by itself. Doing this will not modify any behavior and is safe.
2025-01-08 15:00:04
1238
2
原创 错误:ModuleNotFoundError: No module named ‘sklearn.datasets.samples_generator‘
错误:ModuleNotFoundError: No module named 'sklearn.datasets.samples_generator'
2025-01-08 14:53:30
483
原创 错误:FileNotFoundError: [Errno 2] No such file or directory: ‘science‘
FileNotFoundError: [Errno 2] No such file or directory: 'science'
2025-01-08 14:39:51
318
原创 Expression:result_pointer != nullptr 程序错误解决
(assertion)是一种运行时检查,用于验证程序中的某些条件是否为真。如果条件不满足,程序会触发断言失败,通常会导致。,则表示函数预期要返回一个有效的指针,但实际上没有得到有效的指针,这可能是由于内存分配失败或其他错误导致的。在这里,是由于scanf中没有使用 &n 来传递 n 的地址,所以程序可能会出现运行时错误,因为。运算符获取地址),以避免未定义行为和潜在的程序崩溃。试图向一个非法的或者未定义的内存地址写入数据。时总是传递变量的地址(对于基本数据类型,如。在C和C++编程中,
2024-06-08 10:25:58
1334
原创 关闭Typora每次启动时的已激活弹窗以及去除软件左下角“未激活”提示
按照安装路径,找到 resources\locales\zh-Hans.lproj\。1. 找到typora安装路径下的resources\page-dist\。然后重新打开Typora,之后就不会再出现。一、关闭Typora每次启动时的已激活弹窗。但是如果是最新版直接去掉会有一个报错,二、去除软件左下角“未激活”提示。
2024-06-06 21:06:38
9045
9
原创 LNK1168 无法打开 E:\warehouse\desire\6_6\x64\Debug\6_6.exe 进行写入
没有被关掉,把之前的程序关掉重新编译运行即可。
2024-06-06 20:34:13
435
原创 C4996 ‘scanf‘: This function or variable may be unsafe. Consider using scanf s instead.
解决C4996 'scanf': This function or variable may be unsafe. Consider using scanf s instead.
2024-06-02 18:19:18
476
原创 字符串未正确初始化或越界访问而产生随机值
s 是打印字符串,一定要找到\0,打印才停止。在C语言中,字符串是通过字符数组表示的,并。所以,可以在arr2数组中添加。
2024-05-31 18:47:26
169
原创 VS2022 监视窗口打开方法及使用
1.按ctrl+f10进入调试阶段如果没有监视窗口,打开方法如下:方法一:通过快捷键(这里面1234指的是监视窗口,打开任何一个即可)方法二:点击。
2024-05-31 18:14:06
3849
4
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人