{"action":"created","issue":{"url":"https://api.github.com/repos/rackspace/pyrax/issues/514","repository_url":"https://api.github.com/repos/rackspace/pyrax","labels_url":"https://api.github.com/repos/rackspace/pyrax/issues/514/labels{/name}","comments_url":"https://api.github.com/repos/rackspace/pyrax/issues/514/comments","events_url":"https://api.github.com/repos/rackspace/pyrax/issues/514/events","html_url":"https://github.com/rackspace/pyrax/issues/514","id":50401320,"number":514,"title":"AttributeError: 'Module_six_moves_urllib_parse' object has no attribute 'SplitResult'","user":{"login":"jribbens","id":350846,"avatar_url":"https://avatars.githubusercontent.com/u/350846?v=3","gravatar_id":"","url":"https://api.github.com/users/jribbens","html_url":"https://github.com/jribbens","followers_url":"https://api.github.com/users/jribbens/followers","following_url":"https://api.github.com/users/jribbens/following{/other_user}","gists_url":"https://api.github.com/users/jribbens/gists{/gist_id}","starred_url":"https://api.github.com/users/jribbens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jribbens/subscriptions","organizations_url":"https://api.github.com/users/jribbens/orgs","repos_url":"https://api.github.com/users/jribbens/repos","events_url":"https://api.github.com/users/jribbens/events{/privacy}","received_events_url":"https://api.github.com/users/jribbens/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-11-28T20:18:31Z","updated_at":"2016-03-18T15:28:14Z","closed_at":null,"body":"The above error is what you get when doing 'import pyrax'. This is because setup.py incorrectly says that pyrax needs 'six' version 1.5.2, when in fact it needs a newer version than that. I think it might need 1.6. 1.8 definitely works.\r\n\r\n```\r\nPython 2.7.6 (default, Mar 22 2014, 22:59:56) \r\n[GCC 4.8.2] on linux2\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>> import pyrax\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/usr/local/lib/python2.7/dist-packages/pyrax/__init__.py\", line 59, in <module>\r\n    from novaclient.shell import OpenStackComputeShell as _cs_shell\r\n  File \"/usr/local/lib/python2.7/dist-packages/novaclient/shell.py\", line 47, in <module>\r\n    from novaclient import client\r\n  File \"/usr/local/lib/python2.7/dist-packages/novaclient/client.py\", line 34, in <module>\r\n    from oslo.utils import netutils\r\n  File \"/usr/local/lib/python2.7/dist-packages/oslo/utils/netutils.py\", line 78, in <module>\r\n    class _ModifiedSplitResult(parse.SplitResult):\r\nAttributeError: 'Module_six_moves_urllib_parse' object has no attribute 'SplitResult'\r\n"},"comment":{"url":"https://api.github.com/repos/rackspace/pyrax/issues/comments/198409054","html_url":"https://github.com/rackspace/pyrax/issues/514#issuecomment-198409054","issue_url":"https://api.github.com/repos/rackspace/pyrax/issues/514","id":198409054,"user":{"login":"cwillenterprise","id":17930835,"avatar_url":"https://avatars.githubusercontent.com/u/17930835?v=3","gravatar_id":"","url":"https://api.github.com/users/cwillenterprise","html_url":"https://github.com/cwillenterprise","followers_url":"https://api.github.com/users/cwillenterprise/followers","following_url":"https://api.github.com/users/cwillenterprise/following{/other_user}","gists_url":"https://api.github.com/users/cwillenterprise/gists{/gist_id}","starred_url":"https://api.github.com/users/cwillenterprise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwillenterprise/subscriptions","organizations_url":"https://api.github.com/users/cwillenterprise/orgs","repos_url":"https://api.github.com/users/cwillenterprise/repos","events_url":"https://api.github.com/users/cwillenterprise/events{/privacy}","received_events_url":"https://api.github.com/users/cwillenterprise/received_events","type":"User","site_admin":false},"created_at":"2016-03-18T15:28:14Z","updated_at":"2016-03-18T15:28:14Z","body":"This can help someone else. To correct the problem I had to remove all the packages installed with pip and reinstall all the packages using the package manager. \r\n\r\nTest the module by importing in the python shell."}}