|
你好,我在啟動專案時遇到以下錯誤碼,請問該如何解決? {
C:\Users\88691>cd C:\DjangoEnv
C:\DjangoEnv>Scripts\activate
(DjangoEnv) C:\DjangoEnv>cd cart1
(DjangoEnv) C:\DjangoEnv\cart1>python manage.py runserver Python path configuration: PYTHONHOME = (not set) PYTHONPATH = (not set) program name = 'python' isolated = 0 environment = 1 user site = 1 import site = 1 sys._base_executable = 'C:\\DjangoEnv\\Scripts\\python.exe' sys.base_prefix = '' sys.base_exec_prefix = '' sys.executable = 'C:\\DjangoEnv\\Scripts\\python.exe' sys.prefix = '' sys.exec_prefix = '' sys.path = [ 'C:\\DjangoEnv\\Scripts\\python38.zip', '.\\DLLs', '.\\lib', 'C:\\DjangoEnv\\Scripts', ] 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 0x00000998 (most recent call first): <no Python frame>
(DjangoEnv) C:\DjangoEnv\cart1> } |