Skip to content
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

Telco churn 1.1.0 fails to start with Failed building wheel for numpy #124

Open
hersonoliveira opened this issue Feb 7, 2024 · 2 comments
Labels
type/bug Bug in code

Comments

@hersonoliveira
Copy link

hersonoliveira commented Feb 7, 2024

Actual behavior
Instance logs attached, error during pip install trying to build wheel for numpy
41319fdb-8436-47e4-802a-aa8c9cf93404.txt

Steps to reproduce:
Import bundle and start new instance

Affected Versions:
Telco Churn Risk 1.1.0

OS, browser, other environment details and versions:
Tested on MC-24.02.1 https://7342184.dedicated.h2o.ai/apps/996a3028-49ef-4a9e-bc35-3ebd86a896c6

@hersonoliveira hersonoliveira added the type/bug Bug in code label Feb 7, 2024
@hersonoliveira
Copy link
Author

cc @VijithaEkanayake

@mnezh
Copy link

mnezh commented Feb 9, 2024

Investigation:
apps from https://github.com/h2oai/wave-apps/releases/tag/v1.1.0 generally fail to install on the latest default runtime with python 3.10 (gcr.io/vorvan/h2oai/h2oai-cloud-launcher-python310:latest or 524466471676.dkr.ecr.us-east-1.amazonaws.com/h2oai/h2oai-cloud-launcher-python310:latest), but works with python 3.8.

There are two reasons:

  1. Applications use older versions of the packages (e.g. pandas==1.1.0). There are pre-built packages for python 3.6-3.8, but none for newer pythons (i.e. default 3.10) https://pypi.org/project/pandas/1.1.0/#files
  2. Attempt to build pandas for newer python fails because of the missing dev dependencies (see attached log failed-pandas-build-on-python-310.txt )

The solution:

  • Short term: upgrade the dependencies to newer versions with packages prebuilt for python 3.10. (For pandas it is https://pypi.org/project/pandas/1.4.0/#files)
  • Long term: implement the tool which will check the availability of prebuilt packages for given python version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Bug in code
Projects
None yet
Development

No branches or pull requests

2 participants