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

install issues with base ubuntu ami on ec2

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 1.10
    • Fix Version/s: 2.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      ec2 ami-4b4ba522

      Description

      Problem:
      There are a number of problems install pymongo on the base ec2 ubuntu ami trying to run the command

      ubuntu> sudo easy_install pymongo

      Reproduce:
      Get the following message on STDERR

      unable to execute gcc: No such file or directory

      Case #2 - python-dev not installed
      Get the following message on STDERR

      bson/_cbsonmodule.c:23:20: error: Python.h: No such file or directory

      Case #3 - python-dev is installed
      Get the following message in STDERR

      bson/time64.c:279: warning: \xe2\x80\x98check_tm\xe2\x80\x99 defined but not used

      Workaround:

      • Have gcc and pyhton-dev installed
      • Ignore STDERR output

      Business Case:

      • ease of use
        Automated or manual installs of pymongo would be simpler if the dependencies were either called out in the install guide or removed from the component

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: