I tried to use pipeqs to generate requirements.txt in a virtual environment (virtualenv). However, I got an error as follows: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 184: ordinal not in range(128) Then I tried: pipreqs --encoding=utf-8 And still got the error saying: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa4 in position 64: invalid start byte Not sure anyone knows how to solve the issue. Continue reading...