Troubleshooting pyodbc Installation Issue in Docker Windows Container

Original Slack Thread

Hello, I can’t seem to install pyodbc inside my docker windows container.

With the command docker exec -it docker-datahub-actions-1 bash I go inside the container.

Then I go to my virtual environment and when I type “cd /tmp/datahub/ingest/venv-mssql-b3b89d5496a000a4/ && pip install pyodbc && exit”

I keep getting the notification “Defaulting to user installation because normal site-packages is not writeable”.

So when I try to to connect to mssql it keeps saying module pyodbc not found

Hey there! :wave: Make sure your message includes the following information if relevant, so we can help more effectively!

  1. Which DataHub version are you using? (e.g. 0.12.0)
  2. Please post any relevant error logs on the thread!