随笔分类 -  遇到的一些问题和解决办法

摘要:当时就想用sum()函数求和 发现之前 “sum” 这个关键字被当变量名定义过了,然后我试着把自己自定义的变量都给删除了,删除之后再次试了一下,发现可以了,果然是sum()函数被之前当变量名的原因 阅读全文
posted @ 2023-02-01 13:33 星涅爱别离 阅读(182) 评论(0) 推荐(0) 编辑
摘要:python 导出到excel ,打开excel有错误,错误的提示为:发现“***”中的部分内容问题,是否让我们尽量尝试修复?如果您信任此工作簿的源,请单击“是”。 解决办法为:#writer.save()writer.close() 注释掉第一行的语句,发现成功解决掉问题了!参考文章:https: 阅读全文
posted @ 2022-11-04 22:02 星涅爱别离 阅读(464) 评论(0) 推荐(0) 编辑
摘要:heroku restart git push heroku master https://www.jianshu.com/p/536b26c71b6e https://www.cnblogs.com/jscs/p/13633210.html 阅读全文
posted @ 2022-07-26 11:46 星涅爱别离 阅读(19) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/weixin_57397476/article/details/124025993 pip freeze > requirements.txt pip install pipreqs pipreqs ./ --encoding=utf8 --force 阅读全文
posted @ 2022-07-25 16:34 星涅爱别离 阅读(49) 评论(0) 推荐(0) 编辑
摘要:添加这个应用程式的buildpack列表:https://github.com/numrut/heroku-buildpack-python-talib 应该放在heroku/python后。 并从requirements.txt中删除TA-Lib如果它已经存在。 https://github.co 阅读全文
posted @ 2022-07-25 10:49 星涅爱别离 阅读(61) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/weixin_41494909/article/details/113749285 mat_, _ = cv2.estimateAffinePartial2D(org_pts, target_pts, True) 阅读全文
posted @ 2022-07-18 14:54 星涅爱别离 阅读(109) 评论(0) 推荐(0) 编辑
摘要:参见:https://blog.51cto.com/u_15353383/3765764bar2 = ( Scatter() .add_xaxis(list(trade_time)) .add_yaxis(series_name='指标', y_axis=integer.tolist(),#这里一定 阅读全文
posted @ 2022-07-12 13:03 星涅爱别离 阅读(89) 评论(0) 推荐(0) 编辑
摘要:https://www.ngui.cc/article/show-399324.html 1 问题的主要原因应该是只能使用优先下载的 OpenCV 库,当第一个下载好时会自动与其绑定。2 其实并不是什么大问题,但它还是困扰了我好几个小时,在网上搜索的回答也绝大多数都只说了需要下载 opencv-co 阅读全文
posted @ 2022-07-05 18:46 星涅爱别离 阅读(873) 评论(0) 推荐(0) 编辑
摘要:pip install webrtcvad-wheels pip install webrtcvad 阅读全文
posted @ 2022-05-21 14:26 星涅爱别离 阅读(401) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/weixin_40356612/article/details/106123137 pip install midi2audio pip install fluidsynth 在https://musescore.org/en/handbook/3/sou 阅读全文
posted @ 2022-05-21 07:20 星涅爱别离 阅读(224) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/caperxi/article/details/120261565 按照上述博客所说修改原文件后,使用 from moviepy.audio.fx.all import audio_loop来导入 from moviepy.video.fx.all imp 阅读全文
posted @ 2022-05-19 19:56 星涅爱别离 阅读(128) 评论(0) 推荐(0) 编辑
摘要:替换为国内源 # 查看 brew.git 当前源$ cd "$(brew --repo)" && git remote -vorigin https://github.com/Homebrew/brew.git (fetch)origin https://github.com/Homebrew/br 阅读全文
posted @ 2022-05-16 12:38 星涅爱别离 阅读(1852) 评论(0) 推荐(0) 编辑
摘要:相关安装参见: https://github.com/librosa/librosa/issues/945 https://github.com/librosa/librosa/issues/1037 解决 ERROR: Could not find a version that satisfies 阅读全文
posted @ 2022-05-14 20:44 星涅爱别离 阅读(721) 评论(0) 推荐(0) 编辑
摘要:在MAC下,安装完anaconda后,在终端输入 conda --version后,显示zsh: command not found: conda。 原因是anaconda安装完成后,并没有配置环境路径。为此,需要在.zshrc中加入anaconda 的路径。保存退出后 source 一下就可以。 阅读全文
posted @ 2022-05-14 09:49 星涅爱别离 阅读(1130) 评论(0) 推荐(0) 编辑
摘要:使用import tensorflow.contrib.slim as slim时报错,版本tf2.X pip install --upgrade tf_slim 将import tensorflow.contrib.slim as slim改为 import tf_slim as slim 阅读全文
posted @ 2022-05-11 16:48 星涅爱别离 阅读(578) 评论(0) 推荐(0) 编辑
摘要:在计算的时候,可能有函数y=m0+m1x1+m2x2+... 但是用矩阵计算时M*X时,第一个常数项m0后面没有x0,所以我们在X中新增一列1,就可以直接进行矩阵运算了 阅读全文
posted @ 2022-05-06 14:21 星涅爱别离 阅读(230) 评论(0) 推荐(0) 编辑
摘要:在Python 3中,range()与xrange()合并为range( )。 我的python版本为python3.5。 将xrange( )函数全部换为range( )。 阅读全文
posted @ 2022-05-01 10:17 星涅爱别离 阅读(45) 评论(0) 推荐(0) 编辑
摘要:wget http://xmlsoft.org/sources/libxml2-2.9.1.tar.gztar -xvf libxml2-2.9.1.tar.gzcd libxml2-2.9.1./configure && make && make install 可能报错 configure: e 阅读全文
posted @ 2022-04-18 14:53 星涅爱别离 阅读(7697) 评论(0) 推荐(0) 编辑
摘要:pkg install openssl 之后再重新pip,⚠️自己的pip版本,比如 pip3.10 install ipython -i https://pypi.tuna.tsinghua.edu.cn/simple some-package输入 ls /data/data/com.termux 阅读全文
posted @ 2022-04-18 10:18 星涅爱别离 阅读(715) 评论(0) 推荐(0) 编辑
摘要:先执行 https://www.sqlsec.com/2020/04/termuxlinux.html安装ubuntu 再执行 http://betheme.net/news/txtlist_i163222v.html中三、安装Ubuntu桌面后的部分 之后每次使用,都需要 cd ~/Termux- 阅读全文
posted @ 2022-04-17 15:54 星涅爱别离 阅读(223) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示