The python? cannot be opened after entering python in the cmd of windows

I mistakenly deleted the lib in E:softwarePython36lib. After I found the lib through the software, I couldn"t open it in cmd. Ask for advice

C:Usersx1c > python

Failed to import the site module

Traceback (most recent call last):

File "E:softwarePython36libsite.py", line 544, in < module >

main()

File "E:softwarePython36libsite.py", line 531, in main

known_paths = addsitepackages(known_paths)

File "E:softwarePython36libsite.py", line 328, in addsitepackages

addsitedir(sitedir, known_paths)

File "E:softwarePython36libsite.py", line 207, in addsitedir

addpackage(sitedir, name, known_paths)

File "E:softwarePython36libsite.py", line 163, in addpackage

for n, line in enumerate(f):

UnicodeDecodeError: "gbk" codec can"t decode byte 0xaf in position 4: illegal multibyte sequence

C:Usersx1c >

clipboard.png

Mar.06,2021

install an anaconda


uninstall all and reinstall

Menu