Strongly inspired by https://gist.github.com/heymonkeyriot/9a2f429caff5c091d5429666fa080403.
On Ubuntu :
sudo apt install python3 python3-pip
"""The version regex in django/contrib/gis/geos/libgeos.py fails on | |
the latest homebrew geos install at time of writing, with message: | |
django.contrib.gis.geos.error.GEOSException: Could not parse version info string "3.8.0-CAPI-1.13.1 " | |
The trailing whitespace is the culprit. Add a r'\s?$' to the end of the pattern. | |
""" | |
version_regex = re.compile( |
Strongly inspired by https://gist.github.com/heymonkeyriot/9a2f429caff5c091d5429666fa080403.
On Ubuntu :
sudo apt install python3 python3-pip