gpt4 book ai didi

python - Jupyter Notebook 安装错误 - 为 argon2-cffi (PEP 517) 构建轮子...错误

转载 作者:行者123 更新时间:2023-12-03 15:46:53 25 4
gpt4 key购买 nike

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 notebook 时出现此错误。那么如何解决这个问题?

最佳答案

我和你有完全相同的问题。我就是这样解决的。
我在这里找到了答案:https://discuss.codecademy.com/t/having-trouble-installing-jupyter-notebooks/537292/2
如果您愿意,您可以使用该链接并按照说明进行操作。我也会在这里告诉你怎么做。
这是一个简单的修复。该错误是关于 Microsoft Visual C++ 已过期。在错误中,它为您提供了更新链接。

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/并单击“下载构建工具”并安装它。
安装后,您会看到一些选择。选择“C++ 构建工具”并安装它。完成后重新启动计算机。然后运行 ​​ pip install jupyter你应该很好!

关于python - Jupyter Notebook 安装错误 - 为 argon2-cffi (PEP 517) 构建轮子...错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64236463/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com