---
# System prepended metadata

title: GPXpy
tags: [Python]

---

# GPXpy 
###### tags: `Python`

## 中文windows環境解析時可能會遇到問題
>UnicodeDecodeError: 'cp950' codec can't decode byte 0x94 in position 702: illegal multibyte sequence

![](https://i.imgur.com/JJZAHiK.png)

解決辦法
https://github.com/tkrajina/gpxpy/issues/178


```python
file = open('your-file', encoding='utf-8')
gpx = gpx.parse(file)
```