Closed cowolff closed 2 years ago
Your script works for me. What Python and OS are you using?
Well, that pretty much solved it for me. The problem apparently was my Ubuntu VM. I just switched to MacOS and there this code works as well. Sorry for wasting your time with this!
This was an Ubuntu 22.04?
No, it was an Ubuntu 21.10
I've just tried with a vanilla VM with Ubuntu 21.10 and the script worked fine, too. So it is probably something special in the setup of the VM that caused the error. It would be interesting to get to the root of this but it's probably too difficult to find.
I want to use pyosmium to get the coordinates of all schools in the state that I am living in. So far, I have written this code:
I have also played around with copy.deepcopy to create deep copies of those coordinates before adding them to the list but I keep running into this error:
I know that this error means that I can only store deep copies of those informations but still, I can't figure out how to do so in a way, that doesn't raise this exception.