Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of WikiWatershed, a web toolkit designed to help citizens, conservation practitioners, municipal decision-makers, researchers, educators, and students advance knowledge and stewardship of fresh water. New to EnviroDIY? Start here

Problem downloading Mayfly libraries

Home Forums Miscellaneous Problem downloading Mayfly libraries

Viewing 3 reply threads
  • Author
    Posts
    • #2231
      Jim Moore
      Participant

        I am using the Arduino 1.8.2 IDE and I am having a problem installing the Mayfly libraries. I followed the following instructions:

        The simplest way to use these libraries is to right-click on the file “libraries.zip”, select “save link as”, and save the file somewhere on your computer. In your the Arduino Software (IDE), import that zip file following the instructions for “Manual Installation” from https://www.arduino.cc/en/Guide/Libraries. To update the libraries, you will need to re-download the zip file and overwrite the folders.

        Please DO NOT to use the green “Clone or Download” button to try to download a zip file. The zip downloaded that way will only contain empty folders instead of the libraries themselves.

        I try to use the “add zip library…” and get error because “libraries.zip” seems to be an html file not a zip file.

        Any help on this would be apprecitated. Thanks

      • #2232
        Shannon Hicks
        Moderator

          Depending on the browser you’re using, your save options might be worded differently in the drop down box when you right-click on a link. You could also just go directly to the library.zip file page: https://github.com/EnviroDIY/Libraries/blob/master/libraries.zip
          and then click the gray “Download” button on the lower-right side of the page. Note that this is different than using the green “Clone or Download” button on the previous page. Because our library repository is linking to submodules and not actual files, that green button doesn’t work, which is why you have to download the actual “libraries.zip” file.

        • #2233
          Sara Damiano
          Moderator

            I’m sorry for the hassle. You also cannot use the Arduino IDE’s library manager to directly import the libraries; using “add zip library…” won’t work. You have to follow the longer instructions for manual installation because there are multiple libraries in the same zip. That is, you have to extract (unzip) the libraries.zip file into another folder on you computer and then copy all of the sub-folders into “..\<you>\DOCUMENTS\Arduino\libraries” or where ever your sketchbook libraries are stored on your computer.

          • #2234
            Sara Damiano
            Moderator

              I tried to re-word the instructions on GitHub a little and get the link to the zip right so maybe it’s a little less confusing.

          Viewing 3 reply threads
          • You must be logged in to reply to this topic.