{"action":"created","issue":{"url":"https://api.github.com/repos/SHTOOLS/SHTOOLS/issues/7","labels_url":"https://api.github.com/repos/SHTOOLS/SHTOOLS/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/SHTOOLS/SHTOOLS/issues/7/comments","events_url":"https://api.github.com/repos/SHTOOLS/SHTOOLS/issues/7/events","html_url":"https://github.com/SHTOOLS/SHTOOLS/issues/7","id":120205313,"number":7,"title":"SHTOOLS Installation","user":{"login":"Mstabdelbaky","id":16101683,"avatar_url":"https://avatars.githubusercontent.com/u/16101683?v=3","gravatar_id":"","url":"https://api.github.com/users/Mstabdelbaky","html_url":"https://github.com/Mstabdelbaky","followers_url":"https://api.github.com/users/Mstabdelbaky/followers","following_url":"https://api.github.com/users/Mstabdelbaky/following{/other_user}","gists_url":"https://api.github.com/users/Mstabdelbaky/gists{/gist_id}","starred_url":"https://api.github.com/users/Mstabdelbaky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mstabdelbaky/subscriptions","organizations_url":"https://api.github.com/users/Mstabdelbaky/orgs","repos_url":"https://api.github.com/users/Mstabdelbaky/repos","events_url":"https://api.github.com/users/Mstabdelbaky/events{/privacy}","received_events_url":"https://api.github.com/users/Mstabdelbaky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2015-12-03T15:59:24Z","updated_at":"2015-12-06T02:57:13Z","closed_at":null,"body":"I would to use SHTOOLS programs. when i installed the SHTOOLS, i got this error and i don't know the reasons. I wish if you can help me to solve this error.\r\nThank you.\r\n![shtools p1](https://cloud.githubusercontent.com/assets/16101683/11565640/80453088-99e7-11e5-885b-5aeabf795eca.png)\r\n\r\nBest Regards,\r\nMostafa"},"comment":{"url":"https://api.github.com/repos/SHTOOLS/SHTOOLS/issues/comments/162265422","html_url":"https://github.com/SHTOOLS/SHTOOLS/issues/7#issuecomment-162265422","issue_url":"https://api.github.com/repos/SHTOOLS/SHTOOLS/issues/7","id":162265422,"user":{"login":"elmerehbi","id":3155152,"avatar_url":"https://avatars.githubusercontent.com/u/3155152?v=3","gravatar_id":"","url":"https://api.github.com/users/elmerehbi","html_url":"https://github.com/elmerehbi","followers_url":"https://api.github.com/users/elmerehbi/followers","following_url":"https://api.github.com/users/elmerehbi/following{/other_user}","gists_url":"https://api.github.com/users/elmerehbi/gists{/gist_id}","starred_url":"https://api.github.com/users/elmerehbi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elmerehbi/subscriptions","organizations_url":"https://api.github.com/users/elmerehbi/orgs","repos_url":"https://api.github.com/users/elmerehbi/repos","events_url":"https://api.github.com/users/elmerehbi/events{/privacy}","received_events_url":"https://api.github.com/users/elmerehbi/received_events","type":"User","site_admin":false},"created_at":"2015-12-06T02:57:13Z","updated_at":"2015-12-06T02:57:13Z","body":"I was having similar difficulties (with libfftw). I already had fortran & LAPACK and the rest installed. So I just fixed fftw by installing it from the Ubuntu repo (libfftw3-dev) as you suggest in the comments. It fixed it and I just tested with the Python examples and the work. And I was able to import pyshtools.\r\n\r\nMostafa, I hope things are not messed up. I will instruct you here on a way that might work. I cannot guarantee it (and I suggest you wait for Matthias's feedback):\r\n\r\nTry each of the following in the terminal one at a time.\r\n```\r\napt-cache show libblas3gf\r\napt-cache show liblapack\r\napt-cache show libfftw3-dev\r\n```\r\nDo they return a \"Unable to locate packages\"? I do not suggest you compile them from source as it can be quite a hassle. I suggest you use the command I once used on Ubuntu 10 ( and then on Ubuntu 12) to get them (I was [compiling the Muesli Fortran](http://elmerehbi.com/2012/05/18/compiling-muesli-fortran/) if you wish to know):\r\n\r\n```\r\nsudo apt-get install libblas-dev liblapack-dev g++ gfortran libfftw3-dev\r\n```\r\nThen try to compile SHTOOLs:\r\n```\r\ncd /path-to-directory/\r\nmake\r\n```\r\nIf you do not get any error then it was successful. You can now do one (or both) of the tests:\r\n\r\n```\r\nmake fortran-tests\r\nmake python-tests\r\n````\r\n\r\nHope this helps. if you get an error somewhere just share it as you've been doing.\r\n\r\nGood luck"}}