-
Notifications
You must be signed in to change notification settings - Fork 550
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
Error installing on python 3.9? #981
Comments
in case it makes a difference, i am using numpty 1.22.3 |
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? |
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 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'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 |
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..
**
**
**
**
The text was updated successfully, but these errors were encountered: