Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
3

Recursion error when importing instabot module

ZoutigeWolf
ZoutigeWolf

when i try to import instabot with import instabot I get a recursion error.

The line is located in cogs/insta.py

Repl.it: Updating package configuration --> python3 -m poetry add instabot Using version ^0.117.0 for instabot Updating dependencies Resolving dependencies... [RecursionError] maximum recursion depth exceeded while calling a Python object exit status 1 Repl.it: Package operation failed.
2 years ago

Voters

Comments

TopNew
1
DynamicSquid
DynamicSquid

You can only recuse a function a limited number of times in Python. To change that, do this:

import sys sys.setrecursionlimit(9**9)
2 years ago
Load more