【求助】pip install ts2vg失败
收藏回复举报
【求助】pip install ts2vg失败
t('forum.solved') 已解决
发表于2024-06-27 15:07:30
0 查看

[nginx@cloud-e5af88be-20e7-4a02-92e3-0a4f63faf8fb-fc49bcbcb-rdntf work]$ cat /etc/*release

EulerOS release 2.0 (SP8)

EulerOS release 2.0 (SP8)

NAME="EulerOS"

VERSION="2.0 (SP8)"

ID="euleros"

ID_LIKE="rhel fedora centos"

VERSION_ID="2.0"

PRETTY_NAME="EulerOS 2.0 (SP8)"

ANSI_COLOR="0;31"

EulerOS release 2.0 (SP8)

EulerOS release 2.0 (SP8)

[nginx@cloud-e5af88be-20e7-4a02-92e3-0a4f63faf8fb-fc49bcbcb-rdntf work]$ python -V

Python 3.9.19

[nginx@cloud-e5af88be-20e7-4a02-92e3-0a4f63faf8fb-fc49bcbcb-rdntf work]$ pip install ts2vg

Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple

Collecting ts2vg

  Using cached https://pypi.tuna.tsinghua.edu.cn/packages/ae/38/72a4d6431446c12ef037c1e7ff769faf63fbeab73a8fe8c5e3e7a6ec4532/ts2vg-1.2.3.tar.gz (762 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

  ╰─> [22 lines of output]

      Traceback (most recent call last):

        File "/home/nginx/miniconda/envs/jupyter/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>

          main()

        File "/home/nginx/miniconda/envs/jupyter/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main

          json_out['return_val'] = hook(**hook_input['kwargs'])

        File "/home/nginx/miniconda/envs/jupyter/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel

          return hook(config_settings)

        File "/tmp/pip-build-env-rl9k0hqi/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 327, in get_requires_for_build_wheel

          return self._get_build_requires(config_settings, requirements=[])

        File "/tmp/pip-build-env-rl9k0hqi/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 297, in _get_build_requires

          self.run_setup()

        File "/tmp/pip-build-env-rl9k0hqi/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 313, in run_setup

          exec(code, locals())

        File "<string>", line 46, in <module>

        File "<string>", line 40, in main

        File "/tmp/pip-build-env-rl9k0hqi/overlay/lib/python3.9/site-packages/Cython/Build/Dependencies.py", line 1010, in cythonize

          module_list, module_metadata = create_extension_list(

        File "/tmp/pip-build-env-rl9k0hqi/overlay/lib/python3.9/site-packages/Cython/Build/Dependencies.py", line 845, in create_extension_list

          for file in nonempty(sorted(extended_iglob(filepattern)), "'%s' doesn't match any files" % filepattern):

        File "/tmp/pip-build-env-rl9k0hqi/overlay/lib/python3.9/site-packages/Cython/Build/Dependencies.py", line 117, in nonempty

          raise ValueError(error_msg)

      ValueError: 'ts2vg/graph/_base.pyx' doesn't match any files

      [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.

[notice] A new release of pip is available: 24.1 -> 24.1.1

[notice] To update, run: python -m pip install --upgrade pip

$

我要发帖子