zhanghang1989 / zhanghang1989/PyTorch-Encoding
Can't import encoding! PLZ help me
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2k
- Forks
- 448
- PR merge metrics
- No merged PRs in 30d
Description
My environment
OS Windows 10
Pytorch 1.4.0
torchvision 0.5.0
cudatoolkit 10.1
ninja 1.8.2
Python 3.6.5
I get the following error when I run "import encoding"
" UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb5 in position 1331: invalid start byte "

How can I solve this problem?
Thanks :)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing import encoding with the Windows 10, Python 3.6.5, PyTorch 1.4.0, torchvision 0.5.0, CUDA 10.1, and Ninja 1.8.2 environment listed in the issue. Inspect the complete traceback, identify the source of the UTF-8 decoding failure, and verify that importing encoding completes without the error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100