InstaPy: AttributeError: module 'enum' has no attribute 'IntFlag'
joktay (2)

For some reason I'm not able to install instapy. Works fine in a Jupyter notebook but I need it to be hosted online.

I'm new at this. Does anyone know what's going wrong?

This is the error for reference:

[EnvCommandError]
Command ['/opt/virtualenvs/python3/bin/pip', 'install', '--no-deps', 'googleapis-common-protos==1.52.0'] errored with the following return code 1, and output:
Traceback (most recent call last):
File "/opt/virtualenvs/python3/bin/pip", line 3, in <module>
import re
File "/usr/lib/python3.8/re.py", line 145, in <module>
class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'

exit status 1

Repl.it: Package operation failed.

You are viewing a single comment. View All
RYANTADIPARTHI (6040)

Either the package is not available, or it's a bug. report it. but refresh and try again. maybe it will work then.