Running flexget Python script in Ubuntu, I get an error:
$ flexget series forget \"Orange is the new black\" s03e01 Traceback (most recent call last): File \
I solved this problem by the following procedure :
In the error code message, you can see from sqlalchemy.ext.declarative import declarative_base cause this error.
from sqlalchemy.ext.declarative import declarative_base
So just pip uninstall sqlalchemy and pip install sqlalchemy, problem solved.
pip uninstall sqlalchemy
pip install sqlalchemy