pycharm運行出錯,代碼正確結果不顯示

    昨天手賤,以爲本身裝的Python版本過低,從新安裝了一個,安裝完成後運行出現錯誤:code

Fatal Python error: initfsencoding: unable to load the file system codec
ModuleNotFoundError: No module named 'encodings'blog

Current thread 0x000032e0 (most recent call first):ip

解決辦法:it

如圖所示的地址,將新下載的Python壓縮包解壓後替換掉Scripts。因爲我也不知道怎麼改上面的地址,就把名字也改了直接替換文件夾,emmm...方法雖笨,可是好使,哈哈哈哈哈哈哈哈嗝~class