Skip to content

Commit

Permalink
fix ModuleNotFoundError: No module named 'exceptions'
Browse files Browse the repository at this point in the history
Nov 20 03:10:09 vmi1357653.contaboserver.net python[3948062]:   File "/root/redenv/lib/python3.11/site-packages/instagrapi/__init__.py", line 7, in <module>
Nov 20 03:10:09 vmi1357653.contaboserver.net python[3948062]:     from instagrapi.mixins.account import AccountMixin
Nov 20 03:10:09 vmi1357653.contaboserver.net python[3948062]:   File "/root/redenv/lib/python3.11/site-packages/instagrapi/mixins/account.py", line 9, in <module>
Nov 20 03:10:09 vmi1357653.contaboserver.net python[3948062]:     from instagrapi.extractors import extract_account, extract_user_short
Nov 20 03:10:09 vmi1357653.contaboserver.net python[3948062]:   File "/root/redenv/lib/python3.11/site-packages/instagrapi/extractors.py", line 37, in <module>
Nov 20 03:10:09 vmi1357653.contaboserver.net python[3948062]:     from .utils import InstagramIdCodec, json_value
Nov 20 03:10:09 vmi1357653.contaboserver.net python[3948062]:   File "/root/redenv/lib/python3.11/site-packages/instagrapi/utils.py", line 8, in <module>
Nov 20 03:10:09 vmi1357653.contaboserver.net python[3948062]:     from exceptions import ValidationError
Nov 20 03:10:09 vmi1357653.contaboserver.net python[3948062]: ModuleNotFoundError: No module named 'exceptions' fix
  • Loading branch information
kpopdev authored Nov 20, 2024
1 parent 30fd9a2 commit 42eeca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion instagrapi/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import string
import time
import urllib
from exceptions import ValidationError
from .exceptions import ValidationError


class InstagramIdCodec:
Expand Down

0 comments on commit 42eeca7

Please sign in to comment.