GeoDjango GEOSException error

后端 未结 8 873
Happy的楠姐
Happy的楠姐 2020-12-12 14:06

Trying to install a GeoDjango on my machine. I\'m really new to Python and being brought into a project that has been a very tricky install for the other team members. I ins

相关标签:
8条回答
  • 2020-12-12 15:01

    For those folks who don't have 3.6.1 previously installed:

    1. brew unlink geos
    2. Install 3.6.1 with brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/145b22e8330e094ee148861e72e26c03e73d34a1/Formula/geos.rb.
    3. brew info geos should show 3.6.1 starred:
    0 讨论(0)
  • 2020-12-12 15:07

    I think this is broken again. A recent upgrade on our FreeBSD server led to this error:

    django.contrib.gis.geos.error.GEOSException: Could not parse version info string "3.6.2-CAPI-1.10.2 4d2925d6"

    Looks like the regex in Django's libgeos.py needs to be updated again to account for this different syntax. Nachopro's solution still serves as a workaround.

    0 讨论(0)
提交回复
热议问题