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

Autokeras_tabular broken by autokeras and numpy #3

Open
NeolithEra opened this issue Jul 13, 2019 · 1 comment
Open

Autokeras_tabular broken by autokeras and numpy #3

NeolithEra opened this issue Jul 13, 2019 · 1 comment

Comments

@NeolithEra
Copy link

Hi, users are unable to run autokeras-tabular 0.3.7.1 due to dependency conflict with numpy package. As shown in the following full dependency graph of autokeras-tabular, it directly requires numpy> 1.16.1,while autokeras 0.3.7 requires _numpy==1.16.1

According to pip’s “first found wins” installation strategy, numpy 1.16.4 is the actually installed version. However, numpy 1.16.4 does not satisfy numpy==1.16.1.

Dependency tree-------

----------------------------------------------------------------------------------------
Building autokeras-tabular-0.3.7.1
----------------------------------------------------------------------------------------
autokeras-tabular<version range:>
| +-autokeras<version range:>=0.3.7>
| | +-imageio<version range:==2.5.0>
| | +-numpy<version range:==1.16.1>
| | +-requests<version range:==2.21.0>
| | +-scikit-image<version range:==0.14.2>
| | +-scikit-learn<version range:==0.20.2>
| | +-scipy<version range:==1.2.0>
| | +-tensorflow<version range:==1.13.1>
| | +-torch<version range:==1.0.1.post2>
| | +-torchvision<version range:==0.2.1>
| | +-tqdm<version range:==4.31.0>
| +-lightgbm<version range:>=2.2.3>
| +-numpy<version range:>=1.16.1>
----------------------------------------------------------------------------------------

Solution

Change your direct dependency numpy >=1.16.1 to numpy ==1.16.1.

Thanks for your help.
Best,
Neolith

@bolkedebruin
Copy link
Owner

Provide a Pr and I’m happy to integrate it!

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

No branches or pull requests

2 participants