bndr / bndr/pipreqs

'utf-8' codec can't decode byte 0xa4 in position 64: invalid start byte

Open
#419 2 comments 9 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7.5k
Forks
424
PR merge metrics
No merged PRs in 30d

Description

python == 3.11.2
pipreqs == 0.4.13

Message error when run
`$ pipreqs`

Message

> File "frozen codecs", line 322, in decode
> UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa4 in position 64: invalid start byte

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the failure with the `pipreqs` command using a project that contains the non-UTF-8 input reported in the issue. Trace which input is decoded when the `UnicodeDecodeError` occurs, and consider the issue done when the command no longer fails unexpectedly or reports the problematic input clearly.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.