__init__() got an unexpected keyword argument 'Location
时间: 2023-10-04 14:08:00 浏览: 320
Error Encountered an improper argument
This error message usually occurs when you pass an unexpected keyword argument to a function or method. In this case, it seems like you're trying to initialize an object with an argument named "Location", but the class or function being used does not expect that argument.
To fix this error, check the documentation for the class or function being used to make sure you are passing the correct arguments. If you are still having trouble, please provide more context and code so I can better understand the issue.
阅读全文