{"action":"created","issue":{"url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/issues/409","labels_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/issues/409/labels{/name}","comments_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/issues/409/comments","events_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/issues/409/events","html_url":"https://github.com/rtomac/robotframework-selenium2library/issues/409","id":82433993,"number":409,"title":"Error while installing using pip + Jython 2.7.0 on Windows 8.1","user":{"login":"Tset-Noitamotua","id":5635462,"avatar_url":"https://avatars.githubusercontent.com/u/5635462?v=3","gravatar_id":"","url":"https://api.github.com/users/Tset-Noitamotua","html_url":"https://github.com/Tset-Noitamotua","followers_url":"https://api.github.com/users/Tset-Noitamotua/followers","following_url":"https://api.github.com/users/Tset-Noitamotua/following{/other_user}","gists_url":"https://api.github.com/users/Tset-Noitamotua/gists{/gist_id}","starred_url":"https://api.github.com/users/Tset-Noitamotua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tset-Noitamotua/subscriptions","organizations_url":"https://api.github.com/users/Tset-Noitamotua/orgs","repos_url":"https://api.github.com/users/Tset-Noitamotua/repos","events_url":"https://api.github.com/users/Tset-Noitamotua/events{/privacy}","received_events_url":"https://api.github.com/users/Tset-Noitamotua/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-05-29T13:44:32Z","updated_at":"2015-06-02T15:28:27Z","closed_at":"2015-05-29T14:43:50Z","body":"In Windows 8.1 cmd / shell `jython -m pip install robotframework-selenium2library` leads to this error:\r\n```cmd\r\nTraceback (most recent call last):\r\n  File \"C:\\Jython27\\Lib\\runpy.py\", line 151, in _run_module_as_main\r\n    mod_name, loader, code, fname = _get_module_details(mod_name)\r\n  File \"C:\\Jython27\\Lib\\runpy.py\", line 151, in _run_module_as_main\r\n    mod_name, loader, code, fname = _get_module_details(mod_name)\r\n  File \"C:\\Jython27\\Lib\\runpy.py\", line 109, in _get_module_details\r\n    return _get_module_details(pkg_main_name)\r\n  File \"C:\\Jython27\\Lib\\runpy.py\", line 109, in _get_module_details\r\n    return _get_module_details(pkg_main_name)\r\n  File \"C:\\Jython27\\Lib\\runpy.py\", line 101, in _get_module_details\r\n    loader = get_loader(mod_name)\r\n  File \"C:\\Jython27\\Lib\\pkgutil.py\", line 478, in get_loader\r\n    return find_loader(fullname)\r\n  File \"C:\\Jython27\\Lib\\pkgutil.py\", line 488, in find_loader\r\n    for importer in iter_importers(fullname):\r\n  File \"C:\\Jython27\\Lib\\pkgutil.py\", line 439, in iter_importers\r\n    __import__(pkg)\r\n  File \"C:\\Jython27\\Lib\\site-packages\\pip\\__init__.py\", line 10, in <module>\r\n    from pip.util import get_installed_distributions, get_prog\r\n  File \"C:\\Jython27\\Lib\\site-packages\\pip\\util.py\", line 17, in <module>\r\n    from pip.locations import (\r\n  File \"C:\\Jython27\\Lib\\site-packages\\pip\\locations.py\", line 109, in <module>\r\n    build_prefix = _get_build_prefix()\r\n  File \"C:\\Jython27\\Lib\\site-packages\\pip\\locations.py\", line 90, in _get_build_\r\nprefix\r\n    if file_uid != os.geteuid():\r\nAttributeError: 'module' object has no attribute 'geteuid'\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/issues/comments/107990916","html_url":"https://github.com/rtomac/robotframework-selenium2library/issues/409#issuecomment-107990916","issue_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/issues/409","id":107990916,"user":{"login":"ombre42","id":1576672,"avatar_url":"https://avatars.githubusercontent.com/u/1576672?v=3","gravatar_id":"","url":"https://api.github.com/users/ombre42","html_url":"https://github.com/ombre42","followers_url":"https://api.github.com/users/ombre42/followers","following_url":"https://api.github.com/users/ombre42/following{/other_user}","gists_url":"https://api.github.com/users/ombre42/gists{/gist_id}","starred_url":"https://api.github.com/users/ombre42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ombre42/subscriptions","organizations_url":"https://api.github.com/users/ombre42/orgs","repos_url":"https://api.github.com/users/ombre42/repos","events_url":"https://api.github.com/users/ombre42/events{/privacy}","received_events_url":"https://api.github.com/users/ombre42/received_events","type":"User","site_admin":false},"created_at":"2015-06-02T15:28:27Z","updated_at":"2015-06-02T15:28:27Z","body":"I tried to install using pip and reproduced this issue. I followed my own instructions (deleted\r\n`%TEMP%\\pip_build_*` and retried) and fortunately that was all it took. Not sure if its a bug in Jython, PIP, or S2L's setup. Afterwords I ran a hello world kind of test and it ran fine. I invoked RF from RIDE using a script `jython -m robot.run %*`.\r\n\r\nSo there's hope. Selenium claims Jython 2.7 compatability as of 2.25. @pekkaklarck thanks for the update. It must feel good to remove workarounds."}}