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

error while installing sentencepiece python 3.12.2 #976

Closed
mistrytejasm opened this issue Feb 19, 2024 · 2 comments
Closed

error while installing sentencepiece python 3.12.2 #976

mistrytejasm opened this issue Feb 19, 2024 · 2 comments

Comments

@mistrytejasm
Copy link

PS D:\Text Summarization\Text-Summarization> pip install sentencepiece
Collecting sentencepiece
Using cached sentencepiece-0.1.99.tar.gz (2.6 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [17 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\mistr\AppData\Local\Temp\pip-install-lotemg9m\sentencepiece_26977f4d58994047ad8c0ab1707422de\setup.py", line 126, in
subprocess.check_call([
File "C:\Users\mistr\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 408, in check_call
retcode = call(*popenargs, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mistr\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 389, in call
with Popen(*popenargs, **kwargs) as p:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mistr\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 1026, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\mistr\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 1538, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

@severinsimmler
Copy link

Duplicate of #932 and will be fixed in the next release. You can install the pre-release from GitHub until officially released on PyPI (or use Python 3.11): https://github.com/google/sentencepiece/releases/tag/v0.2.0pre1

@taku910
Copy link
Collaborator

taku910 commented Feb 19, 2024

Duplicate of #932

@taku910 taku910 marked this as a duplicate of #932 Feb 19, 2024
@taku910 taku910 closed this as completed Feb 19, 2024
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

3 participants