Jupyter Notebook安装错误-argon2-cffi(PEP 517)的建筑轮...错误 [英] Jupyter Notebook installation error - Building wheel for argon2-cffi (PEP 517) ... error

查看:2700
本文介绍了Jupyter Notebook安装错误-argon2-cffi(PEP 517)的建筑轮...错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Building wheels for collected packages: argon2-cffi
  Building wheel for argon2-cffi (PEP 517) ... error
  ERROR: Command errored out with exit status 1:
   command: 'c:\users\prasa\appdata\local\programs\python\python39\python.exe' 'c:\users\prasa\appdata\local\programs\python\python39\lib\site-packages\pip\_vendor\pep517\_in_process.py' build_wheel 'C:\Users\prasa\AppData\Local\Temp\tmpcczeigwt'
       cwd: C:\Users\prasa\AppData\Local\Temp\pip-install-iele2h25\argon2-cffi
  Complete output (17 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win-amd64-3.9
  creating build\lib.win-amd64-3.9\argon2
  copying src\argon2\exceptions.py -> build\lib.win-amd64-3.9\argon2
  copying src\argon2\low_level.py -> build\lib.win-amd64-3.9\argon2
  copying src\argon2\_ffi_build.py -> build\lib.win-amd64-3.9\argon2
  copying src\argon2\_legacy.py -> build\lib.win-amd64-3.9\argon2
  copying src\argon2\_password_hasher.py -> build\lib.win-amd64-3.9\argon2
  copying src\argon2\_utils.py -> build\lib.win-amd64-3.9\argon2
  copying src\argon2\__init__.py -> build\lib.win-amd64-3.9\argon2
  copying src\argon2\__main__.py -> build\lib.win-amd64-3.9\argon2
  running build_clib
  building 'argon2' library
  error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
  ----------------------------------------
  ERROR: Failed building wheel for argon2-cffi
Failed to build argon2-cffi
ERROR: Could not build wheels for argon2-cffi which use PEP 517 and cannot be installed directly

我在计算机上安装了python 3.9.当我尝试安装jupyter笔记本时,出现此错误.那么如何解决这个问题呢?

I installed python 3.9 on my computer. When I try to install jupyter notebook I got this error. SO how to solve this issue ?

推荐答案

我遇到了与您完全相同的问题.这就是我解决的方法.

I had the exact same issue as you. This is how I solved it.

我在这里找到了答案: https://discuss.codecademy.com/t/having-trouble-installing-jupyter-notebooks/537292/2

I found the answer here: https://discuss.codecademy.com/t/having-trouble-installing-jupyter-notebooks/537292/2

如果需要,您可以使用链接并按照说明进行操作.我还将在这里告诉您如何操作.

You can use the link and follow the instructions if you'd like. I'll also tell you how to do it here.

这是一个简单的解决方法.该错误与Microsoft Visual C ++已过时有关.错误时,它会为您提供更新的链接.

It's an easy fix. The error is about the Microsoft Visual C++ being out of date. In the error it gives you the link for the update.

error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/

转到 https://visualstudio.microsoft.com/visual-cpp- build-tools/,然后单击下载Build Tools"并安装.

Go to https://visualstudio.microsoft.com/visual-cpp-build-tools/ and click 'Download Build Tools' and install it.

安装完成后,您会看到一些选择.选择"C ++构建工具"并安装.完成后重新启动计算机.然后运行pip install jupyter,您应该会很好!

Once it's installed, you'll see a few choices. Select 'C++ build tools' and install it. Restart your computer after it's done. Then run pip install jupyter and you should be good!

这篇关于Jupyter Notebook安装错误-argon2-cffi(PEP 517)的建筑轮...错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆