{"action":"closed","issue":{"url":"https://api.github.com/repos/oppia/oppia/issues/1170","labels_url":"https://api.github.com/repos/oppia/oppia/issues/1170/labels{/name}","comments_url":"https://api.github.com/repos/oppia/oppia/issues/1170/comments","events_url":"https://api.github.com/repos/oppia/oppia/issues/1170/events","html_url":"https://github.com/oppia/oppia/issues/1170","id":118920735,"number":1170,"title":"When installing numpy, pip may not be available on the host machine","user":{"login":"BenHenning","id":12983742,"avatar_url":"https://avatars.githubusercontent.com/u/12983742?v=3","gravatar_id":"","url":"https://api.github.com/users/BenHenning","html_url":"https://github.com/BenHenning","followers_url":"https://api.github.com/users/BenHenning/followers","following_url":"https://api.github.com/users/BenHenning/following{/other_user}","gists_url":"https://api.github.com/users/BenHenning/gists{/gist_id}","starred_url":"https://api.github.com/users/BenHenning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenHenning/subscriptions","organizations_url":"https://api.github.com/users/BenHenning/orgs","repos_url":"https://api.github.com/users/BenHenning/repos","events_url":"https://api.github.com/users/BenHenning/events{/privacy}","received_events_url":"https://api.github.com/users/BenHenning/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/oppia/oppia/labels/bug:%20minor","name":"bug: minor","color":"fef2c0"},{"url":"https://api.github.com/repos/oppia/oppia/labels/starter%20project","name":"starter project","color":"bfe5bf"},{"url":"https://api.github.com/repos/oppia/oppia/labels/TODO:%20code","name":"TODO: code","color":"c7def8"}],"state":"closed","locked":false,"assignee":{"login":"oskarcieslik","id":7048281,"avatar_url":"https://avatars.githubusercontent.com/u/7048281?v=3","gravatar_id":"","url":"https://api.github.com/users/oskarcieslik","html_url":"https://github.com/oskarcieslik","followers_url":"https://api.github.com/users/oskarcieslik/followers","following_url":"https://api.github.com/users/oskarcieslik/following{/other_user}","gists_url":"https://api.github.com/users/oskarcieslik/gists{/gist_id}","starred_url":"https://api.github.com/users/oskarcieslik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oskarcieslik/subscriptions","organizations_url":"https://api.github.com/users/oskarcieslik/orgs","repos_url":"https://api.github.com/users/oskarcieslik/repos","events_url":"https://api.github.com/users/oskarcieslik/events{/privacy}","received_events_url":"https://api.github.com/users/oskarcieslik/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-11-25T20:43:00Z","updated_at":"2015-12-02T21:53:41Z","closed_at":"2015-12-02T21:53:41Z","body":"Per #1156, there is a portion of the install third party process where pip is used to install numpy. However, if pip is not available on the host machine, a very non-user friendly error happens:\r\n\r\n``scripts/install_third_party.sh: line 126: pip: command not found``\r\n\r\nImmediately after ``Installing numpy``. It would be highly preferred to detect whether pip is available on the host machine and, if not, nicely fail in install_third_party and mentioned that numpy is required for Oppia to operate properly and the user must have pip on their local machine in order to install numpy.\r\n\r\nI do have some follow-up questions as well:\r\n1. If the user already has numpy installed, why is pip necessary?\r\n2. What about on Windows? This lends more to (1) since using setting up pip on Windows may be complicated (unless using a version of Python on Windows which come with it) and it may be preferred to simply install numpy through other means. Oppia should probably only install a local copy of numpy if one is not already available on the system."}}