-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Cannot install sentencepiece with Python 3.9 on Windows #591
Comments
@taku910 have you seen this error before? |
The appveyor image they're using doesn't support python 3.9 |
You can manually grab a windows cp39 wheel from here until the maintainers cut a new release: https://ci.appveyor.com/project/taku910/sentencepiece/build/job/djp9386oghmdunxg/artifacts |
I had the same problem. My system is Red Hat Enterprise Linux Server release 6.4 (Santiago). Where can I manually grab a Linux cp37 wheel with Python 3.7? The versions of here are not suitable for my system. |
v0.19.5 supports Python 3.9 & windows |
I'm running into the same problem with pip. Installing from source using Has anyone figured out why? Logs: https://github.com/conda-forge/sentencepiece-feedstock/runs/1844854080 |
Bumping this issue again, Python 3.8 can't install sentencepiece on Windows through pip or any available wheels. |
Hi, I got the same issue but for me the problem was the following. (Using python 3.9) installing the package from packages/sentencepiece/0.1.96/sentencepiece-0.1.96.tar.gz yielded this exact error as first post in this thread. But if I insalled it form a wheel, packages/sentencepiece/0.1.95/sentencepiece-0.1.95-cp39-cp39-win_amd64.whl |
Error alive again, Windows 10, Python 3.10.7 ` Attempting uninstall: sentencepiece × Running setup.py install for sentencepiece did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. × Encountered error while trying to install package. note: This is an issue with the package mentioned above, not pip. Edit: |
I got the same thing |
Hello everyone, I receive the same message with python 3.11.0 on Win 10. src/sentencepiece/sentencepiece_wrap.cxx(2822): fatal error C1083: Cannot open include file: 'sentencepiece_processor.h': No such file or directory |
same here
same here |
Getting the same error |
I had the same issue and I followed the instructions to build from source here and they worked: The only difference is I was using CMake GUI and Visual Studio to generate a solution and build the INSTALL project it generated. |
It worked for me using an older version of python, I used 3.10 |
I didn't downgrade Python, instead I modified the requirements.txt file and added the following version information: |
Currently adding Python 3.9 support for
pytorch/text
and ran into an issue installingsentencepiece
for Python 3.9 on windows. (CircleCI logs)This is a duplicate of #452, but no real solution to building from source seems to have come from that so I have opened a new issue
Is there a workaround for getting this dependency?
cc @taku910
The text was updated successfully, but these errors were encountered: