fitodic / centerline

Calculate the polygon's centerline
https://centerline.readthedocs.io
MIT License
266 stars 55 forks source link

TypeError: __new__() got an unexpected keyword argument "XXX" #36

Closed gladcolor closed 1 year ago

gladcolor commented 1 year ago

When testing using centerline = Centerline(polygon, **attributes) or command line, Reports "TypeError: new() got an unexpected keyword argument 'XXX,' "XXX" is the first attribute name.

I have tested on several machines; the results were the same.

phamkhactu commented 1 year ago

@gladcolor I have the same proplem with shapely 2.0. Have you solve it?

fitodic commented 1 year ago

Similar to #29 and #35. Unfortunately, I haven't found the time to address it properly. For now, you can try using shapely<2.0 so it works as it did before.

fitodic commented 1 year ago

@gladcolor @phamkhactu Version 1.0 was released so you can give it a go

phamkhactu commented 1 year ago

@gladcolor @phamkhactu Version 1.0 was released so you can give it a go

hi @fitodic I have ever try installed, but can not find the version

ERROR: Could not find a version that satisfies the requirement centerline==1.0.0 (from versions: 0.1, 0.2, 0.2.1, 0.3, 0.4, 0.4.1, 0.4.2, 0.5, 0.5.2, 0.6.0, 0.6.3, 0.6.4)
ERROR: No matching distribution found for centerline==1.0.0