{"action":"created","issue":{"url":"https://api.github.com/repos/esp8266/Arduino/issues/4726","repository_url":"https://api.github.com/repos/esp8266/Arduino","labels_url":"https://api.github.com/repos/esp8266/Arduino/issues/4726/labels{/name}","comments_url":"https://api.github.com/repos/esp8266/Arduino/issues/4726/comments","events_url":"https://api.github.com/repos/esp8266/Arduino/issues/4726/events","html_url":"https://github.com/esp8266/Arduino/issues/4726","id":322659310,"number":4726,"title":"Can't be installed successfully","user":{"login":"lukeweston","id":95792,"avatar_url":"https://avatars3.githubusercontent.com/u/95792?v=4","gravatar_id":"","url":"https://api.github.com/users/lukeweston","html_url":"https://github.com/lukeweston","followers_url":"https://api.github.com/users/lukeweston/followers","following_url":"https://api.github.com/users/lukeweston/following{/other_user}","gists_url":"https://api.github.com/users/lukeweston/gists{/gist_id}","starred_url":"https://api.github.com/users/lukeweston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukeweston/subscriptions","organizations_url":"https://api.github.com/users/lukeweston/orgs","repos_url":"https://api.github.com/users/lukeweston/repos","events_url":"https://api.github.com/users/lukeweston/events{/privacy}","received_events_url":"https://api.github.com/users/lukeweston/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-14T03:12:34Z","updated_at":"2018-05-18T11:29:03Z","closed_at":null,"author_association":"NONE","body":"Arduino IDE Version: 1.8.5\r\nMac OSX 10.12.6\r\nPython: 2.7.10\r\nWhich ESP8266 hardware I'm using is irrelevant, I'm not really up to that point.\r\nI've shown the specific git clone path and board manager JSON file URL, below.\r\n\r\nI have inserted the following entry into the additional board manager URLs:\r\n`http://arduino.esp8266.com/stable/package_esp8266com_index.json\r\n`\r\nThe ESP8266 entry is now visible for installation in the Board Manager GUI.\r\nI've attempted to install, with v 2.4.1 selected. (Selecting 2.4.0 does not fix the issue.)\r\n\r\nInstallation fails with the following error message in red text:\r\n`Error downloading https://github.com/esp8266/Arduino/releases/download/2.4.1/esp8266-2.4.1.zip\r\n`\r\n\r\nOK, that doesn't work, so let's try manually installing it.\r\nI don't mind manual installation, as long as it gets the job done in a usable way.\r\n(Remember this is OSX, so we're inside /Applications/Arduino.app/)\r\n`cd /Applications/Arduino.app/Contents/Java\r\n`\r\n`cd hardware\r\n`\r\n`mkdir esp8266com\r\n`\r\n`cd esp8266com\r\n`\r\n`git clone https://github.com/esp8266/Arduino.git esp8266\r\n`\r\n`cd esp8266/tools\r\n`\r\nSo far so good.\r\n\r\n`get.py` fails. I'm not sure what Python packages etc, if any, are prerequisites for this script. No such requirements, beyond Python 2.7 itself, are documented on the documentation page.\r\n\r\nPython is installed. (2.7.10)\r\n\r\nI have followed the instructions as they are given on the documentation page, for both the manual install-from-git and the Board Manager cases, and in neither case can I get a successful installation.\r\n\r\n```\r\n$ python get.py\r\nTraceback (most recent call last):\r\n  File \"get.py\", line 15, in <module>\r\n    import tarfile\r\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/tarfile.py\", line 52, in <module>\r\n    import copy\r\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/copy.py\", line 52, in <module>\r\n    import weakref\r\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/weakref.py\", line 14, in <module>\r\n    from _weakref import (\r\nImportError: cannot import name _remove_dead_weakref\r\n```\r\n\r\n\r\n----------------------------- Delete above -----------------------------\r\n\r\n### Basic Infos\r\n\r\n- [X] This issue complies with the [issue POLICY doc](https://github.com/esp8266/Arduino/blob/master/POLICY.md).\r\n- [X] I have read the documentation at [readthedocs](https://arduino-esp8266.readthedocs.io/en/latest) and the issue is not addressed there.\r\n- [X] I have tested that the issue is present in current master branch (aka latest git).\r\n- [X] I have searched the issue tracker for a similar issue.\r\n- [X] If there is a stack dump, I have decoded it.\r\n- [X] I have filled out all fields below.\r\n\r\n#### Platform\r\n\r\n- Hardware:\t\t\t\t\t[ESP-12|ESP-01|ESP-07|ESP8285 device|other]\r\n- Core Version:\t\t\t[latest git hash or date]\r\n- Development Env:\t\t[Arduino IDE|Platformio|Make|other]\r\n- Operating System:\t\t[Windows|Ubuntu|MacOS]\r\n\r\n### Settings in IDE\r\n\r\n- Module:  \t\t\t[Generic ESP8266 Module|Wemos D1 mini r2|Nodemcu|other]\r\n- Flash Mode:\t\t\t[qio|dio|other]\r\n- Flash Size: \t\t[4MB/1MB]\r\n- lwip Variant:   [v1.4|v2 Lower Memory|Higher Bandwidth]\r\n- Reset Method:\t\t[ck|nodemcu]\r\n- Flash Frequency:\t[40Mhz]\r\n- CPU Frequency:\t\t[80Mhz|160MHz]\r\n- Upload Using:\t\t[OTA|SERIAL]\r\n- Upload Speed:   [115200|other] (serial upload only)\r\n\r\n\r\n### Problem Description\r\n\r\nDetailed problem description goes here.\r\n\r\n\r\n### [MCVE](https://stackoverflow.com/help/mcve) Sketch\r\n\r\n```cpp\r\n\r\n#include <Arduino.h>\r\n\r\nvoid setup() {\r\n\r\n}\r\n\r\nvoid loop() {\r\n\r\n}\r\n\r\n```\r\n\r\n### Debug Messages\r\n\r\n```\r\nDebug messages go here\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/esp8266/Arduino/issues/comments/390178755","html_url":"https://github.com/esp8266/Arduino/issues/4726#issuecomment-390178755","issue_url":"https://api.github.com/repos/esp8266/Arduino/issues/4726","id":390178755,"user":{"login":"d-a-v","id":4800356,"avatar_url":"https://avatars3.githubusercontent.com/u/4800356?v=4","gravatar_id":"","url":"https://api.github.com/users/d-a-v","html_url":"https://github.com/d-a-v","followers_url":"https://api.github.com/users/d-a-v/followers","following_url":"https://api.github.com/users/d-a-v/following{/other_user}","gists_url":"https://api.github.com/users/d-a-v/gists{/gist_id}","starred_url":"https://api.github.com/users/d-a-v/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d-a-v/subscriptions","organizations_url":"https://api.github.com/users/d-a-v/orgs","repos_url":"https://api.github.com/users/d-a-v/repos","events_url":"https://api.github.com/users/d-a-v/events{/privacy}","received_events_url":"https://api.github.com/users/d-a-v/received_events","type":"User","site_admin":false},"created_at":"2018-05-18T11:29:03Z","updated_at":"2018-05-18T11:29:03Z","author_association":"COLLABORATOR","body":"It seems that python 2.7.14 solves the import thing."}}
{"actor":{"display_login":"d-a-v"}}