Title: macOS issue -- ImportError: No module named 'serial' · Issue #20 · codebugtools/codebug_tether · GitHub
Open Graph Title: macOS issue -- ImportError: No module named 'serial' · Issue #20 · codebugtools/codebug_tether
X Title: macOS issue -- ImportError: No module named 'serial' · Issue #20 · codebugtools/codebug_tether
Description: The install instructions which are in readthedocs (and also on CodeBug's Activities) are missing a crucial library that doesn't come installed in vanilla python (at least not on the Mac) pyserial Here's what happens on a brand new python...
Open Graph Description: The install instructions which are in readthedocs (and also on CodeBug's Activities) are missing a crucial library that doesn't come installed in vanilla python (at least not on the Mac) pyserial H...
X Description: The install instructions which are in readthedocs (and also on CodeBug's Activities) are missing a crucial library that doesn't come installed in vanilla python (at least not on the Mac) py...
Opengraph URL: https://github.com/codebugtools/codebug_tether/issues/20
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"macOS issue -- ImportError: No module named 'serial'","articleBody":"The install instructions which are in readthedocs (and also on CodeBug's Activities) are missing a crucial library that doesn't come installed in vanilla python (at least not on the Mac)\r\n\r\n**pyserial**\r\n\r\nHere's what happens on a brand new python virtualenv:\r\n\r\n```shell\r\n(hax) mjl@milo:codebug$ python\r\nPython 3.5.2 (default, Jul 28 2016, 21:28:00)\r\n[GCC 4.2.1 Compatible Apple LLVM 7.3.0 (clang-703.0.31)] on darwin\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n\u003e\u003e\u003e import codebug_tether\r\nTraceback (most recent call last):\r\n File \"\u003cstdin\u003e\", line 1, in \u003cmodule\u003e\r\n File \"/Users/mjl/lib/hax/lib/python3.5/site-packages/codebug_tether/__init__.py\", line 1, in \u003cmodule\u003e\r\n from codebug_tether.core import (CodeBug,\r\n File \"/Users/mjl/lib/hax/lib/python3.5/site-packages/codebug_tether/core.py\", line 3, in \u003cmodule\u003e\r\n import serial\r\nImportError: No module named 'serial'\r\n\u003e\u003e\u003e\r\n```\r\n\r\n\r\nIf the instructions are updated to add *pyserial* as well as *codebug_tether* (or set it as a dependency for the package) then it will solve for other kids playing along:\r\n\r\n```shell\r\npip install codebug_tether pyserial\r\n```\r\n\r\n*Then* it works.\r\n\r\nLet's try:\r\n\r\n```shell\r\n(hax) mjl@milo:codebug$ pip install pyserial\r\nCollecting pyserial\r\n Downloading pyserial-3.2.1-py2.py3-none-any.whl (189kB)\r\n 100% |████████████████████████████████| 194kB 967kB/s\r\nInstalling collected packages: pyserial\r\nSuccessfully installed pyserial-3.2.1\r\n```\r\n\r\nNow import the module:\r\n\r\n```shell\r\n(hax) mjl@milo:codebug$ python\r\nPython 3.5.2 (default, Jul 28 2016, 21:28:00)\r\n[GCC 4.2.1 Compatible Apple LLVM 7.3.0 (clang-703.0.31)] on darwin\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n\u003e\u003e\u003e import codebug_tether\r\n\u003e\u003e\u003e\r\n```\r\n\r\nHappy Hacking!","author":{"url":"https://github.com/sinewalker","@type":"Person","name":"sinewalker"},"datePublished":"2016-11-04T21:11:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/20/codebug_tether/issues/20"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c8b62c53-2692-a0b8-6b70-14304365a5e5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C17A:60AD3:115BB:16064:698DEC55 |
| html-safe-nonce | b44c5587d06f476d9452353cb813b85f61c9bbef4af9af59c10b3fe45691079a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTdBOjYwQUQzOjExNUJCOjE2MDY0OjY5OERFQzU1IiwidmlzaXRvcl9pZCI6IjgyMTcxMzE4MTQ3MzAxOTgxMDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e8576ef7cd95d2cfea182afb46d71fcc1bf9ae910a3e9443869b212145753353 |
| hovercard-subject-tag | issue:187439289 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/codebugtools/codebug_tether/20/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a0bd1cb2f1381f7c8fc1cd07b8af3b18b4cd6bf799f41656e857c270003c608c/codebugtools/codebug_tether/issues/20 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a0bd1cb2f1381f7c8fc1cd07b8af3b18b4cd6bf799f41656e857c270003c608c/codebugtools/codebug_tether/issues/20 |
| og:image:alt | The install instructions which are in readthedocs (and also on CodeBug's Activities) are missing a crucial library that doesn't come installed in vanilla python (at least not on the Mac) pyserial H... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sinewalker |
| hostname | github.com |
| expected-hostname | github.com |
| None | 929d0ce8b653d60df0698366d7e9012f9423ea1bace40816e16e5b007242aae4 |
| turbo-cache-control | no-preview |
| go-import | github.com/codebugtools/codebug_tether git https://github.com/codebugtools/codebug_tether.git |
| octolytics-dimension-user_id | 12597199 |
| octolytics-dimension-user_login | codebugtools |
| octolytics-dimension-repository_id | 38829544 |
| octolytics-dimension-repository_nwo | codebugtools/codebug_tether |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 38829544 |
| octolytics-dimension-repository_network_root_nwo | codebugtools/codebug_tether |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 143e58641f5eb460a02eda3a18cc1ef28e8c5188 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width