SyntaxError: Non-UTF-8 code starting with '\xc9' in file E:/Lib/kaoqin/uudi/b.py on line 9, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
之前没有遇到这样的问题,最近才遇到做个记录以便方便自己查阅
解决方法:
## -*- coding: utf-8 -*-
格式转码之后可以跑通了。
pycharm遇到报错问题:
paramiko\ecdsakey.py:164: CryptographyDeprecationWarning: Support for unsafe construction of public numbers from encoded data will be removed in a future version. Please use EllipticCurvePublicKey.from_encoded_point
self.ecdsa_curve.curve_class(), pointinfo
paramiko\kex_ecdh_nist.py:39: CryptographyDeprecationWarning: encode_point has been deprecated on EllipticCurvePublicNumbers and will be removed in a future version. Please