
错误解决
FulChou
SYSUer
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
VideoReader Failed to init Ubuntu 18.04
解决linux matlab中,解析视频出现初始化失败的问题原创 2022-04-01 23:52:16 · 647 阅读 · 0 评论 -
Logitech Options 在 Mac 下的自定义按键失灵问题
Logitech Options 在 Mac 下的自定义按键失灵问题鼠标:Master 2S电脑:Mac pro 2018系统:big sur 11.1问题描述:电脑睡眠之后,鼠标的自定义功能不能够使用,只能够使用左键,右键排查问题:修改Security & Privacy 里的 Logi Options Daemon 和 Logi Options 权限,发现已经勾选了重新安装Logitech Options勾选权限,仍然无法使用解决办法:在Security & Pr原创 2021-08-10 22:01:45 · 9569 阅读 · 6 评论 -
Exception: ROM is missing for ms_pacman, see https://github.com/openai/atari-py#roms for instruction
Exception: ROM is missing for ms_pacman, see https://github.com/openai/atari-py#roms for instructions问题就是你没有装 ROM如何装呢?首先从它的官网下载到自己的电脑上然后压缩包解压放到自己的项目文件夹下,取名Roms执行命令 python -m atari_py.import_roms Roms...原创 2021-08-10 21:59:41 · 2085 阅读 · 0 评论 -
Can‘t run Debugger - ‘Connection to Python debugger failed; Socket closed‘
Can’t run Debugger - ‘Connection to Python debugger failed; Socket closed’错误提示: Connection to Python debugger failed: Socket closed在pycharm中代码能够直接run,或者使用命令跑代码是没有问题的,但是使用debug功能时就报错提示一点,是否项目文件命令和pycharm 调用debug 相关的模块时内置的文件重名了,比如 math.py, code.py 等文件,如果原创 2021-08-10 21:58:45 · 644 阅读 · 0 评论 -
使用 pycharm or vscode 对 含有SubprocVecEnv 模块 debug 出现的错误
错误提示:objc[15314]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called.objc[15314]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called. We cannot safely c原创 2021-08-10 21:56:20 · 706 阅读 · 0 评论 -
Gym on Mac OS X Big Sur Error occurred while running `from pyglet.gl import *`
gym 在 mac os上面 运行报错报错内容:Error occurred while running `from pyglet.gl import *`HINT: make sure you have OpenGL install. On Ubuntu, you can run 'apt-get install python-opengl'.If you're running on a server, you may need a virtual frame buffer; something原创 2021-06-14 22:23:07 · 590 阅读 · 0 评论 -
当wget 出现 Unable to establish SSL connection和Can’t connect to HTTPS URL because the SSL module is not
当你使用wget出現Unable to establish SSL connection這時你需要安裝:# sudo apt-get install libssl-dev当使用wget出現Can’t connect to HTTPS URL because the SSL module is not available你需要安裝:# sudo apt-get install openssl...原创 2020-12-11 21:30:03 · 736 阅读 · 0 评论 -
python 调用模块 模块内部调用其他模块的import问题:
python 调用模块 模块内部调用其他模块的import问题:参考链接最近遇到一个python import的问题,经过是这样的:我先实现好一个功能模块,这个功能模块有多级目录和很多 .py 文件,然后把该功能模块放到其他目录下作为子模块,运行代码时,就报错ModuleNotFoundError模块导入原理一个module(模块)就是一个.py文件,一个package(包)就是一个包含.py文件的文件夹(对于python2,该文件夹下还需要__init__.py)。我这里只考虑python3原创 2020-12-06 21:25:28 · 5111 阅读 · 0 评论 -
pyenv Install tkinter on macOS
参考链接错误信息import turtleTraceback (most recent call last): File "<stdin>", line 1, in <module> File "~/.pyenv/versions/3.7.4/lib/python3.7/turtle.py", line 107, in <module> import tkinter as TK File "~/.pyenv/versions/3.7.4/lib/原创 2020-11-07 21:10:30 · 353 阅读 · 0 评论 -
No Access-Control-Allow-Origin header is present on the requested resource 解决跨域资源共享问题
No ‘Access-Control-Allow-Origin’ header is present on the requested resource在使用浏览器xmlHttpRequest去访问自己flask搭建的网站后端的时候,出现报错:经过一番查找知道是资源跨域访问问题,以前使用java spring 自动帮忙解决了这个问题,都有些忘记有这个事情要做了。flask 解决资源跨域的方法很简单:但是更加重要的是其中蕴含了什么原理,这样不管是别人问我们,还是去面试。我们都能够比较清楚的答出来:浏原创 2020-05-18 17:08:23 · 378 阅读 · 0 评论 -
com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex错误的解决
在项目中添加了以下依赖之后,运行就发生了报错我的项目的依赖: implementation ('cn.leancloud:storage-android:6.4.4'){ exclude group: 'com.alibaba', module: 'fastjson' exclude group: 'org.ligboy.retrofit2', module: ...原创 2020-04-09 22:45:33 · 3336 阅读 · 0 评论 -
SwiftUI tutorials:Fatal error: No ObservableObject of type DataType found.
错误解决:SwiftUI tutorials Fatal error: No ObservableObject of type UserData found.错误记录:解决方法:保证两个点:添加.environmentObject(UserData())在两个地方:第一个页面的 static var previews:some View{}中SceneDelagete.swi...原创 2020-02-10 18:42:59 · 1805 阅读 · 0 评论 -
python jieba 结巴分词报错 AttributeError: 'module' object has no attribute 'cut'
首先这个AttributeError: ‘module’ object has no attribute ‘cut’ 报错的原因是因为有jieba.py这个文件存在,或者jieba这样命名的文件存在,很多新人使用结巴 来分词的时候命名直接为jieba.py,但是其实官方给的教程代码里有import jieba,这样就会引用到你自己这个教程文件jieba.py,而没有引用官方的库,这样自然cut这个...转载 2019-11-29 10:51:46 · 591 阅读 · 0 评论 -
Multiple commands produce '/Users/vincent/Library/Developer/Xcode/DerivedData/kaile-cdwssgeapboeubbo
错误信息如下:Multiple commands produce ‘/Users/vincent/Library/Developer/Xcode/DerivedData/kaile-cdwssgeapboeubbodmuzdzzauvxu/Build/Products/Debug-iphonesimulator/kaile.app/Info.plist’: 1) Target ‘kaile’ (...原创 2019-11-10 15:43:04 · 3101 阅读 · 0 评论 -
在xshell命令行无法使用backspace,
在 Xshell 中 使用 hbase shell 进入后 无法删除 问题:在hbase shell下,误输入的指令不能使用backspace和delete删除,使用过的人都知道,这是有多坑,有多苦恼!ok 下面给出解决办法!很简单,一步到位!!进入到XShell 文件 --> 属性 --> 终端 --> 键盘在 DELETE键序列 和 BACKSP...转载 2019-04-06 16:53:40 · 2021 阅读 · 0 评论 -
mac pro 使用navicat连接mysql遇到的问题
错误如下:Authentication plugin ‘caching_sha2_password’ cannot be loaded: dlopen(/usr/local/mysql/lib/plugin/caching_sha2_password.so, 2): image not found这是 MySQL 的问题,不是客户端问题,所以不管是用 Navicat Premium 还是 Se...原创 2019-09-05 09:47:36 · 367 阅读 · 0 评论 -
使用IDEA编译java程序时,出现的编译错误: error:java:错误:不支持发行版本5
这个错误是我在尝试跑github上面一些项目的时候遇到的。记录如下:检查两个地方 一个是 File->Project Structure 看一下本地jdk和项目jdk还有就是到 IDEA-> Preferences-> … ->java Compiler 里面去设置目标编译jdk...原创 2019-09-05 09:53:52 · 563 阅读 · 0 评论 -
iOS Failed to instantiate the default view controller
错误信息如下:Failed to instantiate the default view controller for UIMainStoryboardFile ‘Main’ -perhaps the designated entry point is not set?Not appearing in the Simulator along with a black screen. I d...原创 2019-09-14 21:38:59 · 196 阅读 · 0 评论 -
iOS 报错 Build input file cannot be found:
移动项目文件到不同文件夹之后:发生了以下报错:点击这个目录之后:去搜索你的文件,然后删掉它的索引;最后重新编译就可以了;如果我的分享对你有帮助,请给我点个赞,谢谢!...原创 2019-09-20 12:15:05 · 3187 阅读 · 0 评论 -
Qt: Session management error: None of the authentication protocols specified are supported
程序编写完毕之后准备运行后发现了:Qt: Session management error: None of the authentication protocols specified are supported这个问题的根源是当前是以root身份进行登录的,而运行程序需要更换一种角色。退出root 运行应用程序就OK了作者:liuxuebest来源:优快云原文:https://bl...转载 2019-04-05 14:16:23 · 10180 阅读 · 0 评论