Closed karrtikr closed 2 months ago
@Scarfmonster Could you provide a screenshot on how are you checking whether the environment has activated in terminal? Please provide the debug logs which can help diagnose the issue:
Developer: Set log level
commandTrace
Developer: Reload Window
commandPython
in the Output
panel (View
→Output
, change the drop-down the upper-right of the Output
panel to Python
)
``` XXX ```
The Python output:
2024-02-09 14:12:41.094 [info] Experiment 'pythonREPLSmartSend' is active
2024-02-09 14:12:41.094 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2024-02-09 14:12:41.094 [info] Experiment 'pythonTestAdapter' is active
2024-02-09 14:12:41.094 [info] Default formatter is set to ms-python.black-formatter for workspace d:\test
2024-02-09 14:12:41.094 [info] Test server listening.
2024-02-09 14:12:41.094 [info] Python interpreter path: .\.venv\Scripts\python.exe
2024-02-09 14:12:41.131 [info] > & ./.venv/Scripts/Activate.ps1 ; echo 'e8b39361-0157-4923-80e1-22d70d46dee6' ; python d:/Programming/VSCode/data/extensions/ms-python.python-2024.0.1/pythonFiles/printEnvVariables.py
2024-02-09 14:12:41.131 [info] shell: powershellCore
2024-02-09 14:12:41.166 [info] > conda info --json
2024-02-09 14:12:41.433 [info] > ./.venv/Scripts/activate.bat && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python d:/Programming/VSCode/data/extensions/ms-python.python-2024.0.1/pythonFiles/printEnvVariables.py
2024-02-09 14:12:41.433 [info] shell: commandPrompt
2024-02-09 14:12:41.839 [info] > C:\Python\Python310\python.exe d:/Programming/VSCode/data/extensions/ms-python.python-2024.0.1/pythonFiles/printEnvVariables.py
2024-02-09 14:12:41.839 [info] shell: powershellCore
2024-02-09 14:12:42.492 [info] Send text to terminal: & C:/Python/Python310/python.exe d:\Programming\VSCode\data\extensions\ms-python.python-2024.0.1\pythonFiles\printEnvVariablesToFile.py d:\Programming\VSCode\data\extensions\ms-python.python-2024.0.1\pythonFiles\deactivate\powershell\envVars.txt
2024-02-09 14:12:42.546 [info] > ~\.conda\Scripts\conda.exe info --json
2024-02-09 14:12:42.547 [info] > ~\.condarc\Scripts\conda.exe info --json
2024-02-09 14:12:42.550 [info] > ~\anaconda3\Scripts\conda.exe info --json
2024-02-09 14:12:43.039 [info] Starting Pylance language server.
2024-02-09 14:12:44.094 [info] > ~\anaconda3\condabin\conda.bat info --json
2024-02-09 14:12:44.122 [info] > .\.venv\Scripts\python.exe -I d:\Programming\VSCode\data\extensions\ms-python.python-2024.0.1\pythonFiles\get_output_via_markers.py d:\Programming\VSCode\data\extensions\ms-python.python-2024.0.1\pythonFiles\interpreterInfo.py
2024-02-09 14:12:45.391 [info] > ~\anaconda3\python.exe -I d:\Programming\VSCode\data\extensions\ms-python.python-2024.0.1\pythonFiles\get_output_via_markers.py d:\Programming\VSCode\data\extensions\ms-python.python-2024.0.1\pythonFiles\interpreterInfo.py
2024-02-09 14:12:45.396 [info] > D:\text-generation-webui\installer_files\conda\python.exe -I d:\Programming\VSCode\data\extensions\ms-python.python-2024.0.1\pythonFiles\get_output_via_markers.py d:\Programming\VSCode\data\extensions\ms-python.python-2024.0.1\pythonFiles\interpreterInfo.py
2024-02-09 14:12:45.462 [info] > D:\text-generation-webui\installer_files\env\python.exe -I d:\Programming\VSCode\data\extensions\ms-python.python-2024.0.1\pythonFiles\get_output_via_markers.py d:\Programming\VSCode\data\extensions\ms-python.python-2024.0.1\pythonFiles\interpreterInfo.py
2024-02-09 14:12:59.192 [info] Experiment 'pythonRecommendTensorboardExt' is active
2024-02-09 14:12:59.192 [info] Experiment 'pythonREPLSmartSend' is active
2024-02-09 14:12:59.192 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2024-02-09 14:12:59.192 [info] Experiment 'pythonTestAdapter' is active
2024-02-09 14:12:59.192 [debug] Getting roots
2024-02-09 14:12:59.192 [debug] Getting roots
2024-02-09 14:12:59.192 [debug] Found roots
2024-02-09 14:12:59.192 [debug] Start watching file for changes C:\Users\rysza\.conda\environments.txt
2024-02-09 14:12:59.192 [debug] Start watching: C:\Users\rysza\.conda with pattern environments.txt using VSCode API
2024-02-09 14:12:59.192 [debug] Found roots
2024-02-09 14:12:59.192 [debug] Start watching root d:\test for globs ["python.exe","*/python.exe","*/Scripts/python.exe"]
2024-02-09 14:12:59.192 [debug] Start watching: d:\test with pattern python.exe using VSCode API
2024-02-09 14:12:59.192 [debug] Start watching: d:\test with pattern */python.exe using VSCode API
2024-02-09 14:12:59.192 [debug] Start watching: d:\test with pattern */Scripts/python.exe using VSCode API
2024-02-09 14:12:59.192 [info] Default formatter is set to ms-python.black-formatter for workspace d:\test
2024-02-09 14:12:59.192 [debug] Waiting for test server to start...
2024-02-09 14:12:59.192 [info] Test server listening.
2024-02-09 14:12:59.192 [debug] Test server started.
2024-02-09 14:12:59.192 [debug] Testing: Setting up watcher for d:\test
2024-02-09 14:12:59.192 [debug] Needed to validate C:\Python\Python310\python.exe with latest info
2024-02-09 14:12:59.192 [debug] Needed to validate C:\Python\Python311\python.exe with latest info
2024-02-09 14:12:59.192 [debug] Needed to validate C:\Users\rysza\anaconda3\python.exe with latest info
2024-02-09 14:12:59.192 [debug] Needed to validate D:\text-generation-webui\installer_files\conda\python.exe with latest info
2024-02-09 14:12:59.192 [debug] Needed to validate D:\text-generation-webui\installer_files\env\python.exe with latest info
2024-02-09 14:12:59.192 [debug] Needed to validate d:\test\.venv\Scripts\python.exe with latest info
2024-02-09 14:12:59.192 [debug] Needed to validate d:\test\.venv\Scripts\python.exe with latest info
2024-02-09 14:12:59.192 [debug] Found cached env for d:\test\.venv\Scripts\python.exe
2024-02-09 14:12:59.192 [debug] Needed to validate d:\test\.venv\Scripts\python.exe with latest info
2024-02-09 14:12:59.192 [info] Python interpreter path: .\.venv\Scripts\python.exe
2024-02-09 14:12:59.192 [debug] Found cached env for d:\test\.venv\Scripts\python.exe
2024-02-09 14:12:59.374 [debug] Found cached env for d:\test\.venv\Scripts\python.exe
2024-02-09 14:12:59.375 [debug] Found cached env for d:\test\.venv\Scripts\python.exe
2024-02-09 14:12:59.376 [debug] Found cached env for d:\test\.venv\Scripts\python.exe
2024-02-09 14:12:59.378 [debug] Found cached env for d:\test\.venv\Scripts\python.exe
2024-02-09 14:12:59.378 [debug] Found cached env for d:\test\.venv\Scripts\python.exe
2024-02-09 14:12:59.379 [debug] Found cached env for d:\test\.venv\Scripts\python.exe
2024-02-09 14:12:59.381 [debug] Found cached env for d:\test\.venv\Scripts\python.exe
2024-02-09 14:12:59.381 [debug] Found cached env for d:\test\.venv\Scripts\python.exe
2024-02-09 14:12:59.387 [debug] Extension ms-toolsai.jupyter accessed onDidChangeEnvironments with args: undefined
2024-02-09 14:12:59.388 [debug] Extension ms-toolsai.jupyter accessed onDidEnvironmentVariablesChange with args: undefined
2024-02-09 14:12:59.388 [debug] Extension ms-toolsai.jupyter accessed getEnvironmentVariables with args: undefined
2024-02-09 14:12:59.389 [debug] Extension ms-toolsai.jupyter accessed onDidChangeEnvironments with args: undefined
2024-02-09 14:12:59.389 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-09 14:12:59.390 [debug] Extension ms-toolsai.jupyter accessed onDidEnvironmentVariablesChange with args: undefined
2024-02-09 14:12:59.390 [debug] Extension ms-toolsai.jupyter accessed onDidChangeActiveEnvironmentPath with args: undefined
2024-02-09 14:12:59.391 [debug] Extension ms-toolsai.jupyter accessed onDidChangeEnvironments with args: undefined
2024-02-09 14:12:59.391 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-09 14:12:59.392 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"C:\\Python\\Python310\\python.exe","id":"C:\\PYTHON\\PYTHON310\\PYTHON.EXE","executable":{"uri":{"$mid":1,"path":"/C:/Python/Python310/python.exe","scheme":"file"},"bitness":"64-bit","sysPrefix":"C:\\Python\\Python310"},"version":{"major":3,"minor":10,"micro":11,"release":{"level":"final","serial":0},"sysVersion":"3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]"},"tools":[]},"id":"C:\\PYTHON\\PYTHON310\\PYTHON.EXE"}
2024-02-09 14:12:59.393 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-09 14:12:59.394 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"C:\\Python\\Python311\\python.exe","id":"C:\\PYTHON\\PYTHON311\\PYTHON.EXE","executable":{"uri":{"$mid":1,"path":"/C:/Python/Python311/python.exe","scheme":"file"},"bitness":"64-bit","sysPrefix":"C:\\Python\\Python311"},"version":{"major":3,"minor":11,"micro":4,"release":{"level":"final","serial":0},"sysVersion":"3.11.4 (tags/v3.11.4:d2340ef, Jun 7 2023, 05:45:37) [MSC v.1934 64 bit (AMD64)]"},"tools":[]},"id":"C:\\PYTHON\\PYTHON311\\PYTHON.EXE"}
2024-02-09 14:12:59.395 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"D:\\text-generation-webui\\installer_files\\conda\\python.exe","id":"D:\\TEXT-GENERATION-WEBUI\\INSTALLER_FILES\\CONDA\\PYTHON.EXE","executable":{"uri":{"$mid":1,"path":"/D:/text-generation-webui/installer_files/conda/python.exe","scheme":"file"},"bitness":"64-bit","sysPrefix":"D:\\text-generation-webui\\installer_files\\conda"},"environment":{"type":"Conda","folderUri":{"$mid":1,"path":"/D:/text-generation-webui/installer_files/conda","scheme":"file"}},"version":{"major":3,"minor":10,"micro":10,"release":{"level":"final","serial":0},"sysVersion":"3.10.10 | packaged by Anaconda, Inc. | (main, Mar 21 2023, 18:39:17) [MSC v.1916 64 bit (AMD64)]"},"tools":["Conda"]},"id":"D:\\TEXT-GENERATION-WEBUI\\INSTALLER_FILES\\CONDA\\PYTHON.EXE"}
2024-02-09 14:12:59.396 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"C:\\Users\\rysza\\anaconda3\\python.exe","id":"C:\\USERS\\RYSZA\\ANACONDA3\\PYTHON.EXE","executable":{"uri":{"$mid":1,"path":"/C:/Users/rysza/anaconda3/python.exe","scheme":"file"},"bitness":"64-bit","sysPrefix":"C:\\Users\\rysza\\anaconda3"},"environment":{"type":"Conda","name":"base","folderUri":{"$mid":1,"path":"/C:/Users/rysza/anaconda3","scheme":"file"}},"version":{"major":3,"minor":11,"micro":3,"release":{"level":"final","serial":0},"sysVersion":"3.11.3 | packaged by Anaconda, Inc. | (main, Apr 19 2023, 23:46:34) [MSC v.1916 64 bit (AMD64)]"},"tools":["Conda"]},"id":"C:\\USERS\\RYSZA\\ANACONDA3\\PYTHON.EXE"}
2024-02-09 14:12:59.396 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"D:\\text-generation-webui\\installer_files\\env\\python.exe","id":"D:\\TEXT-GENERATION-WEBUI\\INSTALLER_FILES\\ENV\\PYTHON.EXE","executable":{"uri":{"$mid":1,"path":"/D:/text-generation-webui/installer_files/env/python.exe","scheme":"file"},"bitness":"Unknown"},"environment":{"type":"Conda","folderUri":{"$mid":1,"path":"/D:/text-generation-webui/installer_files/env","scheme":"file"}},"version":{"major":3,"minor":11,"micro":7},"tools":["Conda"]},"id":"D:\\TEXT-GENERATION-WEBUI\\INSTALLER_FILES\\ENV\\PYTHON.EXE"}
2024-02-09 14:12:59.397 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"d:\\test\\.venv\\Scripts\\python.exe","id":"D:\\TEST\\.VENV\\SCRIPTS\\PYTHON.EXE","executable":{"uri":{"$mid":1,"fsPath":"d:\\test\\.venv\\Scripts\\python.exe","_sep":1,"path":"/d:/test/.venv/Scripts/python.exe","scheme":"file"},"bitness":"64-bit","sysPrefix":"d:\\test\\.venv"},"environment":{"type":"VirtualEnvironment","name":".venv","folderUri":{"$mid":1,"path":"/d:/test/.venv","scheme":"file"},"workspaceFolder":{"uri":{"$mid":1,"fsPath":"d:\\test","_sep":1,"external":"file:///d%3A/test","path":"/d:/test","scheme":"file"},"name":"test","index":0}},"version":{"major":3,"minor":10,"micro":11,"release":{"level":"final","serial":0},"sysVersion":"3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]"},"tools":["Venv"]},"id":"D:\\TEST\\.VENV\\SCRIPTS\\PYTHON.EXE"}
2024-02-09 14:12:59.397 [debug] Extension ms-toolsai.jupyter accessed getActiveEnvironmentPath with args: undefined
2024-02-09 14:12:59.398 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"id":"D:\\TEST\\.VENV\\SCRIPTS\\PYTHON.EXE","path":"d:\\test\\.venv\\Scripts\\python.exe"}
2024-02-09 14:12:59.410 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-09 14:12:59.411 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2024-02-09 14:12:59.412 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"d:\\test\\.venv\\Scripts\\python.exe","id":"D:\\TEST\\.VENV\\SCRIPTS\\PYTHON.EXE","executable":{"uri":{"$mid":1,"fsPath":"d:\\test\\.venv\\Scripts\\python.exe","_sep":1,"path":"/d:/test/.venv/Scripts/python.exe","scheme":"file"},"bitness":"64-bit","sysPrefix":"d:\\test\\.venv"},"environment":{"type":"VirtualEnvironment","name":".venv","folderUri":{"$mid":1,"path":"/d:/test/.venv","scheme":"file"},"workspaceFolder":{"uri":{"$mid":1,"fsPath":"d:\\test","_sep":1,"external":"file:///d%3A/test","path":"/d:/test","scheme":"file"},"name":"test","index":0}},"version":{"major":3,"minor":10,"micro":11,"release":{"level":"final","serial":0},"sysVersion":"3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]"},"tools":["Venv"]},"id":"D:\\TEST\\.VENV\\SCRIPTS\\PYTHON.EXE"}
2024-02-09 14:12:59.413 [debug] Extension ms-toolsai.jupyter accessed getEnvironmentVariables with args: undefined
2024-02-09 14:12:59.419 [debug] Activation Commands received & d:/test/.venv/Scripts/Activate.ps1 for shell C:\Program Files\PowerShell\7\pwsh.exe, resource d:\test and interpreter d:\test\.venv\Scripts\python.exe
2024-02-09 14:12:59.419 [debug] Activating Environment to capture Environment variables, & d:/test/.venv/Scripts/Activate.ps1 ; echo 'e8b39361-0157-4923-80e1-22d70d46dee6' ; python d:/Programming/VSCode/data/extensions/ms-python.python-2024.0.1/pythonFiles/printEnvVariables.py
2024-02-09 14:12:59.419 [info] > & ./.venv/Scripts/Activate.ps1 ; echo 'e8b39361-0157-4923-80e1-22d70d46dee6' ; python d:/Programming/VSCode/data/extensions/ms-python.python-2024.0.1/pythonFiles/printEnvVariables.py
2024-02-09 14:12:59.419 [info] shell: powershellCore
2024-02-09 14:12:59.421 [debug] Extension ms-python.black-formatter accessed onDidChangeActiveEnvironmentPath with args: undefined
2024-02-09 14:12:59.422 [debug] Extension ms-python.black-formatter accessed getActiveEnvironmentPath with args: undefined
2024-02-09 14:12:59.422 [debug] Extension ms-python.black-formatter accessed getActiveEnvironmentPath with args: undefined
2024-02-09 14:12:59.423 [debug] Extension ms-python.isort accessed getActiveEnvironmentPath with args: undefined
2024-02-09 14:12:59.423 [debug] Extension ms-python.black-formatter accessed resolveEnvironment with args: {"id":"D:\\TEST\\.VENV\\SCRIPTS\\PYTHON.EXE","path":"d:\\test\\.venv\\Scripts\\python.exe"}
2024-02-09 14:12:59.424 [debug] Extension ms-python.isort accessed resolveEnvironment with args: {"id":"D:\\TEST\\.VENV\\SCRIPTS\\PYTHON.EXE","path":"d:\\test\\.venv\\Scripts\\python.exe"}
2024-02-09 14:12:59.424 [debug] Extension ms-python.isort accessed onDidChangeActiveEnvironmentPath with args: undefined
2024-02-09 14:12:59.425 [debug] Extension ms-python.black-formatter accessed resolveEnvironment with args: {"id":"D:\\TEST\\.VENV\\SCRIPTS\\PYTHON.EXE","path":"d:\\test\\.venv\\Scripts\\python.exe"}
2024-02-09 14:12:59.425 [debug] Extension ms-python.isort accessed getActiveEnvironmentPath with args: undefined
2024-02-09 14:12:59.425 [debug] Extension ms-python.black-formatter accessed getActiveEnvironmentPath with args: undefined
2024-02-09 14:12:59.426 [debug] Extension ms-python.black-formatter accessed resolveEnvironment with args: {"id":"D:\\TEST\\.VENV\\SCRIPTS\\PYTHON.EXE","path":"d:\\test\\.venv\\Scripts\\python.exe"}
2024-02-09 14:12:59.426 [debug] Extension ms-python.isort accessed resolveEnvironment with args: {"id":"D:\\TEST\\.VENV\\SCRIPTS\\PYTHON.EXE","path":"d:\\test\\.venv\\Scripts\\python.exe"}
2024-02-09 14:12:59.427 [debug] Extension ms-python.isort accessed getActiveEnvironmentPath with args: undefined
2024-02-09 14:12:59.427 [debug] Extension ms-python.isort accessed resolveEnvironment with args: {"id":"D:\\TEST\\.VENV\\SCRIPTS\\PYTHON.EXE","path":"d:\\test\\.venv\\Scripts\\python.exe"}
2024-02-09 14:12:59.438 [debug] Searching for conda.
2024-02-09 14:12:59.442 [debug] Probing conda binary: conda
2024-02-09 14:12:59.447 [debug] Dump environment variables {
"ALLUSERSPROFILE": "C:\\ProgramData",
"AMDRMPATH": "C:\\Program Files\\AMD\\RyzenMaster\\",
"APPDATA": "C:\\Users\\rysza\\AppData\\Roaming",
"CGO_ENABLED": "0",
"CHROME_CRASHPAD_PIPE_NAME": "\\\\.\\pipe\\crashpad_4024_AXDBYEPTTAYVFIIT",
"COMPUTERNAME": "SCARF-PC",
"CUDA_PATH": "C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.3",
"CUDA_PATH_V12_3": "C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.3",
"ELECTRON_RUN_AS_NODE": "1",
"GIT_SSH": "D:\\Programming.\\tools\\plink.exe",
"HOMEDRIVE": "C:",
"HOMEPATH": "\\Users\\rysza",
"LOCALAPPDATA": "C:\\Users\\rysza\\AppData\\Local",
"LOGONSERVER": "\\\\SCARF-PC",
"NUMBER_OF_PROCESSORS": "16",
"ORIGINAL_XDG_CURRENT_DESKTOP": "undefined",
"OS": "Windows_NT",
"PATHEXT": ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW;.CPL",
"POWERSHELL_DISTRIBUTION_CHANNEL": "MSI:Windows 10 Home N",
"PROCESSOR_ARCHITECTURE": "AMD64",
"PROCESSOR_IDENTIFIER": "AMD64 Family 25 Model 33 Stepping 2, AuthenticAMD",
"PROCESSOR_LEVEL": "25",
"PROCESSOR_REVISION": "2102",
"PUBLIC": "C:\\Users\\Public",
"TEMP": "C:\\Users\\rysza\\AppData\\Local\\Temp",
"TMP": "C:\\Users\\rysza\\AppData\\Local\\Temp",
"USERDOMAIN": "SCARF-PC",
"USERDOMAIN_ROAMINGPROFILE": "SCARF-PC",
"USERNAME": "rysza",
"USERPROFILE": "C:\\Users\\rysza",
"VBOX_MSI_INSTALL_PATH": "C:\\Program Files\\Oracle\\VirtualBox\\",
"VSCODE_AMD_ENTRYPOINT": "vs/workbench/api/node/extensionHostProcess",
"VSCODE_CODE_CACHE_PATH": "D:\\Programming\\VSCode\\data\\user-data\\CachedData\\05047486b6df5eb8d44b2ecd70ea3bdf775fd937",
"VSCODE_CRASH_REPORTER_PROCESS_TYPE": "extensionHost",
"VSCODE_CWD": "D:\\Programming",
"VSCODE_HANDLES_UNCAUGHT_ERRORS": "true",
"VSCODE_IPC_HOOK": "\\\\.\\pipe\\a7f468ac-1.86.0-main-sock",
"VSCODE_NLS_CONFIG": "{\"locale\":\"en-us\",\"osLocale\":\"pl\",\"availableLanguages\":{},\"_languagePackSupport\":true}",
"VSCODE_PID": "4024",
"VSCODE_PORTABLE": "D:\\Programming\\VSCode\\data",
"ChocolateyInstall": "C:\\ProgramData\\chocolatey",
"ChocolateyLastPathUpdate": "133515266273972660",
"ChocolateyToolsLocation": "C:\\tools",
"ComSpec": "C:\\Windows\\system32\\cmd.exe",
"CommonProgramFiles": "C:\\Program Files\\Common Files",
"CommonProgramFiles(x86)": "C:\\Program Files (x86)\\Common Files",
"CommonProgramW6432": "C:\\Program Files\\Common Files",
"DriverData": "C:\\Windows\\System32\\Drivers\\DriverData",
"OneDrive": "C:\\Users\\rysza\\OneDrive",
"OneDriveConsumer": "C:\\Users\\rysza\\OneDrive",
"PSModulePath": "C:\\Users\\rysza\\Documents\\WindowsPowerShell\\Modules;C:\\Program Files\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules",
"ProgramData": "C:\\ProgramData",
"ProgramFiles": "C:\\Program Files",
"ProgramFiles(x86)": "C:\\Program Files (x86)",
"ProgramW6432": "C:\\Program Files",
"SystemDrive": "C:",
"SystemRoot": "C:\\Windows",
"windir": "C:\\Windows",
"Path": "C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.3\\bin;C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.3\\libnvvp;C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\Python\\Python310\\Scripts\\;C:\\Python\\Python310\\;C:\\Python\\Python311\\Scripts\\;C:\\Python\\Python311\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR;C:\\Program Files\\dotnet\\;C:\\Program Files (x86)\\dotnet\\;C:\\Users\\rysza\\AppData\\Roaming\\Python\\Scripts;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Calibre2\\;C:\\Program Files\\PowerShell\\7\\;C:\\tools\\php83;C:\\ProgramData\\ComposerSetup\\bin;C:\\Program Files\\NVIDIA Corporation\\Nsight Compute 2023.3.1\\;C:\\Users\\rysza\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Program Files\\Oracle\\VirtualBox;c:\\users\\rysza\\appdata\\roaming\\python\\scripts;C:\\Users\\rysza\\.dotnet\\tools;C:\\Users\\rysza\\AppData\\Roaming\\Composer\\vendor\\bin;D:\\Programming\\git\\bin"
}
2024-02-09 14:12:59.449 [info] > conda info --json
2024-02-09 14:12:59.453 [debug] Failed to spawn conda binary conda [Error: spawn conda ENOENT
at Process.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:476:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)] {
errno: -4058,
code: 'ENOENT',
syscall: 'spawn conda',
path: 'conda',
spawnargs: [ 'info', '--json' ]
}
2024-02-09 14:12:59.704 [debug] Activation Commands received d:/test/.venv/Scripts/activate.bat for shell cmd, resource d:\test and interpreter d:\test\.venv\Scripts\python.exe
2024-02-09 14:12:59.704 [debug] Activating Environment to capture Environment variables, d:/test/.venv/Scripts/activate.bat && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python d:/Programming/VSCode/data/extensions/ms-python.python-2024.0.1/pythonFiles/printEnvVariables.py
2024-02-09 14:12:59.705 [info] > ./.venv/Scripts/activate.bat && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python d:/Programming/VSCode/data/extensions/ms-python.python-2024.0.1/pythonFiles/printEnvVariables.py
2024-02-09 14:12:59.705 [info] shell: commandPrompt
2024-02-09 14:12:59.828 [debug] Extension ms-python.vscode-pylance accessed onDidChangeActiveEnvironmentPath with args: undefined
2024-02-09 14:12:59.829 [debug] Extension ms-python.vscode-pylance accessed onDidEnvironmentVariablesChange with args: undefined
2024-02-09 14:13:00.104 [debug] Activated environment variables for d:\test {
ALLUSERSPROFILE: 'C:\\ProgramData',
AMDRMPATH: 'C:\\Program Files\\AMD\\RyzenMaster\\',
APPDATA: 'C:\\Users\\rysza\\AppData\\Roaming',
CGO_ENABLED: '0',
CHOCOLATEYINSTALL: 'C:\\ProgramData\\chocolatey',
CHOCOLATEYLASTPATHUPDATE: '133515266273972660',
CHOCOLATEYTOOLSLOCATION: 'C:\\tools',
CHROME_CRASHPAD_PIPE_NAME: '\\\\.\\pipe\\crashpad_4024_AXDBYEPTTAYVFIIT',
COMMONPROGRAMFILES: 'C:\\Program Files\\Common Files',
'COMMONPROGRAMFILES(X86)': 'C:\\Program Files (x86)\\Common Files',
COMMONPROGRAMW6432: 'C:\\Program Files\\Common Files',
COMPUTERNAME: 'SCARF-PC',
COMSPEC: 'C:\\Windows\\system32\\cmd.exe',
CONDA_EXE: 'C:\\Users\\rysza\\anaconda3\\Scripts\\conda.exe',
CUDA_PATH: 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.3',
CUDA_PATH_V12_3: 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.3',
DRIVERDATA: 'C:\\Windows\\System32\\Drivers\\DriverData',
ELECTRON_RUN_AS_NODE: '1',
GIT_SSH: 'D:\\Programming.\\tools\\plink.exe',
HOMEDRIVE: 'C:',
HOMEPATH: '\\Users\\rysza',
LOCALAPPDATA: 'C:\\Users\\rysza\\AppData\\Local',
LOGONSERVER: '\\\\SCARF-PC',
NUMBER_OF_PROCESSORS: '16',
ONEDRIVE: 'C:\\Users\\rysza\\OneDrive',
ONEDRIVECONSUMER: 'C:\\Users\\rysza\\OneDrive',
ORIGINAL_XDG_CURRENT_DESKTOP: 'undefined',
OS: 'Windows_NT',
PATH: 'D:\\test\\.venv/Scripts;C:\\Program Files\\PowerShell\\7;C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.3\\bin;C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.3\\libnvvp;C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\Python\\Python310\\Scripts\\;C:\\Python\\Python310\\;C:\\Python\\Python311\\Scripts\\;C:\\Python\\Python311\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR;C:\\Program Files\\dotnet\\;C:\\Program Files (x86)\\dotnet\\;C:\\Users\\rysza\\AppData\\Roaming\\Python\\Scripts;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Calibre2\\;C:\\Program Files\\PowerShell\\7\\;C:\\tools\\php83;C:\\ProgramData\\ComposerSetup\\bin;C:\\Program Files\\NVIDIA Corporation\\Nsight Compute 2023.3.1\\;C:\\Users\\rysza\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Program Files\\Oracle\\VirtualBox;c:\\users\\rysza\\appdata\\roaming\\python\\scripts;C:\\Users\\rysza\\.dotnet\\tools;C:\\Users\\rysza\\AppData\\Roaming\\Composer\\vendor\\bin;D:\\Programming\\git\\bin',
PATHEXT: '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW;.CPL',
POWERSHELL_DISTRIBUTION_CHANNEL: 'MSI:Windows 10 Home N',
PROCESSOR_ARCHITECTURE: 'AMD64',
PROCESSOR_IDENTIFIER: 'AMD64 Family 25 Model 33 Stepping 2, AuthenticAMD',
PROCESSOR_LEVEL: '25',
PROCESSOR_REVISION: '2102',
PROGRAMDATA: 'C:\\ProgramData',
PROGRAMFILES: 'C:\\Program Files',
'PROGRAMFILES(X86)': 'C:\\Program Files (x86)',
PROGRAMW6432: 'C:\\Program Files',
PSMODULEPATH: 'C:\\Users\\rysza\\Documents\\PowerShell\\Modules;C:\\Program Files\\PowerShell\\Modules;c:\\program files\\powershell\\7\\Modules;C:\\Users\\rysza\\Documents\\WindowsPowerShell\\Modules;C:\\Program Files\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules',
PUBLIC: 'C:\\Users\\Public',
PYTHONIOENCODING: 'utf-8',
PYTHONUNBUFFERED: '1',
SYSTEMDRIVE: 'C:',
SYSTEMROOT: 'C:\\Windows',
TEMP: 'C:\\Users\\rysza\\AppData\\Local\\Temp',
TMP: 'C:\\Users\\rysza\\AppData\\Local\\Temp',
USERDOMAIN: 'SCARF-PC',
USERDOMAIN_ROAMINGPROFILE: 'SCARF-PC',
USERNAME: 'rysza',
USERPROFILE: 'C:\\Users\\rysza',
VBOX_MSI_INSTALL_PATH: 'C:\\Program Files\\Oracle\\VirtualBox\\',
VIRTUAL_ENV: 'D:\\test\\.venv',
VSCODE_AMD_ENTRYPOINT: 'vs/workbench/api/node/extensionHostProcess',
VSCODE_CODE_CACHE_PATH: 'D:\\Programming\\VSCode\\data\\user-data\\CachedData\\05047486b6df5eb8d44b2ecd70ea3bdf775fd937',
VSCODE_CRASH_REPORTER_PROCESS_TYPE: 'extensionHost',
VSCODE_CWD: 'D:\\Programming',
VSCODE_HANDLES_UNCAUGHT_ERRORS: 'true',
VSCODE_IPC_HOOK: '\\\\.\\pipe\\a7f468ac-1.86.0-main-sock',
VSCODE_NLS_CONFIG: '{"locale":"en-us","osLocale":"pl","availableLanguages":{},"_languagePackSupport":true}',
VSCODE_PID: '4024',
VSCODE_PORTABLE: 'D:\\Programming\\VSCode\\data',
WINDIR: 'C:\\Windows',
_CONDA_EXE: 'C:\\Users\\rysza\\anaconda3\\Scripts\\conda.exe',
_CONDA_ROOT: 'C:\\Users\\rysza\\anaconda3'
}
2024-02-09 14:13:00.107 [info] > C:\Python\Python310\python.exe d:/Programming/VSCode/data/extensions/ms-python.python-2024.0.1/pythonFiles/printEnvVariables.py
2024-02-09 14:13:00.107 [info] shell: powershellCore
2024-02-09 14:13:00.772 [debug] Delay Trigger[Test Configuration Change]: triggered=1, called=1
2024-02-09 14:13:00.778 [debug] Found cached env for d:\test\.venv\Scripts\python.exe
2024-02-09 14:13:00.779 [debug] Prepending environment variable PATH in collection with d:\Programming\VSCode\data\extensions\ms-python.python-2024.0.1\pythonFiles\deactivate\powershell;D:\test\.venv/Scripts;
2024-02-09 14:13:00.779 [debug] Setting environment variable VIRTUAL_ENV in collection to D:\test\.venv
2024-02-09 14:13:00.780 [info] Send text to terminal: & C:/Python/Python310/python.exe d:\Programming\VSCode\data\extensions\ms-python.python-2024.0.1\pythonFiles\printEnvVariablesToFile.py d:\Programming\VSCode\data\extensions\ms-python.python-2024.0.1\pythonFiles\deactivate\powershell\envVars.txt
2024-02-09 14:13:00.783 [debug] Clearing context for python dependencies not installed: ms-python.python.Python
2024-02-09 14:13:00.783 [debug] Found cached env for d:\test\.venv\Scripts\python.exe
2024-02-09 14:13:00.783 [debug] Found cached env for d:\test\.venv\Scripts\python.exe
2024-02-09 14:13:00.813 [debug] Time taken to get env vars using terminal is 34ms
2024-02-09 14:13:00.827 [debug] Probing conda binary: C:\Users\rysza\.conda\Scripts\conda.exe
2024-02-09 14:13:00.828 [info] > ~\.conda\Scripts\conda.exe info --json
2024-02-09 14:13:00.828 [debug] Failed to spawn conda binary C:\Users\rysza\.conda\Scripts\conda.exe Error: spawn C:\Users\rysza\.conda\Scripts\conda.exe ENOENT
at Process.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:476:16)
at processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -4058,
code: 'ENOENT',
syscall: 'spawn C:\\Users\\rysza\\.conda\\Scripts\\conda.exe',
path: 'C:\\Users\\rysza\\.conda\\Scripts\\conda.exe',
spawnargs: [ 'info', '--json' ]
}
2024-02-09 14:13:00.829 [debug] Probing conda binary: C:\Users\rysza\.condarc\Scripts\conda.exe
2024-02-09 14:13:00.829 [info] > ~\.condarc\Scripts\conda.exe info --json
2024-02-09 14:13:00.830 [debug] Failed to spawn conda binary C:\Users\rysza\.condarc\Scripts\conda.exe Error: spawn C:\Users\rysza\.condarc\Scripts\conda.exe ENOENT
at Process.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:476:16)
at processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -4058,
code: 'ENOENT',
syscall: 'spawn C:\\Users\\rysza\\.condarc\\Scripts\\conda.exe',
path: 'C:\\Users\\rysza\\.condarc\\Scripts\\conda.exe',
spawnargs: [ 'info', '--json' ]
}
2024-02-09 14:13:00.830 [debug] Probing conda binary: C:\Users\rysza\anaconda3\Scripts\conda.exe
2024-02-09 14:13:00.833 [info] > ~\anaconda3\Scripts\conda.exe info --json
2024-02-09 14:13:00.934 [debug] Clearing context for python dependencies not installed: ms-python.python.Python
2024-02-09 14:13:01.337 [info] Starting Pylance language server.
2024-02-09 14:13:01.337 [debug] Found cached env for d:\test\.venv\Scripts\python.exe
2024-02-09 14:13:01.338 [debug] Found cached env for d:\test\.venv\Scripts\python.exe
2024-02-09 14:13:01.343 [debug] Found cached env for d:\test\.venv\Scripts\python.exe
2024-02-09 14:13:01.344 [debug] Found cached env for d:\test\.venv\Scripts\python.exe
2024-02-09 14:13:01.347 [debug] Extension ms-python.vscode-pylance accessed getActiveEnvironmentPath with args: undefined
2024-02-09 14:13:01.348 [debug] Extension ms-python.vscode-pylance accessed resolveEnvironment with args: {"id":"D:\\TEST\\.VENV\\SCRIPTS\\PYTHON.EXE","path":"d:\\test\\.venv\\Scripts\\python.exe"}
2024-02-09 14:13:01.349 [debug] Extension ms-python.vscode-pylance accessed getEnvironmentVariables with args: undefined
2024-02-09 14:13:01.349 [debug] Extension ms-python.vscode-pylance accessed getActiveEnvironmentPath with args: undefined
2024-02-09 14:13:01.352 [debug] Extension ms-python.vscode-pylance accessed resolveEnvironment with args: {"id":"D:\\TEST\\.VENV\\SCRIPTS\\PYTHON.EXE","path":"d:\\test\\.venv\\Scripts\\python.exe"}
2024-02-09 14:13:02.026 [debug] Clearing context for python dependencies not installed: ms-python.python.Python
2024-02-09 14:13:02.412 [debug] C:\Users\rysza\anaconda3\Scripts\conda.exe info --json: {
"active_prefix": null,
"active_prefix_name": null,
"av_data_dir": "C:\\Users\\rysza\\anaconda3\\etc\\conda",
"av_metadata_url_base": null,
"channels": [
"https://repo.anaconda.com/pkgs/main/win-64",
"https://repo.anaconda.com/pkgs/main/noarch",
"https://repo.anaconda.com/pkgs/r/win-64",
"https://repo.anaconda.com/pkgs/r/noarch",
"https://repo.anaconda.com/pkgs/msys2/win-64",
"https://repo.anaconda.com/pkgs/msys2/noarch"
],
"conda_build_version": "3.25.0",
"conda_env_version": "23.5.2",
"conda_location": "C:\\Users\\rysza\\anaconda3\\Lib\\site-packages\\conda",
"conda_prefix": "C:\\Users\\rysza\\anaconda3",
"conda_shlvl": -1,
"conda_version": "23.5.2",
"config_files": [
"C:\\Users\\rysza\\.condarc"
],
"default_prefix": "C:\\Users\\rysza\\anaconda3",
"env_vars": {
"AMDRMPATH": "C:\\Program Files\\AMD\\RyzenMaster\\",
"CIO_TEST": "<not set>",
"CONDA_ROOT": "C:\\Users\\rysza\\anaconda3",
"CUDA_PATH": "C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.3",
"CURL_CA_BUNDLE": "<not set>",
"HOMEPATH": "\\Users\\rysza",
"LD_PRELOAD": "<not set>",
"PATH": "C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.3\\bin;C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.3\\libnvvp;C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\Python\\Python310\\Scripts\\;C:\\Python\\Python310\\;C:\\Python\\Python311\\Scripts\\;C:\\Python\\Python311\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR;C:\\Program Files\\dotnet\\;C:\\Program Files (x86)\\dotnet\\;C:\\Users\\rysza\\AppData\\Roaming\\Python\\Scripts;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Calibre2\\;C:\\Program Files\\PowerShell\\7\\;C:\\tools\\php83;C:\\ProgramData\\ComposerSetup\\bin;C:\\Program Files\\NVIDIA Corporation\\Nsight Compute 2023.3.1\\;C:\\Users\\rysza\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Program Files\\Oracle\\VirtualBox;c:\\users\\rysza\\appdata\\roaming\\python\\scripts;C:\\Users\\rysza\\.dotnet\\tools;C:\\Users\\rysza\\AppData\\Roaming\\Composer\\vendor\\bin;D:\\Programming\\git\\bin",
"PSMODULEPATH": "C:\\Users\\rysza\\Documents\\WindowsPowerShell\\Modules;C:\\Program Files\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules",
"PYTHONIOENCODING": "utf-8",
"PYTHONUNBUFFERED": "1",
"REQUESTS_CA_BUNDLE": "<not set>",
"SSL_CERT_FILE": "<not set>",
"VBOX_MSI_INSTALL_PATH": "C:\\Program Files\\Oracle\\VirtualBox\\",
"VSCODE_CODE_CACHE_PATH": "D:\\Programming\\VSCode\\data\\user-data\\CachedData\\05047486b6df5eb8d44b2ecd70ea3bdf775fd937"
},
"envs": [
"C:\\Users\\rysza\\anaconda3",
"D:\\text-generation-webui\\installer_files\\conda",
"D:\\text-generation-webui\\installer_files\\env"
],
"envs_dirs": [
"C:\\Users\\rysza\\anaconda3\\envs",
"C:\\Users\\rysza\\.conda\\envs",
"C:\\Users\\rysza\\AppData\\Local\\conda\\conda\\envs"
],
"is_windows_admin": false,
"netrc_file": "C:\\Users\\rysza/.netrc",
"offline": false,
"pkgs_dirs": [
"C:\\Users\\rysza\\anaconda3\\pkgs",
"C:\\Users\\rysza\\.conda\\pkgs",
"C:\\Users\\rysza\\AppData\\Local\\conda\\conda\\pkgs"
],
"platform": "win-64",
"python_version": "3.11.3.final.0",
"rc_path": "C:\\Users\\rysza\\.condarc",
"requests_version": "2.29.0",
"root_prefix": "C:\\Users\\rysza\\anaconda3",
"root_writable": true,
"site_dirs": [
"C:\\Users\\rysza\\AppData\\Roaming\\Python\\Python311",
"C:\\Users\\rysza\\AppData\\Roaming\\Python\\Scripts"
],
"sys.executable": "C:\\Users\\rysza\\anaconda3\\python.exe",
"sys.prefix": "C:\\Users\\rysza\\anaconda3",
"sys.version": "3.11.3 | packaged by Anaconda, Inc. | (main, Apr 19 2023, 23:46:34) [MSC v.1916 64 bit (AMD64)]",
"sys_rc_path": "C:\\Users\\rysza\\anaconda3\\.condarc",
"user_agent": "conda/23.5.2 requests/2.29.0 CPython/3.11.3 Windows/10 Windows/10.0.19045",
"user_rc_path": "C:\\Users\\rysza\\.condarc",
"virtual_pkgs": [
[
"__archspec",
"1",
"x86_64"
],
[
"__cuda",
"12.4",
"0"
],
[
"__win",
"0",
"0"
]
]
}
2024-02-09 14:13:02.416 [info] > ~\anaconda3\condabin\conda.bat info --json
2024-02-09 14:13:03.631 [debug] C:\Users\rysza\anaconda3\condabin\conda.bat info --json: {
"active_prefix": null,
"active_prefix_name": null,
"av_data_dir": "C:\\Users\\rysza\\anaconda3\\etc\\conda",
"av_metadata_url_base": null,
"channels": [
"https://repo.anaconda.com/pkgs/main/win-64",
"https://repo.anaconda.com/pkgs/main/noarch",
"https://repo.anaconda.com/pkgs/r/win-64",
"https://repo.anaconda.com/pkgs/r/noarch",
"https://repo.anaconda.com/pkgs/msys2/win-64",
"https://repo.anaconda.com/pkgs/msys2/noarch"
],
"conda_build_version": "3.25.0",
"conda_env_version": "23.5.2",
"conda_location": "C:\\Users\\rysza\\anaconda3\\Lib\\site-packages\\conda",
"conda_prefix": "C:\\Users\\rysza\\anaconda3",
"conda_shlvl": -1,
"conda_version": "23.5.2",
"config_files": [
"C:\\Users\\rysza\\.condarc"
],
"default_prefix": "C:\\Users\\rysza\\anaconda3",
"env_vars": {
"AMDRMPATH": "C:\\Program Files\\AMD\\RyzenMaster\\",
"CIO_TEST": "<not set>",
"CONDA_EXE": "C:\\Users\\rysza\\anaconda3\\condabin\\..\\Scripts\\conda.exe",
"CONDA_EXES": "\"C:\\Users\\rysza\\anaconda3\\condabin\\..\\Scripts\\conda.exe\" ",
"CONDA_ROOT": "C:\\Users\\rysza\\anaconda3",
"CUDA_PATH": "C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.3",
"CURL_CA_BUNDLE": "<not set>",
"HOMEPATH": "\\Users\\rysza",
"LD_PRELOAD": "<not set>",
"PATH": "C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.3\\bin;C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.3\\libnvvp;C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\Python\\Python310\\Scripts\\;C:\\Python\\Python310\\;C:\\Python\\Python311\\Scripts\\;C:\\Python\\Python311\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR;C:\\Program Files\\dotnet\\;C:\\Program Files (x86)\\dotnet\\;C:\\Users\\rysza\\AppData\\Roaming\\Python\\Scripts;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Calibre2\\;C:\\Program Files\\PowerShell\\7\\;C:\\tools\\php83;C:\\ProgramData\\ComposerSetup\\bin;C:\\Program Files\\NVIDIA Corporation\\Nsight Compute 2023.3.1\\;C:\\Users\\rysza\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Program Files\\Oracle\\VirtualBox;c:\\users\\rysza\\appdata\\roaming\\python\\scripts;C:\\Users\\rysza\\.dotnet\\tools;C:\\Users\\rysza\\AppData\\Roaming\\Composer\\vendor\\bin;D:\\Programming\\git\\bin",
"PSMODULEPATH": "C:\\Users\\rysza\\Documents\\WindowsPowerShell\\Modules;C:\\Program Files\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules",
"PYTHONIOENCODING": "utf-8",
"PYTHONUNBUFFERED": "1",
"REQUESTS_CA_BUNDLE": "<not set>",
"SSL_CERT_FILE": "<not set>",
"VBOX_MSI_INSTALL_PATH": "C:\\Program Files\\Oracle\\VirtualBox\\",
"VSCODE_CODE_CACHE_PATH": "D:\\Programming\\VSCode\\data\\user-data\\CachedData\\05047486b6df5eb8d44b2ecd70ea3bdf775fd937"
},
"envs": [
"C:\\Users\\rysza\\anaconda3",
"D:\\text-generation-webui\\installer_files\\conda",
"D:\\text-generation-webui\\installer_files\\env"
],
"envs_dirs": [
"C:\\Users\\rysza\\anaconda3\\envs",
"C:\\Users\\rysza\\.conda\\envs",
"C:\\Users\\rysza\\AppData\\Local\\conda\\conda\\envs"
],
"is_windows_admin": false,
"netrc_file": "C:\\Users\\rysza/.netrc",
"offline": false,
"pkgs_dirs": [
"C:\\Users\\rysza\\anaconda3\\pkgs",
"C:\\Users\\rysza\\.conda\\pkgs",
"C:\\Users\\rysza\\AppData\\Local\\conda\\conda\\pkgs"
],
"platform": "win-64",
"python_version": "3.11.3.final.0",
"rc_path": "C:\\Users\\rysza\\.condarc",
"requests_version": "2.29.0",
"root_prefix": "C:\\Users\\rysza\\anaconda3",
"root_writable": true,
"site_dirs": [
"C:\\Users\\rysza\\AppData\\Roaming\\Python\\Python311",
"C:\\Users\\rysza\\AppData\\Roaming\\Python\\Scripts"
],
"sys.executable": "C:\\Users\\rysza\\anaconda3\\python.exe",
"sys.prefix": "C:\\Users\\rysza\\anaconda3",
"sys.version": "3.11.3 | packaged by Anaconda, Inc. | (main, Apr 19 2023, 23:46:34) [MSC v.1916 64 bit (AMD64)]",
"sys_rc_path": "C:\\Users\\rysza\\anaconda3\\.condarc",
"user_agent": "conda/23.5.2 requests/2.29.0 CPython/3.11.3 Windows/10 Windows/10.0.19045",
"user_rc_path": "C:\\Users\\rysza\\.condarc",
"virtual_pkgs": [
[
"__archspec",
"1",
"x86_64"
],
[
"__cuda",
"12.4",
"0"
],
[
"__win",
"0",
"0"
]
]
}
2024-02-09 14:13:03.631 [debug] Found conda via filesystem probing: C:\Users\rysza\anaconda3\Scripts\conda.exe
2024-02-09 14:13:05.176 [debug] Terminal shell path 'C:\Program Files\PowerShell\7\pwsh.exe' identified as shell 'powershellCore'
2024-02-09 14:13:05.176 [debug] Shell identified as powershellCore
2024-02-09 14:13:05.177 [debug] Found cached env for d:\test\.venv\Scripts\python.exe
Running (Get-Command python).Path
in the terminal returns C:\Python\Python310\python.exe
Can you print these in powershell which is expected to be activated?
$env:PATH
$env:Path
Also, can you hover over the terminal tab, and send this screenshot?
Please also send what you see once "Show environment contributions" is clicked.
$env:PATH
C:\Program Files\PowerShell\7;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\libnvvp;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Python\Python310\Scripts\;C:\Python\Python310\;C:\Python\Python311\Scripts\;C:\Python\Python311\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files\dotnet\;C:\Program Files (x86)\dotnet\;C:\Users\rysza\AppData\Roaming\Python\Scripts;C:\Program Files\Git\cmd;C:\Program Files\Calibre2\;C:\Program Files\PowerShell\7\;C:\tools\php83;C:\ProgramData\ComposerSetup\bin;C:\Program Files\NVIDIA Corporation\Nsight Compute 2023.3.1\;C:\Users\rysza\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Oracle\VirtualBox;c:\users\rysza\appdata\roaming\python\scripts;C:\Users\rysza\.dotnet\tools;C:\Users\rysza\AppData\Roaming\Composer\vendor\bin;D:\Programming\git\bin
# Terminal Environment Changes
## Extension: vscode.git
Enables the following features: git auth provider
- `GIT_ASKPASS=d:\Programming\VSCode\resources\app\extensions\git\dist\askpass.sh`
- `VSCODE_GIT_ASKPASS_NODE=D:\Programming\VSCode\Code.exe`
- `VSCODE_GIT_ASKPASS_EXTRA_ARGS=`
- `VSCODE_GIT_ASKPASS_MAIN=d:\Programming\VSCode\resources\app\extensions\git\dist\askpass-main.js`
- `VSCODE_GIT_IPC_HANDLE=\\.\pipe\vscode-git-3c79dd7708-sock`
## Extension: ms-python.python
Activated environment for `.\.venv\Scripts\python.exe`
- `PATH=d:\Programming\VSCode\data\extensions\ms-python.python-2024.0.1\pythonFiles\deactivate\powershell;D:\test\.venv/Scripts;${env:PATH}`
- `VIRTUAL_ENV=D:\test\.venv`
Thanks for the info @Scarfmonster. Your screenshot says "Shell integration failed to activate", which is the cause.
Right now due to a limitation on VS Code's end, we've to assume shell integration always work with Powershell: https://github.com/microsoft/vscode/issues/204616. I'm wondering if you might have script execution disabled on powershell due to which it's failing for you, try running the following after opening Powershell as admin:
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
If that still doesn't fix the issue, we can open up an issue for you on VS Code so they can investigate why shell integration fails in your case.
I tried setting the execution policy, but it didn't work.
I didn't notice that it said that the extension didn't activate, but I also remember checking this before and after taking the screenshot, and this info definitely wasn't there. I guess that was some sort of display glitch because I can't repeat that.
There might be something more going with shell integration because after restarting VSCode to check if I can repeat that I also got other weird results like
Can you open a new powershell terminal and then check?
Opening a new terminal after starting VSCode has the same "Shell integration failed to activate".
Leaving the terminal open and then repeatedly closing and opening VSCode several times causes the result from last screenshot again. This doesn't happen if I close and open terminals without closing VSCode.
Got it thanks.
@Scarfmonster Can you open an issue on VS Code https://github.com/Microsoft/vscode so we can get an answer on why shell integration fails to activate in your case? Let me know if you need any help in that regard, I'll be sure to monitor whatever you open, but it's better if you're one to initiate it.
FWIW I also expect your issue to be fixed once https://github.com/microsoft/vscode/issues/204616 is taken care of.
I had the same issue, but setting
"python.experiments.enabled": false
or using
"python.experiments.optOutFrom": ["pythonTerminalEnvVarActivation"]
reverted back to the old (working) behavior.
So this definitely has something to do with the environment variable based activation. It's not doing that properly?
Im running in to this issue as well, using zsh with powerlevel10k prompt. When I switch to a different prompt like omz minimal
, my vscode activates my venvs just fine. But when I have my host zsh configured to use powerlevel10k, vscode will not activate the venv when launching the integrated terminal.
Disabling python.experiments.enabled
allowed vscode to properly activate venvs when using powerlevel10k prompt in my zsh configuration.
Hey @anthonykim1, this issue might need further attention.
@karrtikr, you can help us out by closing this issue if the problem no longer exists, or adding more information.
Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on, then we will be happy to re-open this issue to pick up where we left off.
Happy Coding!
A very similar thing started happening to me on Windows. I got a pop-up pointing me to this page: https://github.com/microsoft/vscode-python/wiki/Activate-Environments-in-Terminal-Using-Environment-Variables And in the terminal tab info it does say
Python: Activated environment for .\.venv\Scripts\python.exe
But the environment is not active.Originally posted by @Scarfmonster in https://github.com/microsoft/vscode-python/issues/22881#issuecomment-1935124219