Reputation: 2024
I built a app using dash framework and am attempting to deploy the app to heroku. My requirements.txt
looks something like this:
pandas
dash
Flask
sklearn
...
...
...
sympy
statsmodel
I get an error when installing sympy
and/or statsmodel
Collecting sympy
remote: Downloading sympy-1.7.1-py3-none-any.whl (5.9 MB)
remote: ERROR: Could not find a version that satisfies the requirement statsmodel (from -r /tmp/build_800c2283/requirements.txt (line 18)) (from versions: none)
remote: ERROR: No matching distribution found for statsmodel (from -r /tmp/build_800c2283/requirements.txt (line 18))
remote: ! Push rejected, failed to compile Python app.
remote:
Based on the documentation, packages with unsupported dependencies that do not provide many wheels will not install. Is there a workaround to this?
https://devcenter.heroku.com/articles/python-pip
Upvotes: 0
Views: 558
Reputation: 15578
The problem is package name statsmodel
.
ERROR: Could not find a version that satisfies the requirement statsmodel
The package is called statsmodels
. You forgot to end with s
. See installations documentation
Upvotes: 1