2024-05-24 20:42:28.180 [info] Running Env creation script: [
'D:\\Program Files\\python\\pyenv-win\\versions\\3.8.10\\python.exe',
'd:\\Users\\li\\.vscode\\extensions\\ms-python.python-2024.4.1\\python_files\\create_venv.py',
'--git-ignore'
]
2024-05-24 20:42:28.180 [info] > "D:\Program Files\python\pyenv-win\versions\3.8.10\python.exe" ~\.vscode\extensions\ms-python.python-2024.4.1\python_files\create_venv.py --git-ignore
2024-05-24 20:42:28.180 [info] cwd: .
2024-05-24 20:42:28.645 [info] Running: D:\Program Files\python\pyenv-win\versions\3.8.10\python.exe -m venv .venv
2024-05-24 20:42:29.018 [info] Error: Command '['e:\\Python\\chatgpt-on-wechat\\.venv\\Scripts\\python.exe', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 101.
2024-05-24 20:42:29.026 [info] Traceback (most recent call last):
File "d:\Users\li\.vscode\extensions\ms-python.python-2024.4.1\python_files\create_venv.py", line 84, in run_process
2024-05-24 20:42:29.026 [info] subprocess.run(args, cwd=os.getcwd(), check=True)
File "D:\Program Files\python\pyenv-win\versions\3.8.10\lib\subprocess.py", line 516, in run
2024-05-24 20:42:29.038 [info] raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['D:\\Program Files\\python\\pyenv-win\\versions\\3.8.10\\python.exe', '-m', 'venv', '.venv']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "d:\Users\li\.vscode\extensions\ms-python.python-2024.4.1\python_files\create_venv.py", line 250, in <module>
2024-05-24 20:42:29.039 [info] main(sys.argv[1:])
File "d:\Users\li\.vscode\extensions\ms-python.python-2024.4.1\python_files\create_venv.py", line 219, in main
run_process(
File "d:\Users\li\.vscode\extensions\ms-python.python-2024.4.1\python_files\create_venv.py", line 86, in run_process
2024-05-24 20:42:29.040 [info] raise VenvError(error_message)
__main__.VenvError: CREATE_VENV.VENV_FAILED_CREATION
2024-05-24 20:42:29.054 [error] Error while running venv creation script: CREATE_VENV.VENV_FAILED_CREATION
2024-05-24 20:42:29.055 [error] CREATE_VENV.VENV_FAILED_CREATION
2024-05-24 20:42:30.115 [info] > .\.venv\Scripts\python.exe -I ~\.vscode\extensions\ms-python.python-2024.4.1\python_files\get_output_via_markers.py ~\.vscode\extensions\ms-python.python-2024.4.1\python_files\interpreterInfo.py
2024-05-24 20:42:30.170 [error] [Error: Command failed: e:\Python\chatgpt-on-wechat\.venv\Scripts\python.exe -I d:\Users\li\.vscode\extensions\ms-python.python-2024.4.1\python_files\get_output_via_markers.py d:\Users\li\.vscode\extensions\ms-python.python-2024.4.1\python_files\interpreterInfo.py
Unable to create process using 'D:\Program Files\python\pyenv-win\versions\3.8.10\python.exe -I d:\Users\li\.vscode\extensions\ms-python.python-2024.4.1\python_files\get_output_via_markers.py d:\Users\li\.vscode\extensions\ms-python.python-2024.4.1\python_files\interpreterInfo.py'
at ChildProcess.exithandler (node:child_process:420:12)
at ChildProcess.emit (node:events:526:35)
at maybeClose (node:internal/child_process:1091:16)
at Process.onexit (node:internal/child_process:302:5)] {
code: 101,
killed: false,
signal: null,
cmd: 'e:\\Python\\chatgpt-on-wechat\\.venv\\Scripts\\python.exe -I d:\\Users\\li\\.vscode\\extensions\\ms-python.python-2024.4.1\\python_files\\get_output_via_markers.py d:\\Users\\li\\.vscode\\extensions\\ms-python.python-2024.4.1\\python_files\\interpreterInfo.py'
}
2024-05-24 20:42:32.181 [info] > .\.venv\Scripts\python.exe -I ~\.vscode\extensions\ms-python.python-2024.4.1\python_files\get_output_via_markers.py ~\.vscode\extensions\ms-python.python-2024.4.1\python_files\interpreterInfo.py
2024-05-24 20:42:32.226 [error] [Error: Command failed: e:\Python\chatgpt-on-wechat\.venv\Scripts\python.exe -I d:\Users\li\.vscode\extensions\ms-python.python-2024.4.1\python_files\get_output_via_markers.py d:\Users\li\.vscode\extensions\ms-python.python-2024.4.1\python_files\interpreterInfo.py
Unable to create process using 'D:\Program Files\python\pyenv-win\versions\3.8.10\python.exe -I d:\Users\li\.vscode\extensions\ms-python.python-2024.4.1\python_files\get_output_via_markers.py d:\Users\li\.vscode\extensions\ms-python.python-2024.4.1\python_files\interpreterInfo.py'
at ChildProcess.exithandler (node:child_process:420:12)
at ChildProcess.emit (node:events:526:35)
at maybeClose (node:internal/child_process:1091:16)
at Process.onexit (node:internal/child_process:302:5)] {
code: 101,
killed: false,
signal: null,
cmd: 'e:\\Python\\chatgpt-on-wechat\\.venv\\Scripts\\python.exe -I d:\\Users\\li\\.vscode\\extensions\\ms-python.python-2024.4.1\\python_files\\get_output_via_markers.py d:\\Users\\li\\.vscode\\extensions\\ms-python.python-2024.4.1\\python_files\\interpreterInfo.py'
}
1、open recent project
2、 create venv using vscode
3、 select interpreter 3.8.10-64bit
4、 report problem below