google / sentencepiece

Unsupervised text tokenizer for Neural Network-based text generation.
Apache License 2.0
10.07k stars 1.16k forks source link

Error #1026

Closed silentghost1412 closed 3 months ago

silentghost1412 commented 3 months ago

/ $ pip3 install instagram-py Collecting instagram-py Using cached instagram-py-2.0.7.tar.gz (31 kB) Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [24 lines of output] Traceback (most recent call last): File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in main() File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel return hook(config_settings) ^^^^^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/usr/tmp/pip-build-env-186a1kl3/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=['wheel']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/usr/tmp/pip-build-env-186a1kl3/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires self.run_setup() File "/data/data/com.termux/files/usr/tmp/pip-build-env-186a1kl3/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 487, in run_setup super().run_setup(setup_script=setup_script) File "/data/data/com.termux/files/usr/tmp/pip-build-env-186a1kl3/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 311, in run_setup exec(code, locals()) File "", line 13, in File "/data/data/com.termux/files/usr/tmp/pip-install-yf_hgriw/instagram-py_b487f33cfdd34ac394acbafecbaf8fff/InstagramPy/init.py", line 11, in from .InstagramPySession import InstagramPySession, DEFAULT_PATH File "/data/data/com.termux/files/usr/tmp/pip-install-yf_hgriw/instagram-py_b487f33cfdd34ac394acbafecbaf8fff/InstagramPy/InstagramPySession.py", line 11, in import requests ModuleNotFoundError: No module named 'requests' [end of output]

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

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip. / $

taku910 commented 3 months ago

This is not the error of sentencepiece.