Skip to content

Wheel distribution for Python 3.10 on macosx x86_64 is missing #1348

@kvashchuka

Description

@kvashchuka

Expected behavior and actual behavior.

After installing Shapely using pip, I import lgeos from shapely.geos on Mac with Intel processor and python version 3.10 (in GitHub Actions and on my machine). This results in the following error:

... Python/3.10.2/x64/lib/python3.10/site-packages/shapely/geos.py:54: in load_dll
    raise OSError(
E   OSError: Could not find lib geos_c or load any of its variants ['/Library/Frameworks/GEOS.framework/Versions/Current/GEOS', '/opt/local/lib/libgeos_c.dylib', '/usr/local/lib/libgeos_c.dylib', '/opt/homebrew/lib/libgeos_c.dylib']

I believe it happens due to the fact that there is no wheel for Python 3.10 Intel Mac OS on PyPi, and therefore, Shapely is build from source.

Could you please provide a wheel distribution?

Steps to reproduce the problem.

pip install Shapely
python
import shapely.geometry

or

pip install Shapely
python
from shapely.geos import lgeos

Operating system

Mac OS 11.6.5

Shapely version and provenance

1.8.1.post1 installed from PyPI using pip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions