在python2.7中这样调用代码 open('file/name.txt','r',encoding= 'utf-8').read() 会出现 TypeError: 'encoding' is an invalid keyword argument for this function 这样的错误 需要将代码修改为 import io io.open('file/name.txt','r',encoding= 'utf-8').read()…
错误: TypeError: parse() got an unexpected keyword argument 'transport_encoding'You are using pip version 9.0.1, however version 10.0.1 is available.You should consider upgrading via the 'python -m pip install --upgrade pip' command. 解决:conda install p…