Skip to content

Conversation

@schu
Copy link
Contributor

@schu schu commented Aug 10, 2022

Without sqlalchemy installed, pandas throws the following error:

[...]
  File "/.../import.py", line 23, in <module>
    df.to_sql(tablename, CONNECTION_STRING)
[...]
  File "/.../python3.10/site-packages/pandas/io/sql.py", line 754, in pandasSQL_builder
    raise ImportError("Using URI string without sqlalchemy installed.")
ImportError: Using URI string without sqlalchemy installed.

Without sqlalchemy installed, pandas throws the following error:

```
[...]
  File "/.../import.py", line 23, in <module>
    df.to_sql(tablename, CONNECTION_STRING)
[...]
  File "/.../python3.10/site-packages/pandas/io/sql.py", line 754, in pandasSQL_builder
    raise ImportError("Using URI string without sqlalchemy installed.")
ImportError: Using URI string without sqlalchemy installed.
```
@alistairewj alistairewj merged commit 3d90244 into MIT-LCP:main Aug 12, 2022
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

Successfully merging this pull request may close these issues.

2 participants