tag:blogger.com,1999:blog-3164315269750188023.post6792978188631932073..comments2023-04-30T20:41:50.853+07:00Comments on 栄壮 A6: Installing Matplotlib Basemap 1.0.1 on Ubuntu 11.04 64bitplgsekiphttp://www.blogger.com/profile/15555916145617317734noreply@blogger.comBlogger22125tag:blogger.com,1999:blog-3164315269750188023.post-90313390741726471272012-04-28T04:19:38.648+07:002012-04-28T04:19:38.648+07:00yes :D thanks a ton! :)yes :D thanks a ton! :)Chaitra20031990https://www.blogger.com/profile/04729446723584389784noreply@blogger.comtag:blogger.com,1999:blog-3164315269750188023.post-67186882680059293992012-04-28T04:16:43.887+07:002012-04-28T04:16:43.887+07:00Hi Chaitra20031990
Glad to hear that. :-D
Wow, the...Hi Chaitra20031990<br />Glad to hear that. :-D<br />Wow, the comments were almost at the same time. Cheers!plgsekiphttps://www.blogger.com/profile/15555916145617317734noreply@blogger.comtag:blogger.com,1999:blog-3164315269750188023.post-10322873017822815422012-04-28T04:07:15.711+07:002012-04-28T04:07:15.711+07:00Hi Chaitra20031990!
Have you installed libgeos-dev...Hi Chaitra20031990!<br />Have you installed libgeos-dev on your system? Thanks.plgsekiphttps://www.blogger.com/profile/15555916145617317734noreply@blogger.comtag:blogger.com,1999:blog-3164315269750188023.post-19264776667693769862012-04-28T04:04:45.042+07:002012-04-28T04:04:45.042+07:00okay, i figured it out! :D
thought it'd be hel...okay, i figured it out! :D<br />thought it'd be helpful if i posted it here.<br />so, if the above mentioned commands doesn't get basemaps running, type the following command in terminal<br /><br />apt-get install python-matplotlib python-numpy libgeos-dev python-httplib2 python-imaging <br /><br />and then, re-install basemaps. it works! :)Chaitra20031990https://www.blogger.com/profile/04729446723584389784noreply@blogger.comtag:blogger.com,1999:blog-3164315269750188023.post-35762303128208517882012-04-28T03:51:18.238+07:002012-04-28T03:51:18.238+07:00hey,
these are the errors that i encountered.
src...hey,<br />these are the errors that i encountered.<br /><br />src/_geoslib.c:224:20: fatal error: geos_c.h: No such file or directory<br />compilation terminated.<br />src/_geoslib.c:224:20: fatal error: geos_c.h: No such file or directory<br />compilation terminated.<br />error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/share/pyshared/django/contrib/gis/geos/include -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c src/_geoslib.c -o build/temp.linux-i686-2.7/src/_geoslib.o" failed with exit status 1<br /><br /><br />i couldn't find geoslib in /usr/local/bin/python/dist-packages. it is present only in basemap1.0.1 folder. i also deleted the folder from basemap1.0.1/build. it still doesn't work :(<br />help!Chaitra20031990https://www.blogger.com/profile/04729446723584389784noreply@blogger.comtag:blogger.com,1999:blog-3164315269750188023.post-7656616886913771472012-04-28T03:39:51.144+07:002012-04-28T03:39:51.144+07:00This comment has been removed by the author.Chaitra20031990https://www.blogger.com/profile/04729446723584389784noreply@blogger.comtag:blogger.com,1999:blog-3164315269750188023.post-31043721301986754732012-04-11T05:54:02.298+07:002012-04-11T05:54:02.298+07:00Hi Eyal!
Glad to hear that. You are most welcome. ...Hi Eyal!<br />Glad to hear that. You are most welcome. Cheers!plgsekiphttps://www.blogger.com/profile/15555916145617317734noreply@blogger.comtag:blogger.com,1999:blog-3164315269750188023.post-70416153367832067692012-04-10T23:22:48.885+07:002012-04-10T23:22:48.885+07:00Yap I just installed it yesterday that was missing...Yap I just installed it yesterday that was missing..<br /><br />But only with your suggestion I went a head and tried to install the Basemap 1.0.2....................worked<br />...ThanksEyalhttps://www.blogger.com/profile/10119127649725163362noreply@blogger.comtag:blogger.com,1999:blog-3164315269750188023.post-24140052929388500982012-04-10T23:21:10.645+07:002012-04-10T23:21:10.645+07:00This comment has been removed by the author.Eyalhttps://www.blogger.com/profile/10119127649725163362noreply@blogger.comtag:blogger.com,1999:blog-3164315269750188023.post-60257142977178593832012-04-10T17:34:34.212+07:002012-04-10T17:34:34.212+07:00Hi Eyal.
I wonder if you have installed libgeos-de...Hi Eyal.<br />I wonder if you have installed libgeos-dev.plgsekiphttps://www.blogger.com/profile/15555916145617317734noreply@blogger.comtag:blogger.com,1999:blog-3164315269750188023.post-26172779448745110742012-04-09T23:00:54.144+07:002012-04-09T23:00:54.144+07:00Hello,
First I was wondering what is "python-...Hello,<br />First I was wondering what is "python-imaging 1.1.7-2build2", that is listed above to be installed?<br /><br />Second, the fact that you have in the path<br />home/plgsekip/Downloads/basemap_install/basemap-1.0.1/build/lib.linux-x86_64-2.7/_geoslib.so<br />vasemap_install and build is because you have installed the repository?<br /><br />My CPU is 32 not 64 could that be the problem?Eyalhttps://www.blogger.com/profile/10119127649725163362noreply@blogger.comtag:blogger.com,1999:blog-3164315269750188023.post-65143011460253125732012-04-08T16:51:14.494+07:002012-04-08T16:51:14.494+07:00Hi Eyal!
This is my locate result. I do not know w...Hi Eyal!<br />This is my locate result. I do not know why you do not have the "_geoslib.so" in you python dist-packages path like I have.<br /><br />plgsekip@N4030:~$ locate -i geoslib<br />/home/plgsekip/Downloads/basemap_install/basemap-1.0.1/build/lib.linux-x86_64-2.7/_geoslib.so<br />/home/plgsekip/Downloads/basemap_install/basemap-1.0.1/build/temp.linux-x86_64-2.7/src/_geoslib.o<br />/home/plgsekip/Downloads/basemap_install/basemap-1.0.1/src/_geoslib.c<br />/home/plgsekip/Downloads/basemap_install/basemap-1.0.1/src/_geoslib.pyx<br />/usr/local/lib/python2.7/dist-packages/_geoslib.soplgsekiphttps://www.blogger.com/profile/15555916145617317734noreply@blogger.comtag:blogger.com,1999:blog-3164315269750188023.post-44111283906796161872012-04-08T15:51:58.724+07:002012-04-08T15:51:58.724+07:00Hello plgsekip,
So apparently geoslib was found on...Hello plgsekip,<br />So apparently geoslib was found only in the download..what do you suggest at this point?<br />ThanksEyalhttps://www.blogger.com/profile/10119127649725163362noreply@blogger.comtag:blogger.com,1999:blog-3164315269750188023.post-48151264135399307212012-04-07T12:03:05.638+07:002012-04-07T12:03:05.638+07:00Mm still stuck on that...Mm still stuck on that...Eyalhttps://www.blogger.com/profile/10119127649725163362noreply@blogger.comtag:blogger.com,1999:blog-3164315269750188023.post-88674048771794877372012-04-06T23:31:10.313+07:002012-04-06T23:31:10.313+07:00ok so apparently it ia in my download.
/Downloads/...ok so apparently it ia in my download.<br />/Downloads/basemap-1.0.2/src/_geoslib.c<br />/Downloads/basemap-1.0.2/src/_geoslib.pyx<br />...<br />So I guess I do should not delete it in this case...Eyalhttps://www.blogger.com/profile/10119127649725163362noreply@blogger.comtag:blogger.com,1999:blog-3164315269750188023.post-37249097120168283722012-04-05T08:01:03.332+07:002012-04-05T08:01:03.332+07:00Hi Eyal!
Perhaps you need to update your locate da...Hi Eyal!<br />Perhaps you need to update your locate database by typing "sudo updatedb". And also you may be interested in typing "sudo locate -i \geoslib" or "locate -i geoslib". Just a thought. Thanks.plgsekiphttps://www.blogger.com/profile/15555916145617317734noreply@blogger.comtag:blogger.com,1999:blog-3164315269750188023.post-37422952134023712002012-04-05T07:17:05.250+07:002012-04-05T07:17:05.250+07:00Hello plgsekip
I looked in dist-pacages, and have ...Hello plgsekip<br />I looked in dist-pacages, and have tried different search methods including "sudo locate geoslib" .<br /><br />mm...<br />E<br /><br />April 5, 2012 7:15 AMEyalhttps://www.blogger.com/profile/10119127649725163362noreply@blogger.comtag:blogger.com,1999:blog-3164315269750188023.post-70571798362967127552012-04-05T07:15:00.243+07:002012-04-05T07:15:00.243+07:00This comment has been removed by the author.Eyalhttps://www.blogger.com/profile/10119127649725163362noreply@blogger.comtag:blogger.com,1999:blog-3164315269750188023.post-31547277615679285982012-04-05T06:13:58.325+07:002012-04-05T06:13:58.325+07:00Hi Eyal!
I think _geoslib should be in your python...Hi Eyal!<br />I think _geoslib should be in your python installation path under the dist-packages. If you have confirmed of the libgeos-3.2.2 installation, then I am sure if you can reinstall the basemap by performing the steps I mentioned, it'll be alright. The problem is, you really have to remove the "old" _geoslib... Can you LOCATE it by typing "sudo locate geoslib"? Or you can also use any other file finding tool in Linux.plgsekiphttps://www.blogger.com/profile/15555916145617317734noreply@blogger.comtag:blogger.com,1999:blog-3164315269750188023.post-90665701843622284482012-04-05T02:28:31.386+07:002012-04-05T02:28:31.386+07:00Hello,
I ran to the problem above, but I can not f...Hello,<br />I ran to the problem above, but I can not find _geoslib in/usr/local/lib/python2.7/dist-packages/ but I do have libgeos-3.2.2 installed..<br /><br />Any ideas?Eyalnoreply@blogger.comtag:blogger.com,1999:blog-3164315269750188023.post-56163359498915437402012-01-03T08:17:35.910+07:002012-01-03T08:17:35.910+07:00You're welcome. Thanks for visiting. Cheers!You're welcome. Thanks for visiting. Cheers!plgsekiphttps://www.blogger.com/profile/15555916145617317734noreply@blogger.comtag:blogger.com,1999:blog-3164315269750188023.post-21766322337589273592011-12-22T00:13:16.449+07:002011-12-22T00:13:16.449+07:00Thanks for posting this. I was running into probl...Thanks for posting this. I was running into problems with Basemap as well after upgrading to 11.10!joehttps://www.blogger.com/profile/06802141921007062377noreply@blogger.com