Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
gladcolor opened this issue Jan 5, 2023 · 4 comments
Closed

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

gladcolor opened this issue Jan 5, 2023 · 4 comments

Comments

@gladcolor
Copy link

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
Copy link

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

@fitodic
Copy link
Owner

fitodic commented Jan 7, 2023

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 fitodic mentioned this issue Jan 7, 2023
4 tasks
@fitodic
Copy link
Owner

fitodic commented Jan 7, 2023

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

@fitodic fitodic closed this as completed Jan 7, 2023
@phamkhactu
Copy link

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants