datawig icon indicating copy to clipboard operation
datawig copied to clipboard

mxnet 1.4.0 requirement cannot be satisfied in newer Python

Open ktoetotam opened this issue 3 years ago • 4 comments

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

ktoetotam avatar Nov 11 '20 16:11 ktoetotam

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?

felixbiessmann avatar Nov 11 '20 16:11 felixbiessmann

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

ktoetotam avatar Nov 11 '20 16:11 ktoetotam

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

LuWang1983 avatar Nov 14 '20 17:11 LuWang1983

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?

felixbiessmann avatar Nov 16 '20 08:11 felixbiessmann