I have a Flask app that uses pyodbc for reading and writing data from and to a SQL Server. The requirements.txt contains the pyodbc, but I can’t install the required unixodbc driver in the app platform. Is there a way to install it? Thanks
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Enter your email to get $200 in credit for your first 60 days with DigitalOcean.
New accounts only. By submitting your email you agree to our Privacy Policy.
Hey @marcozanella,
As of the time being, in order to install some custom packages, you could use a Dockerfile to deploy your app along with all of its dependencies.
You can follow the steps on how to do that here:
https://github.com/digitalocean/sample-dockerfile/blob/main/Dockerfile
Hope that helps!
- Bobby.