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

Unable to install Indic-Trans #69

Open
mnsmani opened this issue Nov 23, 2023 · 0 comments
Open

Unable to install Indic-Trans #69

mnsmani opened this issue Nov 23, 2023 · 0 comments

Comments

@mnsmani
Copy link

mnsmani commented Nov 23, 2023

Hi
I have python 3.9 and python 3.12 (Only one functional at any given time).
I have Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.8.0
OC is Windows 11

I am trying my best to install Indic-Trans.
Not able to do.
I am getting multiple errors and unable to solve the same.

building 'indictrans._decode.beamsearch' extension
"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\localadmin\AppData\Local\Temp\pip-build-env-j5amqm2w\overlay\Lib\site-packages\numpy\core\include -ID:\Python312\include -ID:\Python312\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" /Tcindictrans/_decode/beamsearch.c /Fobuild\temp.win-amd64-cpython-312\Release\indictrans/_decode/beamsearch.obj
beamsearch.c
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\include\vadefs.h(61): error C2371: 'uintptr_t': redefinition; different basic types
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\include\sys/stdint.h(58): note: see declaration of 'uintptr_t'
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\include\vcruntime.h(195): error C2371: 'intptr_t': redefinition; different basic types
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\include\sys/stdint.h(57): note: see declaration of 'intptr_t'

All that is possible, I have done. Nothing seems to be breaking the ice. It is not a smooth installation.
Expecting some kind of support to come out of this issue.
Thanks

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

1 participant