When you run or debug a Python script in PyCharm, it shows the following error about encoding… How can I fix it? /usr/bin/python /snap/pycharm-professional/218/plugins/python/helpers/pydev/pydevconsole.py –mode=client –port=37281 Traceback (most recent call last): File “/usr/lib/python2.7/encodings/init.py”, line 74, in search_function entry = _cache.get(encoding, _unknown) AttributeError: ‘NoneType’ object has no attribute ‘get’ Process finished with exit code 1 3 […]
