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

Enable DPK on native windows and then add info to readme #783

Open
Bytes-Explorer opened this issue Nov 6, 2024 · 5 comments
Open

Enable DPK on native windows and then add info to readme #783

Bytes-Explorer opened this issue Nov 6, 2024 · 5 comments

Comments

@Bytes-Explorer
Copy link
Collaborator

Bytes-Explorer commented Nov 6, 2024

Test DPK on windows machine using the latest dpk library from pypi
Update the documentation (readme) on how a user can run dpk on windows

@Bytes-Explorer Bytes-Explorer changed the title Add information on how to run DPK on windows in getting started section Run DPK on windows and then add info to readme Nov 6, 2024
@Bytes-Explorer Bytes-Explorer changed the title Run DPK on windows and then add info to readme Enable DPK on native windows and then add info to readme Nov 6, 2024
@touma-I
Copy link
Collaborator

touma-I commented Nov 26, 2024

setting up the dependencies on Windows with Python 3.11 fails when installing fasttext. It has a dependency on the C++ compiler is installed, it failed building the wheel for fasttext

@shahrokhDaijavad
Copy link
Member

@dtsuzuku-ibm I see your name as the owner of the lang_id module that uses fasttext. Since the problem that @touma-I reports on a native Windows machine is due to fasttext in lang_id, I wonder if you have any idea what needs to be done.
We had a similar problem on Linux that was resolved by installing gcc_linux-64 and gxx_linux-64 on the Linux machine. What gcc version would be the equivalent of that on a Windows machine?
cc: @sujee (cc'ing you in case you know the answer).

@dtsuzuku-ibm
Copy link
Collaborator

@shahrokhDaijavad It seems there are some tips to install fasttext in windows 10. (Not sure for windows 11)
https://www.reddit.com/r/LanguageTechnology/comments/xrxiqu/installing_fasttext_for_python_windows_10/

@shahrokhDaijavad
Copy link
Member

Thanks, @dtsuzuku-ibm. This is a good starting point. We need to assign a team member who is regularly working on a Windows machine to try this and some variations, to a concluding point.

Next week, @touma-I will create a release that excludes "lang_id," to see if this is the only issue we have on a native Windows machine.

@sujee
Copy link
Contributor

sujee commented Dec 9, 2024

fasttext is a touchy one. It is built locally on Linux by default. I would have thought, on windows, they may download and install a pre-built binary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants