
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
Flask를 하기 위해 가상환경을 설정할때 .venv 파일을 만들고 새 터미널을 들어가면 위에 (.venv)가 뜨지를 않습니다.
폴더 삭제하고 다시 시도해보면 오류가 뜹니다.
저번 강의에서 python 폴더에서 처음 가상환경 설정할때는 어찌저찌 터미널 위에 (.venv)가 떳는데 이번에는 계속해도 안됩니다 ㅠㅠ
.png)
다시 시도하면 밑에 오류가 뜹니다.
.png)
오류 내용을 캡쳐했습니다.
.png)
새 터미널을 열었을때 (.venv)가 안나오는 것을 확인할 수 있습니다.
2024-01-24 15:23:18.409 [info] 실험 'pythonRecommendTensorboardExtcf'이(가) 활성 상태입니다.
2024-01-24 15:23:18.409 [info] 실험 'pythonREPLSmartSend'이(가) 활성 상태입니다.
2024-01-24 15:23:18.409 [info] 실험 'pythonTerminalEnvVarActivation'이(가) 활성 상태입니다.
2024-01-24 15:23:18.409 [info] 실험 'pythonTestAdapter'이(가) 활성 상태입니다.
2024-01-24 15:23:18.453 [info] Default formatter is set to null for workspace d:\Sparta\Flask
2024-01-24 15:23:18.462 [info] Test server listening.
2024-01-24 15:23:18.469 [warning] Identifier for virt-virtualenv failed to identify d:\sparta\Flask\.venv\Scripts\python.exe [Error: ENOENT: no such file or directory, scandir 'd:\sparta\Flask\.venv\Scripts'] {
errno: -4058,
code: 'ENOENT',
syscall: 'scandir',
path: 'd:\\sparta\\Flask\\.venv\\Scripts'
}
2024-01-24 15:23:18.495 [info] > .\.venv\Scripts\python.exe -I ~\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\get_output_via_markers.py ~\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\interpreterInfo.py
2024-01-24 15:23:18.496 [warning] Retry failed, storage update failed for key PYTHON_WORKSPACE_STORAGE_KEYS
2024-01-24 15:23:18.496 [warning] Retry failed, storage update failed for key PYTHON_WORKSPACE_STORAGE_KEYS
2024-01-24 15:23:18.496 [warning] Retry failed, storage update failed for key PYTHON_WORKSPACE_STORAGE_KEYS
2024-01-24 15:23:18.513 [info] > ~\AppData\Local\Programs\Python\Python312\python.exe -I ~\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\get_output_via_markers.py ~\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\interpreterInfo.py
2024-01-24 15:23:18.557 [info] > .\venv\Scripts\python.exe -I ~\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\get_output_via_markers.py ~\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\interpreterInfo.py
2024-01-24 15:23:18.561 [error] Error: Command failed: d:\sparta\Flask\.venv\Scripts\python.exe -I c:\Users\chlru\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\get_output_via_markers.py c:\Users\chlru\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\interpreterInfo.py
The system cannot find the path specified.
at ChildProcess.exithandler (node:child_process:431:12)
at ChildProcess.emit (node:events:525:35)
at maybeClose (node:internal/child_process:1091:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5) {
code: 1,
killed: false,
signal: null,
cmd: 'd:\\sparta\\Flask\\.venv\\Scripts\\python.exe -I c:\\Users\\chlru\\.vscode\\extensions\\ms-python.python-2023.22.1\\pythonFiles\\get_output_via_markers.py c:\\Users\\chlru\\.vscode\\extensions\\ms-python.python-2023.22.1\\pythonFiles\\interpreterInfo.py'
}
2024-01-24 15:23:18.775 [info] Send text to terminal: echo C:\Program Files\Git\bin\bash.exe
2024-01-24 15:23:18.780 [warning] Identifier for virt-virtualenv failed to identify d:\sparta\Flask\.venv\Scripts\python.exe [Error: ENOENT: no such file or directory, scandir 'd:\sparta\Flask\.venv\Scripts'] {
errno: -4058,
code: 'ENOENT',
syscall: 'scandir',
path: 'd:\\sparta\\Flask\\.venv\\Scripts'
}
2024-01-24 15:23:19.820 [info] Selected workspace d:\Sparta\Flask for creating virtual environment.
2024-01-24 15:23:19.865 [info] > conda info --json
2024-01-24 15:23:19.915 [warning] Identifier for virt-virtualenv failed to identify d:\sparta\Flask\.venv\Scripts\python.exe [Error: ENOENT: no such file or directory, scandir 'd:\sparta\Flask\.venv\Scripts'] {
errno: -4058,
code: 'ENOENT',
syscall: 'scandir',
path: 'd:\\sparta\\Flask\\.venv\\Scripts'
}
2024-01-24 15:23:20.581 [info] > .\.venv\Scripts\python.exe -I ~\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\get_output_via_markers.py ~\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\interpreterInfo.py
2024-01-24 15:23:20.622 [error] Error: Command failed: d:\sparta\Flask\.venv\Scripts\python.exe -I c:\Users\chlru\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\get_output_via_markers.py c:\Users\chlru\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\interpreterInfo.py
The system cannot find the path specified.
at ChildProcess.exithandler (node:child_process:431:12)
at ChildProcess.emit (node:events:525:35)
at maybeClose (node:internal/child_process:1091:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5) {
code: 1,
killed: false,
signal: null,
cmd: 'd:\\sparta\\Flask\\.venv\\Scripts\\python.exe -I c:\\Users\\chlru\\.vscode\\extensions\\ms-python.python-2023.22.1\\pythonFiles\\get_output_via_markers.py c:\\Users\\chlru\\.vscode\\extensions\\ms-python.python-2023.22.1\\pythonFiles\\interpreterInfo.py'
}
2024-01-24 15:23:21.332 [warning] Identifier for virt-virtualenv failed to identify d:\sparta\Flask\.venv\Scripts\python.exe [Error: ENOENT: no such file or directory, scandir 'd:\sparta\Flask\.venv\Scripts'] {
errno: -4058,
code: 'ENOENT',
syscall: 'scandir',
path: 'd:\\sparta\\Flask\\.venv\\Scripts'
}
2024-01-24 15:23:21.781 [info] Shell integration is not working for bash
2024-01-24 15:23:21.782 [warning] Shell integration is not active, environment activated maybe overriden by the shell.
2024-01-24 15:23:21.784 [warning] Identifier for virt-virtualenv failed to identify d:\sparta\Flask\.venv\Scripts\python.exe [Error: ENOENT: no such file or directory, scandir 'd:\sparta\Flask\.venv\Scripts'] {
errno: -4058,
code: 'ENOENT',
syscall: 'scandir',
path: 'd:\\sparta\\Flask\\.venv\\Scripts'
}
2024-01-24 15:23:21.790 [warning] Identifier for virt-virtualenv failed to identify d:\sparta\Flask\.venv\Scripts\python.exe [Error: ENOENT: no such file or directory, scandir 'd:\sparta\Flask\.venv\Scripts'] {
errno: -4058,
code: 'ENOENT',
syscall: 'scandir',
path: 'd:\\sparta\\Flask\\.venv\\Scripts'
}
2024-01-24 15:23:21.795 [warning] Identifier for virt-virtualenv failed to identify d:\sparta\Flask\.venv\Scripts\python.exe [Error: ENOENT: no such file or directory, scandir 'd:\sparta\Flask\.venv\Scripts'] {
errno: -4058,
code: 'ENOENT',
syscall: 'scandir',
path: 'd:\\sparta\\Flask\\.venv\\Scripts'
}
2024-01-24 15:23:21.799 [warning] Identifier for virt-virtualenv failed to identify d:\sparta\Flask\.venv\Scripts\python.exe [Error: ENOENT: no such file or directory, scandir 'd:\sparta\Flask\.venv\Scripts'] {
errno: -4058,
code: 'ENOENT',
syscall: 'scandir',
path: 'd:\\sparta\\Flask\\.venv\\Scripts'
}
2024-01-24 15:23:22.408 [info] > ~\anaconda3\python.exe -I ~\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\get_output_via_markers.py ~\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\interpreterInfo.py
2024-01-24 15:23:22.438 [info] > ~\anaconda3\envs\scikit-learn-env\python.exe -I ~\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\get_output_via_markers.py ~\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\interpreterInfo.py
2024-01-24 15:23:22.799 [info] Pylance 언어 서버를 시작하는 중입니다.
2024-01-24 15:23:22.807 [warning] Identifier for virt-virtualenv failed to identify d:\sparta\Flask\.venv\Scripts\python.exe [Error: ENOENT: no such file or directory, scandir 'd:\sparta\Flask\.venv\Scripts'] {
errno: -4058,
code: 'ENOENT',
syscall: 'scandir',
path: 'd:\\sparta\\Flask\\.venv\\Scripts'
}
2024-01-24 15:23:22.826 [info] > .\.venv\Scripts\python.exe -c "import sys;print(sys.executable)"
2024-01-24 15:23:22.826 [warning] Identifier for virt-virtualenv failed to identify d:\sparta\Flask\.venv\Scripts\python.exe [Error: ENOENT: no such file or directory, scandir 'd:\sparta\Flask\.venv\Scripts'] {
errno: -4058,
code: 'ENOENT',
syscall: 'scandir',
path: 'd:\\sparta\\Flask\\.venv\\Scripts'
}
2024-01-24 15:23:22.836 [warning] Identifier for virt-virtualenv failed to identify d:\sparta\Flask\.venv\Scripts\python.exe [Error: ENOENT: no such file or directory, scandir 'd:\sparta\Flask\.venv\Scripts'] {
errno: -4058,
code: 'ENOENT',
syscall: 'scandir',
path: 'd:\\sparta\\Flask\\.venv\\Scripts'
}
2024-01-24 15:23:22.863 [warning] Identifier for virt-virtualenv failed to identify d:\sparta\Flask\.venv\Scripts\python.exe [Error: ENOENT: no such file or directory, scandir 'd:\sparta\Flask\.venv\Scripts'] {
errno: -4058,
code: 'ENOENT',
syscall: 'scandir',
path: 'd:\\sparta\\Flask\\.venv\\Scripts'
}
2024-01-24 15:23:24.462 [warning] Identifier for virt-virtualenv failed to identify d:\sparta\Flask\.venv\Scripts\python.exe [Error: ENOENT: no such file or directory, scandir 'd:\sparta\Flask\.venv\Scripts'] {
errno: -4058,
code: 'ENOENT',
syscall: 'scandir',
path: 'd:\\sparta\\Flask\\.venv\\Scripts'
}
2024-01-24 15:23:40.746 [info] Selected interpreter C:\Users\chlru\AppData\Local\Programs\Python\Python312\python.exe for creating virtual environment.
2024-01-24 15:23:40.858 [info] Running Env creation script: [
'C:\\Users\\chlru\\AppData\\Local\\Programs\\Python\\Python312\\python.exe',
'c:\\Users\\chlru\\.vscode\\extensions\\ms-python.python-2023.22.1\\pythonFiles\\create_venv.py',
'--git-ignore'
]
2024-01-24 15:23:40.858 [info] > ~\AppData\Local\Programs\Python\Python312\python.exe ~\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\create_venv.py --git-ignore
2024-01-24 15:23:40.858 [info] cwd: .
2024-01-24 15:23:41.605 [info] Running: C:\Users\chlru\AppData\Local\Programs\Python\Python312\python.exe -m venv .venv
2024-01-24 15:23:42.900 [info] > .\.venv\Scripts\python.exe -I ~\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\get_output_via_markers.py ~\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\interpreterInfo.py
2024-01-24 15:23:53.984 [info] CREATED_VENV:d:\Sparta\Flask\.venv\Scripts\python.exe
2024-01-24 15:23:53.986 [info] Creating: d:\Sparta\Flask\.venv\.gitignore
CREATE_VENV.UPGRADING_PIP
Running: d:\Sparta\Flask\.venv\Scripts\python.exe -m pip install --upgrade pip
2024-01-24 15:23:54.878 [info] Requirement already satisfied: pip in d:\sparta\flask\.venv\lib\site-packages (23.2.1)
2024-01-24 15:23:55.285 [info] Collecting pip
2024-01-24 15:23:55.285 [info] Obtaining dependency information for pip from https://files.pythonhosted.org/packages/15/aa/3f4c7bcee2057a76562a5b33ecbd199be08cdb4443a02e26bd2c3cf6fc39/pip-23.3.2-py3-none-any.whl.metadata
2024-01-24 15:23:55.300 [info] Using cached pip-23.3.2-py3-none-any.whl.metadata (3.5 kB)
2024-01-24 15:23:55.330 [info] Using cached pip-23.3.2-py3-none-any.whl (2.1 MB)
2024-01-24 15:23:55.525 [info] Installing collected packages: pip
2024-01-24 15:23:55.525 [info] Attempting uninstall: pip
2024-01-24 15:23:55.529 [info] Found existing installation: pip 23.2.1
2024-01-24 15:23:55.708 [info] Uninstalling pip-23.2.1:
2024-01-24 15:23:55.754 [info] Successfully uninstalled pip-23.2.1
2024-01-24 15:24:03.611 [info] Successfully installed pip-23.3.2
2024-01-24 15:24:04.172 [info] CREATE_VENV.UPGRADED_PIP
2024-01-24 15:24:04.225 [info] Discover tests for workspace name: Flask - uri: d:\Sparta\Flask
2024-01-24 15:24:04.226 [info] Python 인터프리터 경로: .\.venv\Scripts\python.exe
2024-01-24 15:24:04.261 [info] > . ./.venv/Scripts/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode/extensions/ms-python.python-2023.22.1/pythonFiles/printEnvVariables.py
2024-01-24 15:24:04.261 [info] shell: bash
2024-01-24 15:24:04.658 [info] > ~\AppData\Local\Programs\Python\Python312\python.exe ~/.vscode/extensions/ms-python.python-2023.22.1/pythonFiles/printEnvVariables.py
2024-01-24 15:24:04.658 [info] shell: bash
2024-01-24 15:24:04.760 [info] Send text to terminal: C:/Users/chlru/AppData/Local/Programs/Python/Python312/python.exe c:\Users\chlru\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\printEnvVariablesToFile.py c:\Users\chlru\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\deactivate\bash\envVars.txt
2024-01-24 15:24:34.772 [error] Failed to initialize deactivate script C:\Program Files\Git\bin\bash.exe Error: "c:\Users\chlru\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\deactivate\bash\envVars.txt" file not created
at Timeout.<anonymous> (c:\Users\chlru\.vscode\extensions\ms-python.python-2023.22.1\out\client\extension.js:2:280966)
at listOnTimeout (node:internal/timers:569:17)
at processTimers (node:internal/timers:512:7)
2024-01-24 15:26:37.691 [info] 실험 'pythonRecommendTensorboardExtcf'이(가) 활성 상태입니다.
2024-01-24 15:26:37.691 [info] 실험 'pythonREPLSmartSend'이(가) 활성 상태입니다.
2024-01-24 15:26:37.691 [info] 실험 'pythonTerminalEnvVarActivation'이(가) 활성 상태입니다.
2024-01-24 15:26:37.691 [info] 실험 'pythonTestAdapter'이(가) 활성 상태입니다.
2024-01-24 15:26:37.692 [info] Default formatter is set to null for workspace d:\Sparta\Python
2024-01-24 15:26:37.692 [info] Test server listening.
2024-01-24 15:26:37.692 [info] Python 인터프리터 경로: .\.venv\Scripts\python.exe
2024-01-24 15:26:37.893 [warning] Retry failed, storage update failed for key PYTHON_WORKSPACE_STORAGE_KEYS
2024-01-24 15:26:37.893 [warning] Retry failed, storage update failed for key PYTHON_WORKSPACE_STORAGE_KEYS
2024-01-24 15:26:37.893 [warning] Retry failed, storage update failed for key PYTHON_WORKSPACE_STORAGE_KEYS
2024-01-24 15:26:38.004 [info] > conda info --json
2024-01-24 15:26:38.050 [info] > ./.venv/Scripts/activate.bat && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode/extensions/ms-python.python-2023.22.1/pythonFiles/printEnvVariables.py
2024-01-24 15:26:38.050 [info] shell: commandPrompt
2024-01-24 15:26:38.094 [info] > ~\AppData\Local\Programs\Python\Python312\python.exe -I ~\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\get_output_via_markers.py ~\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\interpreterInfo.py
2024-01-24 15:26:38.125 [info] > .\.venv\Scripts\python.exe -I ~\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\get_output_via_markers.py ~\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\interpreterInfo.py
2024-01-24 15:26:38.394 [info] Python 인터프리터 경로: .\.venv\Scripts\python.exe
2024-01-24 15:26:38.416 [info] Send text to terminal: echo C:\Program Files\Git\bin\bash.exe
2024-01-24 15:26:39.897 [info] Pylance 언어 서버를 시작하는 중입니다.
2024-01-24 15:26:41.426 [info] Shell integration is not working for bash
2024-01-24 15:26:41.426 [warning] Shell integration is not active, environment activated maybe overriden by the shell.
2024-01-24 15:26:41.448 [info] > . ./.venv/Scripts/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode/extensions/ms-python.python-2023.22.1/pythonFiles/printEnvVariables.py
2024-01-24 15:26:41.448 [info] shell: bash
2024-01-24 15:26:41.731 [info] > ~\AppData\Local\Programs\Python\Python312\python.exe ~/.vscode/extensions/ms-python.python-2023.22.1/pythonFiles/printEnvVariables.py
2024-01-24 15:26:41.731 [info] shell: bash
2024-01-24 15:26:41.845 [info] Send text to terminal: C:/Users/chlru/AppData/Local/Programs/Python/Python312/python.exe c:\Users\chlru\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\printEnvVariablesToFile.py c:\Users\chlru\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\deactivate\bash\envVars.txt
2024-01-24 15:27:11.853 [error] Failed to initialize deactivate script C:\Program Files\Git\bin\bash.exe [Error: "c:\Users\chlru\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\deactivate\bash\envVars.txt" file not created
at Timeout.<anonymous> (c:\Users\chlru\.vscode\extensions\ms-python.python-2023.22.1\out\client\extension.js:2:280966)
at listOnTimeout (node:internal/timers:569:17)
at process.processTimers (node:internal/timers:512:7)]
2024-01-24 15:27:45.600 [info] CreateEnv Trigger - Skipping for d:\Sparta\Python\prac_requests.py
2024-01-24 15:27:45.634 [info] Send text to terminal: d:/Sparta/Python/.venv/Scripts/python.exe d:/Sparta/Python/prac_requests.py
2024-01-24 15:43:11.019 [info] 실험 'pythonRecommendTensorboardExtcf'이(가) 활성 상태입니다.
2024-01-24 15:43:11.019 [info] 실험 'pythonREPLSmartSend'이(가) 활성 상태입니다.
2024-01-24 15:43:11.019 [info] 실험 'pythonTerminalEnvVarActivation'이(가) 활성 상태입니다.
2024-01-24 15:43:11.019 [info] 실험 'pythonTestAdapter'이(가) 활성 상태입니다.
2024-01-24 15:43:11.019 [info] Default formatter is set to null for workspace d:\Sparta\Flask
2024-01-24 15:43:11.019 [info] Test server listening.
2024-01-24 15:43:11.024 [warning] Identifier for virt-virtualenv failed to identify d:\Sparta\Flask\.venv\Scripts\python.exe [Error: ENOENT: no such file or directory, scandir 'd:\Sparta\Flask\.venv\Scripts'] {
errno: -4058,
code: 'ENOENT',
syscall: 'scandir',
path: 'd:\\Sparta\\Flask\\.venv\\Scripts'
}
2024-01-24 15:43:11.055 [info] > .\.venv\Scripts\python.exe -I ~\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\get_output_via_markers.py ~\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\interpreterInfo.py
2024-01-24 15:43:11.058 [info] Send text to terminal: echo C:\Program Files\Git\bin\bash.exe
2024-01-24 15:43:11.061 [warning] Identifier for virt-virtualenv failed to identify d:\Sparta\Flask\.venv\Scripts\python.exe [Error: ENOENT: no such file or directory, scandir 'd:\Sparta\Flask\.venv\Scripts'] {
errno: -4058,
code: 'ENOENT',
syscall: 'scandir',
path: 'd:\\Sparta\\Flask\\.venv\\Scripts'
}
2024-01-24 15:43:11.098 [error] [Error: Command failed: d:\Sparta\Flask\.venv\Scripts\python.exe -I c:\Users\chlru\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\get_output_via_markers.py c:\Users\chlru\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\interpreterInfo.py
The system cannot find the path specified.
at ChildProcess.exithandler (node:child_process:431:12)
at ChildProcess.emit (node:events:525:35)
at maybeClose (node:internal/child_process:1091:16)
at ChildProcess._handle.onexit (node:internal/child_process:302:5)] {
code: 1,
killed: false,
signal: null,
cmd: 'd:\\Sparta\\Flask\\.venv\\Scripts\\python.exe -I c:\\Users\\chlru\\.vscode\\extensions\\ms-python.python-2023.22.1\\pythonFiles\\get_output_via_markers.py c:\\Users\\chlru\\.vscode\\extensions\\ms-python.python-2023.22.1\\pythonFiles\\interpreterInfo.py'
}
2024-01-24 15:43:13.121 [info] > .\.venv\Scripts\python.exe -I ~\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\get_output_via_markers.py ~\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\interpreterInfo.py
2024-01-24 15:43:13.155 [error] [Error: Command failed: d:\Sparta\Flask\.venv\Scripts\python.exe -I c:\Users\chlru\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\get_output_via_markers.py c:\Users\chlru\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\interpreterInfo.py
The system cannot find the path specified.
at ChildProcess.exithandler (node:child_process:431:12)
at ChildProcess.emit (node:events:525:35)
at maybeClose (node:internal/child_process:1091:16)
at ChildProcess._handle.onexit (node:internal/child_process:302:5)] {
code: 1,
killed: false,
signal: null,
cmd: 'd:\\Sparta\\Flask\\.venv\\Scripts\\python.exe -I c:\\Users\\chlru\\.vscode\\extensions\\ms-python.python-2023.22.1\\pythonFiles\\get_output_via_markers.py c:\\Users\\chlru\\.vscode\\extensions\\ms-python.python-2023.22.1\\pythonFiles\\interpreterInfo.py'
}
2024-01-24 15:43:13.378 [warning] Identifier for virt-virtualenv failed to identify d:\Sparta\Flask\.venv\Scripts\python.exe [Error: ENOENT: no such file or directory, scandir 'd:\Sparta\Flask\.venv\Scripts'] {
errno: -4058,
code: 'ENOENT',
syscall: 'scandir',
path: 'd:\\Sparta\\Flask\\.venv\\Scripts'
}
2024-01-24 15:43:14.067 [info] Shell integration is not working for bash
2024-01-24 15:43:14.068 [warning] Shell integration is not active, environment activated maybe overriden by the shell.
2024-01-24 15:43:14.074 [warning] Identifier for virt-virtualenv failed to identify d:\Sparta\Flask\.venv\Scripts\python.exe [Error: ENOENT: no such file or directory, scandir 'd:\Sparta\Flask\.venv\Scripts'] {
errno: -4058,
code: 'ENOENT',
syscall: 'scandir',
path: 'd:\\Sparta\\Flask\\.venv\\Scripts'
}
2024-01-24 15:43:14.081 [warning] Identifier for virt-virtualenv failed to identify d:\Sparta\Flask\.venv\Scripts\python.exe [Error: ENOENT: no such file or directory, scandir 'd:\Sparta\Flask\.venv\Scripts'] {
errno: -4058,
code: 'ENOENT',
syscall: 'scandir',
path: 'd:\\Sparta\\Flask\\.venv\\Scripts'
}
2024-01-24 15:43:14.088 [warning] Identifier for virt-virtualenv failed to identify d:\Sparta\Flask\.venv\Scripts\python.exe [Error: ENOENT: no such file or directory, scandir 'd:\Sparta\Flask\.venv\Scripts'] {
errno: -4058,
code: 'ENOENT',
syscall: 'scandir',
path: 'd:\\Sparta\\Flask\\.venv\\Scripts'
}
2024-01-24 15:43:14.094 [warning] Identifier for virt-virtualenv failed to identify d:\Sparta\Flask\.venv\Scripts\python.exe [Error: ENOENT: no such file or directory, scandir 'd:\Sparta\Flask\.venv\Scripts'] {
errno: -4058,
code: 'ENOENT',
syscall: 'scandir',
path: 'd:\\Sparta\\Flask\\.venv\\Scripts'
}
2024-01-24 15:43:14.471 [info] Pylance 언어 서버를 시작하는 중입니다.
2024-01-24 15:43:14.503 [warning] Identifier for virt-virtualenv failed to identify d:\Sparta\Flask\.venv\Scripts\python.exe [Error: ENOENT: no such file or directory, scandir 'd:\Sparta\Flask\.venv\Scripts'] {
errno: -4058,
code: 'ENOENT',
syscall: 'scandir',
path: 'd:\\Sparta\\Flask\\.venv\\Scripts'
}
2024-01-24 15:43:14.527 [info] > .\.venv\Scripts\python.exe -c "import sys;print(sys.executable)"
2024-01-24 15:43:14.527 [warning] Identifier for virt-virtualenv failed to identify d:\Sparta\Flask\.venv\Scripts\python.exe [Error: ENOENT: no such file or directory, scandir 'd:\Sparta\Flask\.venv\Scripts'] {
errno: -4058,
code: 'ENOENT',
syscall: 'scandir',
path: 'd:\\Sparta\\Flask\\.venv\\Scripts'
}
2024-01-24 15:43:14.539 [warning] Identifier for virt-virtualenv failed to identify d:\Sparta\Flask\.venv\Scripts\python.exe [Error: ENOENT: no such file or directory, scandir 'd:\Sparta\Flask\.venv\Scripts'] {
errno: -4058,
code: 'ENOENT',
syscall: 'scandir',
path: 'd:\\Sparta\\Flask\\.venv\\Scripts'
}
2024-01-24 15:43:14.570 [warning] Identifier for virt-virtualenv failed to identify d:\Sparta\Flask\.venv\Scripts\python.exe [Error: ENOENT: no such file or directory, scandir 'd:\Sparta\Flask\.venv\Scripts'] {
errno: -4058,
code: 'ENOENT',
syscall: 'scandir',
path: 'd:\\Sparta\\Flask\\.venv\\Scripts'
}
2024-01-24 15:43:15.287 [info] Selected workspace d:\Sparta\Flask for creating virtual environment.
2024-01-24 15:43:15.328 [info] > conda info --json
2024-01-24 15:43:15.389 [warning] Identifier for virt-virtualenv failed to identify d:\Sparta\Flask\.venv\Scripts\python.exe [Error: ENOENT: no such file or directory, scandir 'd:\Sparta\Flask\.venv\Scripts'] {
errno: -4058,
code: 'ENOENT',
syscall: 'scandir',
path: 'd:\\Sparta\\Flask\\.venv\\Scripts'
}
2024-01-24 15:43:15.419 [info] > ~\AppData\Local\Programs\Python\Python312\python.exe -I ~\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\get_output_via_markers.py ~\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\interpreterInfo.py
2024-01-24 15:43:17.528 [info] > ~\anaconda3\python.exe -I ~\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\get_output_via_markers.py ~\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\interpreterInfo.py
2024-01-24 15:43:17.548 [info] > ~\anaconda3\envs\scikit-learn-env\python.exe -I ~\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\get_output_via_markers.py ~\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\interpreterInfo.py
2024-01-24 15:43:17.706 [warning] Identifier for virt-virtualenv failed to identify d:\Sparta\Flask\.venv\Scripts\python.exe [Error: ENOENT: no such file or directory, scandir 'd:\Sparta\Flask\.venv\Scripts'] {
errno: -4058,
code: 'ENOENT',
syscall: 'scandir',
path: 'd:\\Sparta\\Flask\\.venv\\Scripts'
}
2024-01-24 15:43:39.647 [info] Selected interpreter C:\Users\chlru\AppData\Local\Programs\Python\Python312\python.exe for creating virtual environment.
2024-01-24 15:43:39.749 [info] Running Env creation script: [
'C:\\Users\\chlru\\AppData\\Local\\Programs\\Python\\Python312\\python.exe',
'c:\\Users\\chlru\\.vscode\\extensions\\ms-python.python-2023.22.1\\pythonFiles\\create_venv.py',
'--git-ignore'
]
2024-01-24 15:43:39.749 [info] > ~\AppData\Local\Programs\Python\Python312\python.exe ~\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\create_venv.py --git-ignore
2024-01-24 15:43:39.749 [info] cwd: .
2024-01-24 15:43:40.214 [info] Running: C:\Users\chlru\AppData\Local\Programs\Python\Python312\python.exe -m venv .venv
2024-01-24 15:43:41.462 [info] > .\.venv\Scripts\python.exe -I ~\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\get_output_via_markers.py ~\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\interpreterInfo.py
2024-01-24 15:43:51.011 [info] CREATED_VENV:d:\Sparta\Flask\.venv\Scripts\python.exe
Creating: d:\Sparta\Flask\.venv\.gitignore
2024-01-24 15:43:51.013 [info] CREATE_VENV.UPGRADING_PIP
Running: d:\Sparta\Flask\.venv\Scripts\python.exe -m pip install --upgrade pip
2024-01-24 15:43:51.981 [info] Requirement already satisfied: pip in d:\sparta\flask\.venv\lib\site-packages (23.2.1)
2024-01-24 15:43:52.416 [info] Collecting pip
2024-01-24 15:43:52.417 [info] Obtaining dependency information for pip from https://files.pythonhosted.org/packages/15/aa/3f4c7bcee2057a76562a5b33ecbd199be08cdb4443a02e26bd2c3cf6fc39/pip-23.3.2-py3-none-any.whl.metadata
2024-01-24 15:43:52.419 [info] Using cached pip-23.3.2-py3-none-any.whl.metadata (3.5 kB)
2024-01-24 15:43:52.451 [info] Using cached pip-23.3.2-py3-none-any.whl (2.1 MB)
2024-01-24 15:43:52.665 [info] Installing collected packages: pip
2024-01-24 15:43:52.666 [info] Attempting uninstall: pip
2024-01-24 15:43:52.672 [info] Found existing installation: pip 23.2.1
2024-01-24 15:43:52.880 [info] Uninstalling pip-23.2.1:
2024-01-24 15:43:55.247 [info] ERROR: Could not install packages due to an OSError: [WinError 32] 다른 프로세스가 파일을 사용 중이기 때문에 프로세스가 액세스 할 수 없습니다: 'd:\\sparta\\flask\\.venv\\lib\\site-packages\\pip\\_vendor\\packaging'
Check the permissions.
2024-01-24 15:43:55.253 [info] WARNING: Ignoring invalid distribution ~ip (d:\Sparta\Flask\.venv\Lib\site-packages)
2024-01-24 15:43:55.279 [info] WARNING: Ignoring invalid distribution ~ip (d:\Sparta\Flask\.venv\Lib\site-packages)
2024-01-24 15:43:55.419 [info] Traceback (most recent call last):
File "c:\Users\chlru\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\create_venv.py", line 84, in run_process
2024-01-24 15:43:55.420 [info] subprocess.run(args, cwd=os.getcwd(), check=True)
2024-01-24 15:43:55.420 [info] File "C:\Users\chlru\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 571, in run
2024-01-24 15:43:55.436 [info] raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['d:\\Sparta\\Flask\\.venv\\Scripts\\python.exe', '-m', 'pip', 'install', '--upgrade', 'pip']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\Users\chlru\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\create_venv.py", line 250, in <module>
2024-01-24 15:43:55.436 [info] main(sys.argv[1:])
2024-01-24 15:43:55.437 [info] File "c:\Users\chlru\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\create_venv.py", line 233, in main
2024-01-24 15:43:55.437 [info] upgrade_pip(venv_path)
2024-01-24 15:43:55.437 [info] File "c:\Users\chlru\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\create_venv.py", line 122, in upgrade_pip
2024-01-24 15:43:55.438 [info] run_process(
File "c:\Users\chlru\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\create_venv.py", line 86, in run_process
2024-01-24 15:43:55.438 [info] raise VenvError(error_message)
2024-01-24 15:43:55.439 [info] VenvError: CREATE_VENV.UPGRADE_PIP_FAILED
2024-01-24 15:43:55.478 [error] Error while running venv creation script: CREATE_VENV.UPGRADE_PIP_FAILED
2024-01-24 15:43:55.478 [error] CREATE_VENV.UPGRADE_PIP_FAILED
2024-01-24 15:44:24.444 [info] Python 인터프리터 경로: d:\Sparta\Flask\.venv\Scripts\python.exe
2024-01-24 15:52:18.673 [info] Selected workspace d:\Sparta\Flask for creating virtual environment.
2024-01-24 15:52:20.010 [info] Selected interpreter C:\Users\chlru\AppData\Local\Programs\Python\Python312\python.exe for creating virtual environment.
2024-01-24 15:52:20.109 [info] Running Env creation script: [
'C:\\Users\\chlru\\AppData\\Local\\Programs\\Python\\Python312\\python.exe',
'c:\\Users\\chlru\\.vscode\\extensions\\ms-python.python-2023.22.1\\pythonFiles\\create_venv.py',
'--git-ignore'
]
2024-01-24 15:52:20.109 [info] > ~\AppData\Local\Programs\Python\Python312\python.exe ~\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\create_venv.py --git-ignore
2024-01-24 15:52:20.109 [info] cwd: .
2024-01-24 15:52:20.611 [info] Running: C:\Users\chlru\AppData\Local\Programs\Python\Python312\python.exe -m venv .venv
2024-01-24 15:52:21.839 [info] > .\.venv\Scripts\python.exe -I ~\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\get_output_via_markers.py ~\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\interpreterInfo.py
2024-01-24 15:52:30.107 [info] CREATED_VENV:d:\Sparta\Flask\.venv\Scripts\python.exe
2024-01-24 15:52:30.108 [info] Creating: d:\Sparta\Flask\.venv\.gitignore
CREATE_VENV.UPGRADING_PIP
Running: d:\Sparta\Flask\.venv\Scripts\python.exe -m pip install --upgrade pip
2024-01-24 15:52:30.938 [info] Requirement already satisfied: pip in d:\sparta\flask\.venv\lib\site-packages (23.2.1)
2024-01-24 15:52:31.249 [info] Collecting pip
2024-01-24 15:52:31.249 [info] Obtaining dependency information for pip from https://files.pythonhosted.org/packages/15/aa/3f4c7bcee2057a76562a5b33ecbd199be08cdb4443a02e26bd2c3cf6fc39/pip-23.3.2-py3-none-any.whl.metadata
2024-01-24 15:52:31.251 [info] Using cached pip-23.3.2-py3-none-any.whl.metadata (3.5 kB)
2024-01-24 15:52:31.282 [info] Using cached pip-23.3.2-py3-none-any.whl (2.1 MB)
2024-01-24 15:52:31.475 [info] Installing collected packages: pip
Attempting uninstall: pip
2024-01-24 15:52:31.479 [info] Found existing installation: pip 23.2.1
2024-01-24 15:52:31.681 [info] Uninstalling pip-23.2.1:
2024-01-24 15:52:33.781 [info] ERROR: Could not install packages due to an OSError: [WinError 32] 다른 프로세스가 파일을 사용 중이기 때문에 프로세스가 액세스 할 수 없습니다: 'd:\\sparta\\flask\\.venv\\lib\\site-packages\\pip\\_vendor\\colorama\\tests'
Check the permissions.
2024-01-24 15:52:33.786 [info] WARNING: Ignoring invalid distribution ~ip (d:\Sparta\Flask\.venv\Lib\site-packages)
2024-01-24 15:52:33.801 [info] WARNING: Ignoring invalid distribution ~ip (d:\Sparta\Flask\.venv\Lib\site-packages)
2024-01-24 15:52:33.890 [info] Traceback (most recent call last):
File "c:\Users\chlru\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\create_venv.py", line 84, in run_process
2024-01-24 15:52:33.891 [info] subprocess.run(args, cwd=os.getcwd(), check=True)
2024-01-24 15:52:33.891 [info] File "C:\Users\chlru\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 571, in run
2024-01-24 15:52:33.892 [info] raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['d:\\Sparta\\Flask\\.venv\\Scripts\\python.exe', '-m', 'pip', 'install', '--upgrade', 'pip']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
2024-01-24 15:52:33.892 [info] Traceback (most recent call last):
File "c:\Users\chlru\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\create_venv.py", line 250, in <module>
2024-01-24 15:52:33.893 [info] main(sys.argv[1:])
File "c:\Users\chlru\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\create_venv.py", line 233, in main
2024-01-24 15:52:33.893 [info] upgrade_pip(venv_path)
File "c:\Users\chlru\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\create_venv.py", line 122, in upgrade_pip
2024-01-24 15:52:33.894 [info] run_process(
File "c:\Users\chlru\.vscode\extensions\ms-python.python-2023.22.1\pythonFiles\create_venv.py", line 86, in run_process
2024-01-24 15:52:33.896 [info] raise VenvError(error_message)
VenvError: CREATE_VENV.UPGRADE_PIP_FAILED
2024-01-24 15:52:33.937 [error] Error while running venv creation script: CREATE_VENV.UPGRADE_PIP_FAILED
2024-01-24 15:52:33.938 [error] CREATE_VENV.UPGRADE_PIP_FAILED
