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:

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/", line 145, in <module>
class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'

exit status 1 Package operation failed.

You are viewing a single comment. View All

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