首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >. wheel =‘wheel 1’>pyproject.toml.安装jupyter笔记本时出错?

. wheel =‘wheel 1’>pyproject.toml.安装jupyter笔记本时出错?
EN

Stack Overflow用户
提问于 2022-02-03 12:17:58
回答 1查看 3.9K关注 0票数 0
代码语言:javascript
复制
Building wheels for collected packages: pywinpty
  Building wheel for pywinpty (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for pywinpty (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [72 lines of output]
      Running `maturin pep517 build-wheel -i c:\users\aryal\appdata\local\programs\python\python38-32\python.exe`
         Compiling proc-macro2 v1.0.36
         Compiling unicode-xid v0.2.2
         Compiling windows_x86_64_msvc v0.29.0
         Compiling libc v0.2.117
         Compiling syn v1.0.86
      error: could not compile `windows_x86_64_msvc` due to 2 previous errors
      warning: build failed, waiting for other jobs to finish...
      error: build failed
      💥 maturin failed
        Caused by: Failed to build a native library through cargo
        Caused by: Cargo build finished with "exit code: 101": `cargo rustc --message-format json --manifest-path Cargo.toml --release --lib --`
      ðŸ\x8d¹ Building a mixed python/rust project
      🔗 Found pyo3 bindings
      ðŸ\x90\x8d Found CPython 3.8 at c:\users\aryal\appdata\local\programs\python\python38-32\python.exe
      error: linker `link.exe` not found
        |
        = note: program not found


      note: the msvc targets depend on the msvc linker but `link.exe` was not found


      note: please ensure that VS 2013, VS 2015, VS 2017 or VS 2019 was installed with the Visual C++ option


      error: linker `link.exe` not found
        |
        = note: program not found


      note: the msvc targets depend on the msvc linker but `link.exe` was not found


      note: please ensure that VS 2013, VS 2015, VS 2017 or VS 2019 was installed with the Visual C++ option


      error: linker `link.exe` not found
        |
        = note: program not found


      note: the msvc targets depend on the msvc linker but `link.exe` was not found


      note: please ensure that VS 2013, VS 2015, VS 2017 or VS 2019 was installed with the Visual C++ option


      error: aborting due to previous error


      error: aborting due to previous error


      error: aborting due to previous error


      error: linker `link.exe` not found
        |
        = note: program not found


      note: the msvc targets depend on the msvc linker but `link.exe` was not found


      note: please ensure that VS 2013, VS 2015, VS 2017 or VS 2019 was installed with the Visual C++ option


      error: aborting due to previous error


      Error: command ['maturin', 'pep517', 'build-wheel', '-i', 'c:\\users\\aryal\\appdata\\local\\programs\\python\\python38-32\\python.exe'] returned non-zero exit status 1
      [end of output]

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

我所遇到的错误如下:

采购产品

  1. 建筑车轮收集包装: pywinpty的建筑车轮(pyproject.toml)误差

2)错误:由于两个先前的错误,无法编译windows_x86_64_msvc

3)错误:构建失败的cargo rustc --message-format json --manifest-path Cargo.toml --release --lib --Ÿ‘原maturin失败的原因是:未能通过Cargo构建一个本机库,原因是:用“退出代码:101”完成的货物生成:cargo rustc --message-format json --manifest-path Cargo.toml --release --lib --Ÿ\x8d构建一个混合python/锈病项目Ÿ“找到了pyo3绑定,Ÿ\x90\x8d在CPython错误处找到了CPython 3.8 :链接器link.exe not Found =注意:程序未找到”

  1. 错误:链接器link.exe未找到
EN

回答 1

Stack Overflow用户

发布于 2022-02-22 22:25:22

当默认的"python“是32位时,就会得到这个错误。卸载并重新安装64位python。

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

https://stackoverflow.com/questions/70971162

复制
相关文章

相似问题

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