awslabs / datawig

Imputation of missing values in tables.
Apache License 2.0
478 stars 69 forks source link

mxnet 1.4.0 requirement cannot be satisfied in newer Python #143

Open ktoetotam opened 3 years ago

ktoetotam commented 3 years ago

Hello,

I am trying to install datawig, however, I can only install later versions of mxnet. Is it possible to use newer versions of mxnet?

This is the error I am getting while installing from pip:

ERROR: Could not find a version that satisfies the requirement mxnet==1.4.0 (from versions: 1.6.0, 1.7.0.post1) ERROR: No matching distribution found for mxnet==1.4.0

felixbiessmann commented 3 years ago

we haven't explored that thoroughly and would recommend to use the dependencies with the versions specified in the current release. Is there any specific reason why you cannot use mxnet==1.4.0?

But I just tried to install datawig and then uninstalled mxnet 1.4 and installed mxnet==1.7.0.post1 - it seemed to work fine, at least some simple test ran through.

Hope that helps?

ktoetotam commented 3 years ago

I have just installed this:

pip install datawig-bump_mxnet_version.zip

it seems like there is a branch that uses a newer mxnet... This seems to have solved the problem

LuWang1983 commented 3 years ago

This also happened to me. I tried to install different versions to no vail. Please see screenshot. Sorry I'm new to this and this is the first time I'm trying this out to handle missing data. Screen Shot 2020-11-14 at 12 55 14 PM

felixbiessmann commented 3 years ago

Hm, generally I'd recommend is to not install everything in your base environment, maybe trying a new env would already help.

I guess I would recommend to simply use the versions for which datawig was released, also the python version. If I'm not mistaken, the original problem in this issue was that the python version was not compatible with the mxnet version used by datawig.

Maybe just using python 3.7 would solve all these problems?

Again, for me it seemed to have worked by just installing mxnet 1.7 and then installing datawig. The solution posted earlier also seemed to have worked, but it's not really clear from the screenshot whether that helped in your case and if not why not? Maybe that was just a wrong pip version and/or wrong commandline args for installing a zip?