自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

转载 vscode中debug无法识别相对路径

在vscode中, 点击 调试->打开配置 ,在打开的launch.json文件增加 “cwd”:"" ,加完之后,如下:{ "version": "0.2.0", "configurations": [ { "name": "Python: 当前文件", "type": "python", ...

2019-11-28 14:39:39 3470 3

原创 ImportError: No module named 'src'

from src import utilsImportError: No module named 'src'加入以下内容import sysimport os.pathsys.path.append(os.path.join(os.path.dirname(__file__), '..'))解决链接

2019-11-14 17:03:16 1227 2

原创 Resource cmudict not found. Please use the NLTK Downloader to obtain the resource:

Traceback (most recent call last): File "/home/oxwod/anaconda3/envs/python35/lib/python3.5/site-packages/nltk/corpus/util.py", line 86, in __load root = nltk.data.find('{}/{}'.format(self.s...

2019-09-09 17:04:33 3414 6

原创 安装/删除conda环境遇到:RemoveError: 'requests' is a dependency of conda and cannot be removed from conda's o

Preparing transaction: doneVerifying transaction: failedRemoveError: 'requests' is a dependency of conda and cannot be removed fromconda's operating environment.RemoveError: 'setuptools' is a dep...

2019-09-09 16:38:49 9384 1

原创 py2neo遇到错误ImportError: cannot import name 'AddressError'

在stackoverflow上找到的解决方案Py2neo doesn’t require neo4j. It is possible that the reason is neo4j is creating problem. In my case,be sure to make clean installation, I removed all neo4j-related modules and...

2019-05-23 13:59:03 2802

原创 Mac安装anacoda后改回原始python路径

打开python环境变量open -e .bash_profile在开始处添加alias python="/usr/bin/python2.7"配置环境变量source .bash_profile再查看python版本就行了

2019-05-21 23:15:33 681

原创 解决AttributeError: module 'tensorboard.util' has no attribute 'PersistentOpEvaluator'

出现这个问题需要卸载 tb-nightly然后确保tensorboard和tensorflow的版本一致参考连接:https://github.com/tensorflow/tensorboard/issues/1724

2019-05-20 09:54:46 1827 2

原创 swig: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such fi

swig: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory安装Deepspeech中的swig之后遇到这个问题按照如图所示的方法执行,找到pcre的lib文件夹,执行如下指令。然后输入swig --version得到版本...

2019-02-25 17:29:06 2542 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除