{"action":"created","issue":{"url":"https://api.github.com/repos/obskyr/khinsider/issues/8","repository_url":"https://api.github.com/repos/obskyr/khinsider","labels_url":"https://api.github.com/repos/obskyr/khinsider/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/obskyr/khinsider/issues/8/comments","events_url":"https://api.github.com/repos/obskyr/khinsider/issues/8/events","html_url":"https://github.com/obskyr/khinsider/issues/8","id":141450210,"number":8,"title":"Error when running in Nitrous.IO","user":{"login":"LucasOne","id":7173984,"avatar_url":"https://avatars.githubusercontent.com/u/7173984?v=3","gravatar_id":"","url":"https://api.github.com/users/LucasOne","html_url":"https://github.com/LucasOne","followers_url":"https://api.github.com/users/LucasOne/followers","following_url":"https://api.github.com/users/LucasOne/following{/other_user}","gists_url":"https://api.github.com/users/LucasOne/gists{/gist_id}","starred_url":"https://api.github.com/users/LucasOne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LucasOne/subscriptions","organizations_url":"https://api.github.com/users/LucasOne/orgs","repos_url":"https://api.github.com/users/LucasOne/repos","events_url":"https://api.github.com/users/LucasOne/events{/privacy}","received_events_url":"https://api.github.com/users/LucasOne/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-17T01:34:16Z","updated_at":"2016-03-17T23:36:17Z","closed_at":null,"body":"I get this error when running\r\nmyproject  python khinsider.py\r\nInstalling beautifulsoup4...\r\nException:\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/dist-packages/pip/basecommand.py\", line 122, in main\r\n    status = self.run(options, args)\r\n  File \"/usr/lib/python2.7/dist-packages/pip/commands/install.py\", line 283, in run\r\n    requirement_set.install(install_options, global_options, root=options.root_path)\r\n  File \"/usr/lib/python2.7/dist-packages/pip/req.py\", line 1436, in install\r\n    requirement.install(install_options, global_options, *args, **kwargs)\r\n  File \"/usr/lib/python2.7/dist-packages/pip/req.py\", line 672, in install\r\n    self.move_wheel_files(self.source_dir, root=root)\r\n  File \"/usr/lib/python2.7/dist-packages/pip/req.py\", line 902, in move_wheel_files\r\n    pycompile=self.pycompile,\r\n  File \"/usr/lib/python2.7/dist-packages/pip/wheel.py\", line 206, in move_wheel_files\r\n    clobber(source, lib_dir, True)\r\n  File \"/usr/lib/python2.7/dist-packages/pip/wheel.py\", line 193, in clobber\r\n    os.makedirs(destsubdir)\r\n  File \"/usr/lib/python2.7/os.py\", line 157, in makedirs\r\n    mkdir(name, mode)\r\nOSError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/beautifulsoup4-4.4.1.dist-info'\r\nStoring debug log for failure in /home/nitrous/.pip/pip.log\r\nTraceback (most recent call last):\r\n  File \"khinsider.py\", line 60, in <module>\r\n    from bs4 import BeautifulSoup\r\nImportError: No module named bs4"},"comment":{"url":"https://api.github.com/repos/obskyr/khinsider/issues/comments/198132006","html_url":"https://github.com/obskyr/khinsider/issues/8#issuecomment-198132006","issue_url":"https://api.github.com/repos/obskyr/khinsider/issues/8","id":198132006,"user":{"login":"obskyr","id":4363779,"avatar_url":"https://avatars.githubusercontent.com/u/4363779?v=3","gravatar_id":"","url":"https://api.github.com/users/obskyr","html_url":"https://github.com/obskyr","followers_url":"https://api.github.com/users/obskyr/followers","following_url":"https://api.github.com/users/obskyr/following{/other_user}","gists_url":"https://api.github.com/users/obskyr/gists{/gist_id}","starred_url":"https://api.github.com/users/obskyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obskyr/subscriptions","organizations_url":"https://api.github.com/users/obskyr/orgs","repos_url":"https://api.github.com/users/obskyr/repos","events_url":"https://api.github.com/users/obskyr/events{/privacy}","received_events_url":"https://api.github.com/users/obskyr/received_events","type":"User","site_admin":false},"created_at":"2016-03-17T23:36:17Z","updated_at":"2016-03-17T23:36:17Z","body":"I've never used Nitrous (never even heard of it until now, actually), so I don't really know what this is about. I'd assume maybe it doesn't like installing libraries through the actual program? One possibility is that it runs Python scripts with different permissions than what's required to access the `lib` directory. Maybe I should add an error message for that...\r\n\r\nTry running these commands in whatever console Nitrous gives you (with `sudo` if it seems to require it):\r\n\r\n```bash\r\npip install requests\r\npip install beautifulsoup4\r\n```\r\n\r\nThen see if it gets mad at you and report back."}}