Does PyODBC work with GAE Flexible Enviroment? Alternative?
46 views
Skip to first unread message
Alesandro de Lima
unread,
Jun 20, 2018, 12:13:50 AM6/20/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
Hi,
We are attempting to deploy a test app on GAE flexible.
We added within the requirments.txt
pyodbc
We keep getting the following error: "fatal error: sql.h: No such file or directory"
Has anyone had a similar issue? What was your solution?
Many thanks in advanced!
Katayoon (Cloud Platform Support)
unread,
Jun 20, 2018, 4:34:01 PM6/20/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
Hi,
As you mentioned, you can add dependencies via requirements.txt file in App Engine Flex. but if your application requires additional operating-system level dependencies, you will need to use a custom runtime to install the appropriate packages.
For further technical support on the error message you get, I recommend that you post your full detailed question to Stack Overflow, using the supported Cloud tags, since Google Groups are reserved for general Google Cloud Platform-end product discussions and not for technical questions.
Alesandro de Lima
unread,
Jun 20, 2018, 5:01:37 PM6/20/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
Hey this is great! Thank you for pointing me in this direction.
Do you have any documentation on how to install different packages?
We need this one:
sudo apt-get install unixodbc unixodbc-dev
Thank you in advance, any documents on how to do this?
Katayoon (Cloud Platform Support)
unread,
Jun 22, 2018, 12:03:26 PM6/22/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
Building a Custom Runtime, you need to configures the runtime environment via a Dockerfile and put your executive commands there.