{"action":"created","issue":{"url":"https://api.github.com/repos/nvdv/vprof/issues/18","repository_url":"https://api.github.com/repos/nvdv/vprof","labels_url":"https://api.github.com/repos/nvdv/vprof/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/nvdv/vprof/issues/18/comments","events_url":"https://api.github.com/repos/nvdv/vprof/issues/18/events","html_url":"https://github.com/nvdv/vprof/issues/18","id":133046085,"number":18,"title":"'Process' object has no attribute 'memory_info'","user":{"login":"michael-lazar","id":5026795,"avatar_url":"https://avatars.githubusercontent.com/u/5026795?v=3","gravatar_id":"","url":"https://api.github.com/users/michael-lazar","html_url":"https://github.com/michael-lazar","followers_url":"https://api.github.com/users/michael-lazar/followers","following_url":"https://api.github.com/users/michael-lazar/following{/other_user}","gists_url":"https://api.github.com/users/michael-lazar/gists{/gist_id}","starred_url":"https://api.github.com/users/michael-lazar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michael-lazar/subscriptions","organizations_url":"https://api.github.com/users/michael-lazar/orgs","repos_url":"https://api.github.com/users/michael-lazar/repos","events_url":"https://api.github.com/users/michael-lazar/events{/privacy}","received_events_url":"https://api.github.com/users/michael-lazar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-11T18:14:05Z","updated_at":"2016-02-12T11:11:13Z","closed_at":"2016-02-12T11:11:13Z","body":"I installed through pip on python 2.7.5 and ran into an error when trying to launch\r\n\r\n```\r\n  File \".../lib/python2.7/site-packages/vprof/profile_wrappers.py\", line 27, in get_memory_usage\r\n    memory_info = psutil.Process(os.getpid()).memory_info()\r\nAttributeError: 'Process' object has no attribute 'memory_info'\r\n```\r\n\r\nTurned out I had a really old version of psutil installed (version 1.2.1). Running ``pip install -U psutil`` fixed the problem. I would suggest specifying a minimum version in you requirements.txt file, something like ``psutil>=3`` would probably do it.\r\n"},"comment":{"url":"https://api.github.com/repos/nvdv/vprof/issues/comments/183279373","html_url":"https://github.com/nvdv/vprof/issues/18#issuecomment-183279373","issue_url":"https://api.github.com/repos/nvdv/vprof/issues/18","id":183279373,"user":{"login":"nvdv","id":745431,"avatar_url":"https://avatars.githubusercontent.com/u/745431?v=3","gravatar_id":"","url":"https://api.github.com/users/nvdv","html_url":"https://github.com/nvdv","followers_url":"https://api.github.com/users/nvdv/followers","following_url":"https://api.github.com/users/nvdv/following{/other_user}","gists_url":"https://api.github.com/users/nvdv/gists{/gist_id}","starred_url":"https://api.github.com/users/nvdv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nvdv/subscriptions","organizations_url":"https://api.github.com/users/nvdv/orgs","repos_url":"https://api.github.com/users/nvdv/repos","events_url":"https://api.github.com/users/nvdv/events{/privacy}","received_events_url":"https://api.github.com/users/nvdv/received_events","type":"User","site_admin":false},"created_at":"2016-02-12T11:11:13Z","updated_at":"2016-02-12T11:11:13Z","body":"Thanks!"}}