[osgeo4w-dev] [osgeo4w] #860: pyarrow 0.0.0-1 doesn't work and makes both geopandas and pandas not working as well
OSGeo4W
trac_osgeo4w at osgeo.org
Sat Dec 7 08:00:28 PST 2024
#860: pyarrow 0.0.0-1 doesn't work and makes both geopandas and pandas not
working as well
------------------------+----------------------------
Reporter: andreaerdna | Owner: osgeo4w-dev@…
Type: defect | Status: new
Priority: normal | Component: Package
Version: | Resolution:
Keywords: |
------------------------+----------------------------
Comment (by andreaerdna):
The issue is due to the fact that, in python3-pyarrow 0.0.0-1,
{{{pyarrow.__version__ = None}}}, which in turn is due to the fact that
the "_generated_version" module is missing.
A simple workaround, which also makes both geopandas and pandas work well
when python3-pyarrow 0.0.0-1 is installed, is to change line 59 in
{{{apps\Python312\Lib\site-packages\pyarrow\__init__.py}}} from
{{{pyarrow.__version__ = None}}} to {{{pyarrow.__version__ = '17.0.0'}}}.
--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/860#comment:2>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.
More information about the osgeo4w-dev
mailing list