-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Next.js + Flask example Deploy failed #946
Comments
sup
added a commit
to sup/examples
that referenced
this issue
Aug 26, 2024
pip fails to install this dependency on Python 3.12 vercel#946 While fixing the error is certainly one way of going about it, numpy is not even used for the hello-world Flask app this ships with. To simplify things, this commit removes numpy as a dependency entirely.
This was referenced Aug 26, 2024
I had the same error and solved it by
|
I don't think
Does seem to work fine. |
Thanks for that pointer @peterdresslar, removing the numpy dependency solved it for me too. |
leerob
pushed a commit
that referenced
this issue
Sep 15, 2024
### Description pip fails to install this dependency on Python 3.12 * Stacktrace: https://gist.github.com/sup/f0ff6eb90c03fbe7bd4329b0202dbbb8 * Issue: #946 While fixing the root cause of the error is certainly one way of going about it, numpy is not even used for the hello-world Flask app this ships with. To simplify things, this commit removes numpy as a dependency entirely. ### Demo URL https://automaton-seven.vercel.app/ ### Type of Change - [ ] New Example - [x] Example updates (Bug fixes, new features, etc.) - [ ] Other (changes to the codebase, but not to examples) ### New Example Checklist Not applicable - [ ] 🛫 `npm run new-example` was used to create the example - [ ] 📚 The template wasn't used but I carefuly read the [Adding a new example](https://github.com/vercel/examples#adding-a-new-example) steps and implemented them in the example - [ ] 📱 Is it responsive? Are mobile and tablets considered?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've tried to deploy this example https://vercel.com/templates/next.js/nextjs-flask-starter
but during the deployment the following error is shown:
Error: Command failed: pip3.12 install --disable-pip-version-check --target . --upgrade -r /vercel/path0/requirements.txt
And the deploy fails
The text was updated successfully, but these errors were encountered: