1.使用pip 命令报错Fatal error in launcher: Unable to create process using
解决方法:不直接pip,使用python -m pip install xxxx
2. savefile = open("e:/python/itcast.html","w")
Python报错提示:TypeError: write() argument must be str, not bytes
文件打开的方式有问题,原因是因为存储方式默认是二进制方式之前打开语句
修改之后打开语句
savefile = open("e:/python/itcast.html","wb+")