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我在我的电脑上安装了python3.9。当我试图安装jupyter笔记本时,我得到了这个错误。那么如何解决这个问题呢?
发布于 2021-09-28 20:42:21
如果mac用户在Intel CPU上,只要检查您的pip版本,如果您是通过以下命令安装的:
pip install notebook升级您的PIP,为我工作的命令:
/Library/Developer/CommandLineTools/usr/bin/python3 -m pip install --upgrade pip使用命令检查它是否是PIP的最新版本:
pip --version在此之后,再次尝试:
pip install notebook这一次您不应该看到任何错误。
然后在path变量中包括~/Library/Python/3.8/bin。通过以下方式检查是否在那里:
echo $PATH然后通过命令启动jupyter笔记本:
jupyter notebook发布于 2020-10-10 16:35:08
我和你有同样的问题。我就是这样解决的。
我在这里找到了答案:https://discuss.codecademy.com/t/having-trouble-installing-jupyter-notebooks/537292/2
如果您愿意,可以使用该链接并按照说明进行操作。我也会在这里告诉你怎么做。
这是个简单的解决办法。此错误是由于MicrosoftVisualC++已过时。在错误中,它将为您提供更新的链接。
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,您应该会很好!
发布于 2021-11-19 10:54:04
当我调用python 3.7.5时,我遇到了这个问题
pip install jupyter解决办法是先打电话
pip install argon2-cffi==20.1.0 然后打电话
pip install jupyter我认为这个错误存在于最新版本的argon2-cffi中。它是21.1.0 https://pypi.org/project/argon2-cffi/21.1.0/#history
https://stackoverflow.com/questions/64236463
复制相似问题