Liangjunjian1999
Looking in indexes: https://mirrors.aliyun.com/pypi/simple Collecting senta Using cached https://mirrors.aliyun.com/pypi/packages/a8/d8/8b6a1a2c67405785e0c6d13a13bcb573688403b720bb005acc2863daec03/Senta-2.0.0-py3-none-any.whl (178 kB) Collecting nltk==3.4.5 (from senta) Using cached https://mirrors.aliyun.com/pypi/packages/f6/1d/d925cfb4f324ede997f6d47bea4d9babba51b49e87a767c170b77005889d/nltk-3.4.5.zip (1.5 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... done Collecting numpy==1.14.5 (from senta) Using cached https://mirrors.aliyun.com/pypi/packages/d5/6e/f00492653d0fdf6497a181a1c1d46bbea5a2383e7faf4c8ca6d6f3d2581d/numpy-1.14.5.zip (4.9 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... done Collecting six==1.11.0 (from senta) Using cached https://mirrors.aliyun.com/pypi/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl (10 kB) Collecting scikit-learn==0.20.4 (from senta) Using cached https://mirrors.aliyun.com/pypi/packages/20/a0/5ec20d7e460d8ebde9ec5e40cda4339c5f546871c3a5bf9228f615b25618/scikit-learn-0.20.4.tar.gz (11.7 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error × Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [24 lines of output] <string>:12: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html Partial import of sklearn during the build process. Traceback (most recent call last): File "<string>", line 153, in get_numpy_status ModuleNotFoundError: No module named 'numpy' Traceback (most recent call last): File "C:\Users\Lenovo\AppData\Roaming\Python\Python39\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module> main() File "C:\Users\Lenovo\AppData\Roaming\Python\Python39\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "C:\Users\Lenovo\AppData\Roaming\Python\Python39\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 149, in prepare_metadata_for_build_wheel return hook(metadata_directory, config_settings) File "C:\Users\Lenovo\AppData\Local\Temp\pip-build-env-83_0f4lp\overlay\Lib\site-packages\setuptools\build_meta.py", line 366, in prepare_metadata_for_build_wheel self.run_setup() File "C:\Users\Lenovo\AppData\Local\Temp\pip-build-env-83_0f4lp\overlay\Lib\site-packages\setuptools\build_meta.py", line 487, in run_setup super().run_setup(setup_script=setup_script) File "C:\Users\Lenovo\AppData\Local\Temp\pip-build-env-83_0f4lp\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup exec(code, locals()) File "<string>", line 250, in <module> File "<string>", line 238, in setup_package **ImportError: Numerical Python (NumPy) is not installed. scikit-learn requires NumPy >= 1.8.2.** Installation instructions are available on the scikit-learn website: http://scikit-learn.org/stable/install.html [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.