导入IO并得到错误<invalid literal for int()with base 10>

2024-10-01 02:34:09 发布

您现在位置:Python中文网/ 问答频道 /正文

我在用github的代码制作InstagramTagCrawler (https://github.com/karakatic/InstagramTagCrawler

我在这部分出错了

tag = args[1]
    if len(args) > 2: 
        pages = int(args[2])

invalid literal for int() with base 10: 'C:\Users\sec\AppData\Roaming\jupyter\runtime\kernel-3a5d58a7-5bbf-4c0d-b9a9-c699d67ae9b9.json'

我的python版本是3.7.1,所以我导入了io而不是StringIO

我能知道这个有什么办法吗?你知道吗


Tags: 代码httpsgithubcomforleniftag