Jupyter Notebook installation error - Building wheel for argon2-cffi (PEP 517) … error

后端 未结 5 1941
小蘑菇
小蘑菇 2021-01-12 07:09
Building wheels for collected packages: argon2-cffi
  Building wheel for argon2-cffi (PEP 517) ... error
  ERROR: Command errored out with exit status 1:
   command:         


        
相关标签:
5条回答
  • 2021-01-12 07:17

    P.S. The wheel is added now

    Microsoft Visual C++ 14.2 standalone: Build Tools for Visual Studio 2019 (x86, x64, ARM, ARM64)

    This is a standalone version of Visual C++ 14.2 compiler, you don't need to install Visual Studio 2019.

    • Install Microsoft Build Tools for Visual Studio 2019.

    • In Build tools, install C++ build tools and ensure the latest versions of MSVCv142 - VS 2019 C++ x64/x86 build tools and Windows 10 SDK are checked.

    • The setuptools Python package version must be at least 34.4.0.

    Build Tools also allows us to install any previous Visual C++ 14 version (Including 2015, 2017 ones).

    Source

    1.11 GB Download size; Space 4.4 GB

    0 讨论(0)
  • 2021-01-12 07:21

    argon2-cffi is now shipping Python 3.9 wheels for Windows which should resolve your installation problem.

    0 讨论(0)
  • 2021-01-12 07:24

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

    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.

    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/
    

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

    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!

    0 讨论(0)
  • 2021-01-12 07:36

    In case if other people have problem and in their case that will work.

    In my case I used:

    py -3.8 -m pip install pyautogui
    

    That gave me respond:

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

    So after I installed Python 3.8 once again used:

    py -3.8 -m pip install pyautogui
    

    Result:

    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.
    
    0 讨论(0)
  • 2021-01-12 07:39

    As the error indicates you need to download Microsoft Visual C++ 14.0 or greater.

    0 讨论(0)
提交回复
热议问题