Aug-09-2020, 05:51 PM
(This post was last modified: Aug-09-2020, 09:21 PM by Gribouillis.)
I try run any code in python in ms vs code. I always get this long message in the debug:
Error:Microsoft Windows [Version 10.0.18363.959]
(c) 2019 Microsoft Corporation. All rights reserved.
C:\Users\Ryan\Desktop\Ex_Files_Learning_Python\Exercise Files\Ch2>C:/Users/Ryan/anaconda3/python.exe "c:/Users/Ryan/Desktop/Ex_Files_Learning_Python/Exercise Files/Ch2/conditionals_start.py"
Python path configuration:
PYTHONHOME = (not set)
PYTHONPATH = (not set)
program name = 'C:/Users/Ryan/anaconda3/python.exe'
isolated = 0
environment = 1
user site = 1
import site = 1
sys._base_executable = 'C:\\Users\\Ryan\\anaconda3\\python.exe'
sys.base_prefix = ''
sys.base_exec_prefix = ''
sys.executable = 'C:\\Users\\Ryan\\anaconda3\\python.exe'
sys.prefix = ''
sys.exec_prefix = ''
sys.path = [
'C:\\Users\\Ryan\\anaconda3\\python38.zip',
'.\\DLLs',
'.\\lib',
'C:\\Users\\Ryan\\anaconda3',
]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'
Current thread 0x00000ce8 (most recent call first):
<no Python frame>
idk what to do?