{"action":"created","issue":{"url":"https://api.github.com/repos/micropython/micropython/issues/839","labels_url":"https://api.github.com/repos/micropython/micropython/issues/839/labels{/name}","comments_url":"https://api.github.com/repos/micropython/micropython/issues/839/comments","events_url":"https://api.github.com/repos/micropython/micropython/issues/839/events","html_url":"https://github.com/micropython/micropython/issues/839","id":41483151,"number":839,"title":"pip-micropython can't install micropython-select on some systems","user":{"login":"dpgeorge","id":6187689,"avatar_url":"https://avatars.githubusercontent.com/u/6187689?v=3","gravatar_id":"","url":"https://api.github.com/users/dpgeorge","html_url":"https://github.com/dpgeorge","followers_url":"https://api.github.com/users/dpgeorge/followers","following_url":"https://api.github.com/users/dpgeorge/following{/other_user}","gists_url":"https://api.github.com/users/dpgeorge/gists{/gist_id}","starred_url":"https://api.github.com/users/dpgeorge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpgeorge/subscriptions","organizations_url":"https://api.github.com/users/dpgeorge/orgs","repos_url":"https://api.github.com/users/dpgeorge/repos","events_url":"https://api.github.com/users/dpgeorge/events{/privacy}","received_events_url":"https://api.github.com/users/dpgeorge/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/micropython/micropython/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-08-29T09:10:32Z","updated_at":"2015-06-23T10:39:41Z","closed_at":"2015-06-23T10:39:40Z","body":"Running:\r\n\r\n    pip-micropython install micropython-select\r\n\r\nDoes not work (for me).  It's downloading the correct package and using CPython to run the setup.py script.  But then this script eventually imports select which imports the micropython-select not the CPython select.  The micropython-select imports ffi which doesn't exist in CPython.\r\n\r\nHere is the error message:\r\n```\r\nDestination library directory: /home/damien/.micropython/lib\r\nDownloading/unpacking micropython-select\r\n  Downloading micropython-select-0.0.8.tar.gz\r\n  Running setup.py (path:/tmp/pip-micropy-venv/build/micropython-select/setup.py) egg_info for package micropython-select\r\n    Traceback (most recent call last):\r\n      File \"<string>\", line 3, in <module>\r\n      File \"/tmp/pip-micropy-venv/lib/python3.4/site-packages/setuptools/__init__.py\", line 12, in <module>\r\n        from setuptools.extension import Extension\r\n      File \"/tmp/pip-micropy-venv/lib/python3.4/site-packages/setuptools/extension.py\", line 7, in <module>\r\n        from setuptools.dist import _get_unpatched\r\n      File \"/tmp/pip-micropy-venv/lib/python3.4/site-packages/setuptools/dist.py\", line 16, in <module>\r\n        from setuptools.compat import numeric_types, basestring\r\n      File \"/tmp/pip-micropy-venv/lib/python3.4/site-packages/setuptools/compat.py\", line 49, in <module>\r\n        from http.server import HTTPServer, SimpleHTTPRequestHandler\r\n      File \"/usr/lib64/python3.4/http/server.py\", line 93, in <module>\r\n        import select\r\n      File \"/tmp/pip-micropy-venv/build/micropython-select/select.py\", line 1, in <module>\r\n        import ffi\r\n    ImportError: No module named 'ffi'\r\n```"},"comment":{"url":"https://api.github.com/repos/micropython/micropython/issues/comments/114440545","html_url":"https://github.com/micropython/micropython/issues/839#issuecomment-114440545","issue_url":"https://api.github.com/repos/micropython/micropython/issues/839","id":114440545,"user":{"login":"dpgeorge","id":6187689,"avatar_url":"https://avatars.githubusercontent.com/u/6187689?v=3","gravatar_id":"","url":"https://api.github.com/users/dpgeorge","html_url":"https://github.com/dpgeorge","followers_url":"https://api.github.com/users/dpgeorge/followers","following_url":"https://api.github.com/users/dpgeorge/following{/other_user}","gists_url":"https://api.github.com/users/dpgeorge/gists{/gist_id}","starred_url":"https://api.github.com/users/dpgeorge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpgeorge/subscriptions","organizations_url":"https://api.github.com/users/dpgeorge/orgs","repos_url":"https://api.github.com/users/dpgeorge/repos","events_url":"https://api.github.com/users/dpgeorge/events{/privacy}","received_events_url":"https://api.github.com/users/dpgeorge/received_events","type":"User","site_admin":false},"created_at":"2015-06-23T10:39:40Z","updated_at":"2015-06-23T10:39:40Z","body":"This issue is resolved now that we have upip.  Specifically the following works:\r\n```\r\nmicropython -m upip install micropython-select\r\n```"}}