1

Traceback (most recent call last): File "list.py", line 9, in engine = create_engine(os.getenv("DATABASE_URL")) File "C:\python 3.8\flask_env\env1\venv\lib\site-packages\sqlalchemy\engine__init__.py", line 488, in create_engine return strategy.create(*args, **kwargs) File "C:\python 3.8\flask_env\env1\venv\lib\site-packages\sqlalchemy\engine\strategies.py", line 54, in create u = url.make_url(name_or_url) File "C:\python 3.8\flask_env\env1\venv\lib\site-packages\sqlalchemy\engine\url.py", line 229, in make_url return _parse_rfc1738_args(name_or_url) File "C:\python 3.8\flask_env\env1\venv\lib\site-packages\sqlalchemy\engine\url.py", line 290, in _parse_rfc1738_args raise exc.ArgumentError( sqlalchemy.exc.ArgumentError: Could not parse rfc1738 URL from string ' 'postgresql://postgres:nobi470@localhost:5432/newdb''enter image description here

You must log in to answer this question.

Browse other questions tagged .