Friday, November 21, 2014

Re: ImportError: cannot import name 'GEOSException'

Hi All,

Thanks very much for the help.  I managed to figure it out with tips for both of you. 

I am not sure exactly what helped finally fix it but:

1) I changed my python version from 64 bit to 32 bit
2) The script in that updated the path variables were pretty messed up, so I manually changed them to what they should have been. 
2) I had incorrectly added the GEOS_LIBRARY_PATH of

C:\program files\OSGeo4W\bin\geos_c.dll  

but I should have added:

C:\OSGeo4W\bin\geos_c.dll 

Now, I can just delete the GEOS_LIBRARY_PATH from the project settings and things still work, so I guess it must have been the 64 bit vs 32 bit issue, or the path issue.  

Thanks again for the advice. 

Ivan

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/05ba169a-f223-4d48-b445-368bebb530cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment