django-allauth icon indicating copy to clipboard operation
django-allauth copied to clipboard

pip cannot install on Python 3.11.0a7

Open catafest opened this issue 2 years ago • 1 comments

pip tool cannot install it on Python 3.11.0a7 see :

                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Python311alpha\Lib\site-packages\setuptools\msvc.py", line 270,
 in _msvc14_get_vc_env
          raise distutils.errors.DistutilsPlatformError(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 or grea
ter is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.m
icrosoft.com/visual-cpp-build-tools/
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem wit
h pip.
error: metadata-generation-failed

x Encountered error while generating package metadata.
?─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

catafest avatar May 07 '22 10:05 catafest

@catafest answer in error log. You need to download and install Microsoft C++ Build Tools distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/

toviszsolt avatar Jun 07 '22 22:06 toviszsolt