问题描述
- 环境:windows10,使用conda虚拟环境,python36环境
- 安装jupyter notebook
pip install notebook -i https://pypi.douban.com/simple/
Building wheels for collected packages: pyrsistent
Running setup.py bdist_wheel for pyrsistent ... error
Failed building wheel for pyrsistent
Running setup.py clean for pyrsistent
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa1 in position 38: invalid start byte
解决方案
目录位置参考:D:\ProgramData\Miniconda3\envs\python36\Lib\site-packages
删除pyrsistent安装目录,如:pyrsistent-0.15.5-py3.6.egg-info
- 已经尝试直接使用pip进行安装,本人尝试结果为安装失败
- 已经尝试
pyrsistent
中的issue中的方案,均失败。
使用源码安装pyrsistent
源码链接:https://github.com/tobgu/pyrsistent
release:https://github.com/tobgu/pyrsistent/releases
python setup.py install
pip install notebook -i https://pypi.douban.com/simple/
网友评论