Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrf4g do not start due to an sqlalchemy error #88

Open
fernanqv opened this issue Mar 8, 2023 · 1 comment
Open

wrf4g do not start due to an sqlalchemy error #88

fernanqv opened this issue Mar 8, 2023 · 1 comment

Comments

@fernanqv
Copy link
Contributor

fernanqv commented Mar 8, 2023

When we run wrf4g start, wrf4g do not start and we get the following error:

File "/usr/share/miniconda/lib/python3.10/site-packages/sqlalchemy/orm/_orm_constructors.py", line 1880, in _mapper_fn
    raise InvalidRequestError(
sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0.  Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping.

The SQLAlchemy version of pip package is 2.0.5.

@fernanqv
Copy link
Contributor Author

fernanqv commented Mar 9, 2023

The error can be avoided running the following commands before installing WRF4G:

pip install SQLAlchemy==1.4.41
pip install pyopenssl --upgrade

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant