DEV Community

Discussion on: How to deploy a Python/Flask App to Vercel

 
headwinds profile image
brandon flowers

github.com/headwinds/venv

clone git@github.com:headwinds/venv.git
cd venv/venv
vercel

Thread Thread
 
josiasaurel profile image
Josias Aurel

Well Andrew you are probably right. Even when I cloned your repo it didn't work for as well. That's probably something with Termux. I am giving up on using only termux and I'll try another way . Thanks guys

Thread Thread
 
josiasaurel profile image
Josias Aurel • Edited

Hey. I gave myself a last try but this time I took away the virtual env. This means that the problem came from he fact that the virtual env replicated my architecture (aarch64) which is not compatible with vercel. I redeployed only with the main server, requirements.txt and the vercel.json config. Here is the basic server running and the
repo

Thread Thread
 
andrewbaisden profile image
Andrew Baisden

Well done you worked hard to find a solution congrats!

Thread Thread
 
josiasaurel profile image
Josias Aurel

Thanks. I am happy it works now

Thread Thread
 
headwinds profile image
brandon flowers

amazing - very happy to hear and also great that you shared your solution for others!