Closed donCarlosOne closed 4 years ago
The formula accepts an option --without-python@2
, can you successfully build it adding that?
same boat as @donCarlosOne
Tried the --without-python@2 option but to no avail.
Upgrading 1 outdated package: osgeo/osgeo4mac/osgeo-gdal-python 3.0.2 -> 3.0.4 Error: No available formula with the name "python2" (dependency of osgeo/osgeo4mac/osgeo-gdal-python)
I see. Unfortunately, I guess there isn't a simple workaround (e.g. editing the formula locally) and you will probably find the same error in formulas that depend on this GDAL version too. You'd better wait a bit for the update, which is on his way. It shouldn't take longer.
Thank you for looking into it @alazarolop, much appreciated. I'll wait for the update.
You are welcome. I'll let you know when everything is rightly set up
@donCarlosOne @aniruhil Today I will update all these dependencies, we are working in another branch, so as not to break the dependencies in the future. For the new version of QGIS, everything will be updated.
It should be fixed in the latest release (https://github.com/OSGeo/homebrew-osgeo4mac/pull/1354).
thank you @alazarolop and @fjperini
Thank you @alazarolop
Do you plan to fix osgeo-grass and other installations that depend on python@2 as well?
@atsokol Yes, I already have osgeo-grass
working. I will update it in a few hours!
I've been trying unsuccesfully to install osgeo-gdal-python on MacOS Catalina using Homebrew.
I previously had python@2 installed, and it complained:
I thought perhaps that by uninstalling python@2, this installer would do it for me. I believe it tried to install it, however Homebrew is no longer supporting python@2 at all (and I cannot even reinstall it via Homebrew manually):
So, Homebrew has indicated how to do this above - but somewhere the installer is still looking for "python2", not "python@2" as per my initial attempts.
Any workaround would be most appreciated as this is now restricting us in a dev project.