When I run pip install markovify on Windows10 and Anaconda, I get this error
UnicodeDecodeError: 'cp932' codec can't decode byte 0x94 in position 8016: illegal multibyte sequence
It seems that Windows is converting files that are not encoded in CP932 (Shift_JIS) to CP932.
In my case, I solved it by dropping markovify source file and modifying setup.py. Specifically, the cause is that the README has failed to read.
with open(os.path.join(HERE, 'README.md')) as f:
```this
#### **`with open(os.path.join(HERE, 'README.md'),encoding='utf-8') as f:`**
#### **`python setup.py install`**
```py install
```I ran and successfully installed. You did it.
Recommended Posts