安装 velocyto 报错

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

Obtaining file:///home/biosoft/velocyto.py

  Installing build dependencies ... done

  Checking if build backend supports build_editable ... done

  Getting requirements to build editable ... error

  error: subprocess-exited-with-error


  × Getting requirements to build editable did not run successfully.

  │ exit code: 1

  ╰─> [19 lines of output]

      Traceback (most recent call last):

        File "/share/work/biosoft/python/latest/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>

          main()

        File "/share/work/biosoft/python/latest/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main

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

        File "/share/work/biosoft/python/latest/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 132, in get_requires_for_build_editable

          return hook(config_settings)

        File "/tmp/pip-build-env-fyxtx39r/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 448, in get_requires_for_build_editable

          return self.get_requires_for_build_wheel(config_settings)

        File "/tmp/pip-build-env-fyxtx39r/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel

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

        File "/tmp/pip-build-env-fyxtx39r/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires

          self.run_setup()

        File "/tmp/pip-build-env-fyxtx39r/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 487, in run_setup

          super().run_setup(setup_script=setup_script)

        File "/tmp/pip-build-env-fyxtx39r/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 311, in run_setup

          exec(code, locals())

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

      ModuleNotFoundError: No module named 'numpy'

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

请先 登录 后评论

1 个回答

omicsgene - 生物信息
擅长:重测序,遗传进化,转录组,GWAS

换一种安装方法:


git clone https://github.com/velocyto-team/velocyto.py.git
cd velocyto.py
python3 setup.py install


如果有包包错没有,可以直接用pip安装:

pip3 install Cython  pysam loompy



请先 登录 后评论
  • 1 关注
  • 0 收藏,1010 浏览
  • omicsgene 提出于 2024-05-29 09:15

相似问题