This will expose the command pylsp on your PATH. Confirm that installation succeeded by running pylsp --help. If the respective dependencies are found, the following ...
When you look online for GeoJSON of Japanese prefectures, most results are approximate. The best resource out there is probably this gist but the files are already split by prefectures. Source data is ...