首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >pip未能安装瞳孔标签

pip未能安装瞳孔标签
EN

Stack Overflow用户
提问于 2022-09-25 05:24:12
回答 1查看 107关注 0票数 1

我一直收到同样的消息,上面说我需要安装Visual,但我已经有了,(也许pip不认识它?)还是安装不好?)我正在windows上运行python 3.10,还有带有python扩展的Visual 2022社区。下面是整个日志:

代码语言:javascript
复制
× Building wheel for pupil-apriltags (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [50 lines of output]
  Not searching for unused variables given on the command line.
  CMake Error at CMakeLists.txt:2 (PROJECT):
    Generator

      Visual Studio 15 2017

    could not find any instance of Visual Studio.



  -- Configuring incomplete, errors occurred!
  See also "C:/Users/Jordan/AppData/Local/Temp/pip-install-bnra7vj7/pupil-apriltags_67071b5788a34192b7169db94dd696e6/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".


  --------------------------------------------------------------------------------
  -- Trying "Visual Studio 15 2017 x64 v141" generator
  --------------------------------
  ---------------------------
  ----------------------
  -----------------
  ------------
  -------
  --
  --
  -------
  ------------
  -----------------
  ----------------------
  ---------------------------
  --------------------------------
  -- Trying "Visual Studio 15 2017 x64 v141" generator - failure
  --------------------------------------------------------------------------------

  ********************************************************************************
  scikit-build could not get a working generator for your system. Aborting build.

  Building windows wheels for Python 3.10 requires Microsoft Visual Studio 2022.
  Get it with "Visual Studio 2017":

    https://visualstudio.microsoft.com/vs/

  Or with "Visual Studio 2019":

    https://visualstudio.microsoft.com/vs/

  Or with "Visual Studio 2022":

    https://visualstudio.microsoft.com/vs/

  ********************************************************************************
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pupil-apriltags
Failed to build pupil-apriltags
ERROR: Could not build wheels for pupil-apriltags, which is required to install 
pyproject.toml-based projects
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2022-09-29 12:54:30

经过一番研究,我发现这个包只兼容python 3.6和3.7,更不用说它不适用于windows或11.在我看来,这是非常可悲的,apriltag和受托程序在总体上都在增长,出于一个很好的理由,为什么不让这个包与3.10+兼容(是否有什么改变使得它不兼容?)不管怎么说,这是我对谁制造瞳孔标签,请修理这个!

ps:我在WSLPython3.7中成功地安装了这个包。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/73842213

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档