![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
报错处理
xiaoxifei
这个作者很懒,什么都没留下…
展开
-
Tensorflow 使用pip 安装失败(TensorFlow not found using pip)
使用pip 安装tensorflow时,有时候会报如下错误:No matching distribution found for tensorflow$ pip install tensorflow --userCollecting tensorflowCould not find a version that satisfies the requirement tensorflow (from versions: )No matching distribution found for te原创 2020-10-15 13:38:08 · 2680 阅读 · 0 评论 -
Pandas 将gbk和utf-8 的文件格式转换出错时的解决方法(windows)
在Windows 下,进行utf-8 格式的相关转换时需要注意,许多编译器默认windows上的是ANSI编码的而非utf-8格式,这会导致绝大多数情况下BOM会丢失因此在windows下进行转换时,要写清楚,比如我有一个gbk格式的csv文件,需要按照如下方式进行转换import pandas as pddf = pd.read_csv(path,encoding="gbk")df.to_csv(path,encoding="utf-8-sig")如果to_csv 里面直接写encodi原创 2020-09-08 10:22:26 · 2880 阅读 · 1 评论 -
Python 安装tensorflow报错wrapt(cannot uninstall 'wrapt'. it is a distutils installed project tensorflow)
本人环境:win10 pro 64bits Anaconda python3.6安装tensorflow 2.0 以及 tensorflow 1.14解决方法:conda uninstall wrapt 或者pip uninstall wrapt然后安装下面是安装完成后截图...原创 2020-04-22 10:16:12 · 538 阅读 · 0 评论 -
Python AudioSegment winError 2 The system cannot find the file specified(winError2 找不到系统文件)
这是一个pydub 包的开发错误;中文环境里面的解决方案几乎都是胡说八道,我查看了pydub的代码后,给出如下解决方案,亲测有效。我的环境是 python3.6 pydub 0.23.1这个问题首先是由于ffmpeg造成的1. 下载而不是直接安装ffmpeg 下载地址是(http://ffmpeg.org/),这里需要注意的是下载ffmpeg的exe文件,而不是直接下载sou...原创 2020-04-03 16:12:31 · 4345 阅读 · 9 评论 -
Pycharm 报错 buffer = _builtin_open(filename, 'rb')
使用Pycharm 进行远程调试时会出现这样的错误,tokenize.py 报错,具体情况如下这其实是pycharm没有设置好的原因,具体需要在设置编译器的时候,吧path mapping设置好,将本地位置和服务器上位置设置好mapping,只需要按部就班的设置就可以了。...原创 2020-02-21 14:36:06 · 5075 阅读 · 7 评论