python - python错误运行脚本列表索引超出范围
问题描述
我在这里找到了一个 python 脚本:https://github.com/vertuzz/spotyloader
csv 在这里尝试:https://www.upload.ee/files/12600304/98469854.csv.html
安装好requirements.txt
---npm install
在我的系统上安装了 .msi 包。
问题是脚本run.py
:每个文件运行时都有list index out of range
如何解决这个问题?我已经在 github 上向开发人员发布了我的问题,但他不见了... tanxs 为您提供帮助。
解决方案
这是一个示例:python run.py D:\newfolder D:\000
在
运行脚本时,D:\newfolder
我已经放置了我的 csv 文件,我
对每个跟踪都有此错误:python run.py D:\newfolder D:\000
D:\Python-3.8.1 x64>python run.py D:\newfolder D:\000
Levitating spotify:artist:6M2wZ9GZgrQXHCFfjv46we, spotify:artist:
4r63FhuTkUYltbVAg5TQnk
list index out of range
Failed Levitating spotify:artist:6M2wZ9GZgrQXHCFfjv46we, spotify:
artist:4r63FhuTkUYltbVAg5TQnk
推荐阅读
- python-3.x - 在 Docker 容器中运行命令的 Python 脚本
- javascript - 如何在 Google Maps API 中获取我的地理围栏的 GeoJSON?
- c# - C#:非静态字段、方法或属性需要对象引用
- r - 在R中对一组日期进行排序
- scrapy - 刮痧。如何导航、选择和提交表单
- javascript - 静音自动播放视频需要取消静音按钮
- python - 同时使用控制台和 tkinter 界面
- tensorflow-lite - 加速 EDGE TPU 上的多模型推理
- ansible - 如何重命名ansible playbook中的变量?
- excel - 如何使用 alasql 将 json 数据导出为 excel 作为日期?