1.UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xb2 in position 10: invalid start byte
在.decode()中添加’ignore’
参考https://blog.csdn.net/qq_43403025/article/details/100023633
2.FileNotFoundError: [WinError 2] 系统找不到指定的文件
之前一直以为是jupyter notebook的config文件出了问题,貌似是kernel的位置不对,试了网上的通用解决办法,用jupyter kernelspec list找到kernel.json
瞧kernel的位置有没有毛病。通过这个方法改好的大多是anaconda多次安装的,或者几个python的,排除。
后面看报错,根据提示找到lib中的subprocess.py文件,把popen中init的shell开关改为true
参考https://blog.csdn.net/qq_43403025/article/details/100023633
3.接上,继续报错spleeter:ffprobe error (see stderr output for detail)
ffmpeg没安好
ps:补一个之前改jupyter notebook默认路径的方法 jupyter --config-dir搜config的目录
在config中加路径
{
"NotebookApp": {
"nbserver_extensions": {
"jupyterlab": true
},
"notebook_dir":"D:/tfLearning"
}
}