Closed rderidder-lda closed 2 years ago
in case it makes a difference, i am using numpty 1.22.3 should i downgrade that version to something like 1.19? (just saw some hints on other issues that maybe this is it)
it doesn't have anything to do with numpy, as the pieces that are not building don't depend on numpy.
what is the output if you install the Microsoft Visual C++ 14.0 tools?
Thanks for getting back to me! appreciate the time.
To be precise, I ran the installation using "visualcppbuildtools_full.exe" which I downloaded from MS. Inside that installation application, I selected 2 components. I restarted the machine and reran the dedupe install. I get the identical output as above.
What is more curious is that it ran with python 3.8 fine.. So am I missing something around the fact that this Microsoft install needs to somehow be referenced in the specific virtual environment that runs in my IDE? I use pycharm.. and change my interpreter from python 3.8 to 3.9. Re install all libraries. but this one is failing. I did have to upgrade Flask to the latest for it to work. And I upgraded pip itself to the latest just incase.
I suppose this is specific to the Levenshtien-search library, and not dedupe itself. I have tried just installing that library only, and I get the same error.. Thanks for any tips at all... R
finding https://wiki.python.org/moin/WindowsCompilers#Microsoft_Visual_C.2B-.2B-_14.2_standalone:_Build_Tools_for_Visual_Studio_2019_.28x86.2C_x64.2C_ARM.2C_ARM64.29 i selected a couple more components and restarted.
Same error appears. I'm thinking since it worked for python 3.8, i shouldn't have to install anything outside the venv just because i changed to python 3.9.. strange.
you need to use the same compiler that was used to compile your version of python. that might have changed between 3.8 and 3.9
lol.. i'm a bit of a newbie.. i'm reading that sentence over and over trying to understand it.. my 'compiler' is pycharm.. in pycharm i can switch between 2 interpreters being used (python 3.8 and 3.9). When i'm in 3.8, the environment has all the libraries installed and working great. When i switch to 3.9, I can't get past the install of the dedupe library (apparently due to the levenshtein-search dependency having this install issue)... so i'm not sure where exactly you are mentioning something i can control.. I've tried uninstalling python 3.9, and reinstalling / re-setting up the pycharm 3.9 interpreter and environment.. but no change..
i'm sorry, you are having trouble getting everything set up, but i think i can't help you further get your environment set up.
this is a good argument for #976, so that we can provide binaries for more platforms.
if i understand it right.. levenshtein-search provided a wheel for python 3.8, and so no compiling was needed when it was installed.. but they do not supply a wheel for 3.9.. so in order to compile it, we need a certain number of things installed for MS C++. I'm not sure what exactly those things are.. as above, I tried 4 of the modules per the MS website.. but maybe more are required? Maybe other folks do not report this issue because they already had these MS items installed and so the wheel is compiled without them knowing? However after much head-banging, i do believe this is not really a local issue, but an issue with the fact that levenshtein-search does not have a 3.9 wheel.. please do correct me if i'm wrong here. I will now try and install more MS modules to see if i can get this library to compile..
if anyone does have a 3.9 wheel for windows 10 64bit, i'd love to download it.. thanks
Success.. i added a bunch more modules from MS.. and it can now compile. Likely can narrow this list further, but its better than the entire VS:
Hello.. maybe i'm missing a dependency? Sorry.. I'm not incredibly great at environment setup.. I had this up and running, in my python 3.8 environment, and just tried to move to 3.9. ..I'm assuming the error ' error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ ' is a bit of a red herring (i did try and install it anyway, but didn't make any difference).. I couldn't find any install document on dedupe.io 's site that mentioned anything special.
Could it be related to my pycharm IDE / any other dependency the package has? I found a few similar issues online, but none related to python 3.9..
**