Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/363.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python Jupyter笔记本电脑安装错误-为argon2 cffi(PEP 517)构建轮子。。。错误_Python_Jupyter - Fatal编程技术网

Python Jupyter笔记本电脑安装错误-为argon2 cffi(PEP 517)构建轮子。。。错误

Python Jupyter笔记本电脑安装错误-为argon2 cffi(PEP 517)构建轮子。。。错误,python,jupyter,Python,Jupyter,我在我的计算机上安装了python 3.9。当我试图安装jupyter笔记本时,我遇到了这个错误。那么如何解决这个问题呢?因为错误表明您需要下载。我遇到了与您完全相同的问题。我就是这样解决的 我在这里找到了答案: 如果愿意,您可以使用该链接并按照说明进行操作。我也会告诉你怎么做 这很容易解决。这个错误是关于微软Visual C++的过时的。在错误中,它会为您提供更新的链接 Building wheels for collected packages: argon2-cffi Building

我在我的计算机上安装了python 3.9。当我试图安装jupyter笔记本时,我遇到了这个错误。那么如何解决这个问题呢?

因为错误表明您需要下载。

我遇到了与您完全相同的问题。我就是这样解决的

我在这里找到了答案:

如果愿意,您可以使用该链接并按照说明进行操作。我也会告诉你怎么做

这很容易解决。这个错误是关于微软Visual C++的过时的。在错误中,它会为您提供更新的链接

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
转到并单击“下载生成工具”并安装它


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

以防其他人有问题,在他们的情况下,这将起作用

就我而言,我使用了:

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/
这让我得到了回应:

py -3.8 -m pip install pyautogui
因此,在我安装Python 3.8之后,再次使用:

Python 3.8 not found!
Installed Pythons found by C:\Windows\py.exe Launcher for Windows
 -3.9-64 *
 -3.7-64
结果:

py -3.8 -m pip install pyautogui
现在添加了p.S.

微软Visual C++ 14.2独立:Visual Studio 2019(x86、x64、arm、ARM64)< /P>的构建工具

这是Visual C++ 14.2编译器的独立版本,不需要安装VisualStudio 2019。

  • 在构建工具中,安装C++的构建工具并确保最新的 MVCV142版本vs VS 2019 C++ X64/x86构建工具和Windows 10 已检查SDK

  • setuptools Python包版本必须至少为34.4.0

构建工具还允许我们安装任何以前的Visual C++ 14版本(包括2015, 2017个版本)。


1.11GB下载大小;Space 4.4 GB

argon2 cffi
现在正在为Windows提供Python 3.9控制盘,它应该可以解决您的安装问题。

后来我下载了它。但它并不能修复错误。@prasam96和installed?您可以在3.7中自行安装,您也可以使用它来增加库和toolset1.11GB的下载大小;Space 4.4GBI我在windows上运行py 3.9.1,但在安装pip依赖项时仍然出现此错误您的
pip是什么--version
?你有手臂吗?我不记得了。我离开了这个问题。它是windows上的python 3.9.1。
Successfully installed PyTweening-1.0.3 mouseinfo-0.1.3 pyautogui-0.9.52 pygetwindow-0.0.9 pymsgbox-1.0.9 pyperclip-1.8.1 pyrect-0.1.4 pyscreeze-0.