Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-2350

Windows Python 3 tests failing with "Microsoft Visual C++ 14.0 is required."

    • Type: Icon: Task Task
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: CI
    • None

      Just about all of our Windows Python 3 tests are failing with "Microsoft Visual C++ 14.0 is required." Something must have changed on the windows-64-vsMulti-small distro:

       [2020/08/20 19:06:33.246] Running auth tests over ssl with python C:/python/Python35/python.exe
       [2020/08/20 19:06:33.246] 3.5.4 (v3.5.4:3f56838, Aug  8 2017, 02:17:05) [MSC v.1900 64 bit (AMD64)]
       [2020/08/20 19:06:33.929] running clean
       [2020/08/20 19:06:33.929] running build_ext
       [2020/08/20 19:06:33.929] building 'bson._cbson' extension
       [2020/08/20 19:06:33.929] Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
       [2020/08/20 19:06:33.929] building 'pymongo._cmessage' extension
       [2020/08/20 19:06:33.929] setup.py:304: UserWarning:
       [2020/08/20 19:06:33.929] ********************************************************************
       [2020/08/20 19:06:33.929] WARNING: The bson._cbson extension module could not
       [2020/08/20 19:06:33.929] be compiled. No C extensions are essential for PyMongo to run,
       [2020/08/20 19:06:33.929] although they do result in significant speed improvements.
       [2020/08/20 19:06:33.929] The output above this warning shows how the compilation failed.
       [2020/08/20 19:06:33.929] Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
       [2020/08/20 19:06:33.929] Please see the installation docs for solutions to build issues:
       [2020/08/20 19:06:33.929] https://pymongo.readthedocs.io/en/stable/installation.html
       [2020/08/20 19:06:33.929] Here are some hints for popular operating systems:
       [2020/08/20 19:06:33.929] If you are seeing this message on Linux you probably need to
       [2020/08/20 19:06:33.929] install GCC and/or the Python development package for your
       [2020/08/20 19:06:33.929] version of Python.
       [2020/08/20 19:06:33.929] Debian and Ubuntu users should issue the following command:
       [2020/08/20 19:06:33.929]     $ sudo apt-get install build-essential python-dev
       [2020/08/20 19:06:33.929] Users of Red Hat based distributions (RHEL, CentOS, Amazon Linux,
       [2020/08/20 19:06:33.929] Oracle Linux, Fedora, etc.) should issue the following command:
       [2020/08/20 19:06:33.929]     $ sudo yum install gcc python-devel
       [2020/08/20 19:06:33.929] If you are seeing this message on Microsoft Windows please install
       [2020/08/20 19:06:33.929] PyMongo using pip. Modern versions of pip will install PyMongo
       [2020/08/20 19:06:33.929] from binary wheels available on pypi. If you must install from
       [2020/08/20 19:06:33.929] source read the documentation here:
       [2020/08/20 19:06:33.929] https://pymongo.readthedocs.io/en/stable/installation.html#installing-from-source-on-windows
       [2020/08/20 19:06:33.929] If you are seeing this message on macOS / OSX please install PyMongo
       [2020/08/20 19:06:33.929] using pip. Modern versions of pip will install PyMongo from binary
       [2020/08/20 19:06:33.929] wheels available on pypi. If wheels are not available for your version
       [2020/08/20 19:06:33.929] of macOS / OSX, or you must install from source read the documentation
       [2020/08/20 19:06:33.929] here:
       [2020/08/20 19:06:33.929] https://pymongo.readthedocs.io/en/stable/installation.html#osx
       [2020/08/20 19:06:33.929] ********************************************************************
       [2020/08/20 19:06:33.929]   "The output above "
       [2020/08/20 19:06:33.929] setup.py:304: UserWarning:
       [2020/08/20 19:06:33.929] ********************************************************************
       [2020/08/20 19:06:33.929] WARNING: The pymongo._cmessage extension module could not
       [2020/08/20 19:06:33.929] be compiled. No C extensions are essential for PyMongo to run,
       [2020/08/20 19:06:33.929] although they do result in significant speed improvements.
       [2020/08/20 19:06:33.929] The output above this warning shows how the compilation failed.
       [2020/08/20 19:06:33.929] Please see the installation docs for solutions to build issues:
       [2020/08/20 19:06:33.929] https://pymongo.readthedocs.io/en/stable/installation.html
       [2020/08/20 19:06:33.929] Here are some hints for popular operating systems:
       [2020/08/20 19:06:33.929] If you are seeing this message on Linux you probably need to
       [2020/08/20 19:06:33.929] install GCC and/or the Python development package for your
       [2020/08/20 19:06:33.929] version of Python.
       [2020/08/20 19:06:33.929] Debian and Ubuntu users should issue the following command:
       [2020/08/20 19:06:33.929]     $ sudo apt-get install build-essential python-dev
       [2020/08/20 19:06:33.929] Users of Red Hat based distributions (RHEL, CentOS, Amazon Linux,
       [2020/08/20 19:06:33.929] Oracle Linux, Fedora, etc.) should issue the following command:
       [2020/08/20 19:06:33.929]     $ sudo yum install gcc python-devel
       [2020/08/20 19:06:33.929] If you are seeing this message on Microsoft Windows please install
       [2020/08/20 19:06:33.929] PyMongo using pip. Modern versions of pip will install PyMongo
       [2020/08/20 19:06:33.929] from binary wheels available on pypi. If you must install from
       [2020/08/20 19:06:33.929] source read the documentation here:
       [2020/08/20 19:06:33.929] https://pymongo.readthedocs.io/en/stable/installation.html#installing-from-source-on-windows
       [2020/08/20 19:06:33.929] If you are seeing this message on macOS / OSX please install PyMongo
       [2020/08/20 19:06:33.929] using pip. Modern versions of pip will install PyMongo from binary
       [2020/08/20 19:06:33.929] wheels available on pypi. If wheels are not available for your version
       [2020/08/20 19:06:33.929] of macOS / OSX, or you must install from source read the documentation
       [2020/08/20 19:06:33.929] here:
       [2020/08/20 19:06:33.929] https://pymongo.readthedocs.io/en/stable/installation.html#osx
       [2020/08/20 19:06:33.929] ********************************************************************
       [2020/08/20 19:06:33.929]   "The output above "
       [2020/08/20 19:06:34.090] Traceback (most recent call last):
       [2020/08/20 19:06:34.090]   File "<string>", line 1, in <module>
       [2020/08/20 19:06:34.090] ImportError: cannot import name '_cbson'
       [2020/08/20 19:06:34.107] Command failed: command encountered problem: error waiting on process '1b0ec2ab-81b2-4b27-b08f-60ee1d0bf31c': exit status 1
       [2020/08/20 19:06:34.107] Task completed - FAILURE.
      

      https://evergreen.mongodb.com/task/mongo_python_driver_tests_windows_python_version__platform~windows_64_vsMulti_small_auth_ssl~auth_ssl_python_version_windows~3.5_test_2.6_standalone_031492aefee205eacb6aff1644f38de4bc1fa223_20_08_14_23_41_27

      Edit: The windows tests last worked on August 12th and first failed on August 20th.

            Assignee:
            Unassigned Unassigned
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: