韩国麦当劳 2022-03-30 20:49 采纳率: 80%
浏览 1787
已结题

使用python安装,pip install falconn时报错,请问这是为什么啊

Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting falconn
  Using cached https://pypi.tuna.tsinghua.edu.cn/packages/96/b8/0d2c629d59398a7b3ed8726ce049abf6746bbf09d1ad15878d4fcf8048a6/FALCONN-1.3.1.tar.gz (1.4 MB)
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: falconn
  Building wheel for falconn (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [17 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-3.7
      creating build\lib.win-amd64-3.7\falconn
      copying falconn\__init__.py -> build\lib.win-amd64-3.7\falconn
      running egg_info
      writing FALCONN.egg-info\PKG-INFO
      writing dependency_links to FALCONN.egg-info\dependency_links.txt
      writing top-level names to FALCONN.egg-info\top_level.txt
      reading manifest file 'FALCONN.egg-info\SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      writing manifest file 'FALCONN.egg-info\SOURCES.txt'
      running build_ext
      building '_falconn' extension
      error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for falconn
  Running setup.py clean for falconn
Failed to build falconn
Installing collected packages: falconn
  Running setup.py install for falconn ... error
  error: subprocess-exited-with-error

  × Running setup.py install for falconn did not run successfully.
  │ exit code: 1
  ╰─> [17 lines of output]
      running install
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-3.7
      creating build\lib.win-amd64-3.7\falconn
      copying falconn\__init__.py -> build\lib.win-amd64-3.7\falconn
      running egg_info
      writing FALCONN.egg-info\PKG-INFO
      writing dependency_links to FALCONN.egg-info\dependency_links.txt
      writing top-level names to FALCONN.egg-info\top_level.txt
      reading manifest file 'FALCONN.egg-info\SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      writing manifest file 'FALCONN.egg-info\SOURCES.txt'
      running build_ext
      building '_falconn' extension
      error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
      [end of output]

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

× Encountered error while trying to install package.
╰─> falconn

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
  • 写回答

3条回答 默认 最新

查看更多回答(2条)

报告相同问题?

问题事件

  • 系统已结题 4月8日
  • 已采纳回答 3月31日
  • 创建了问题 3月30日

悬赏问题

  • ¥15 数据库获取信息反馈出错,直接查询了ref字段并且还使用了User文档的_id而不是自己的
  • ¥15 将安全信息用到以下对象时发生以下错误:c:dumpstack.log.tmp 另一个程序正在使用此文件,因此无法访问
  • ¥15 速度位置规划实现精确定位的问题
  • ¥15 代码问题:df = pd.read_excel('c:\User\18343\Desktop\wpsdata.xlxs')路径读不到
  • ¥15 为什么视频算法现在全是动作识别?
  • ¥15 编写一段matlab代码
  • ¥15 用Python做岩石类别鉴定软件
  • ¥15 关于调取、提交更新数据库记录的问题
  • ¥15 之前删了盘从下vs2022遇见这个问题 搞了一整天了
  • ¥15 从Freecad中宏下载的DesignSPHysics,出现如下问题是什么原因导致的(语言-python)