-
Notifications
You must be signed in to change notification settings - Fork 36
Closed
Labels
info-neededIssue requires more information from posterIssue requires more information from postertriage-needed
Description
When I'm in wsl, with .venv,
I would get Error refreshing packages:
The flow is to open folder in wsl, create new venv from wsl, then I end up in `error refreshing packages like the image.

Log:
2025-10-03 15:01:46.972 [info] Auto activation type changed to shellStartup
2025-10-03 15:01:46.980 [info] SHELL: Shell integration is available on your active terminal. Python activate scripts will be evaluated at shell integration level.
Skipping modification of bash profile at: undefined
2025-10-03 15:01:47.815 [info] Terminal is activated: /mnt/c/Users/antho/Desktop/dummy/.venv/bin/python
2025-10-03 15:02:02.837 [info] Terminal is activated: /mnt/c/Users/antho/Desktop/dummy/.venv/bin/python
2025-10-03 15:02:04.271 [info] Terminal is activated: /mnt/c/Users/antho/Desktop/dummy/.venv/bin/python
2025-10-03 15:02:05.256 [info] Terminal is activated: /mnt/c/Users/antho/Desktop/dummy/.venv/bin/python
2025-10-03 15:02:06.823 [info] Terminal is activated: /mnt/c/Users/antho/Desktop/dummy/.venv/bin/python
2025-10-03 15:02:07.825 [info] Terminal is activated: /mnt/c/Users/antho/Desktop/dummy/.venv/bin/python
2025-10-03 15:02:08.654 [info] Terminal is activated: /mnt/c/Users/antho/Desktop/dummy/.venv/bin/python
2025-10-03 15:02:39.816 [info] Python API: Changed environment from .venv (3.12.3) to Python 3.12.3 for: /mnt/c/Users/antho/Desktop/dummy
2025-10-03 15:02:39.816 [info] Internal: Changed environment from .venv (3.12.3) to Python 3.12.3 for: /mnt/c/Users/antho/Desktop/dummy
2025-10-03 15:03:15.043 [info] Package Installer: user selected skip package installation
2025-10-03 15:03:15.048 [info] Running: /bin/python3 -m venv /mnt/c/Users/antho/Desktop/dummy/.venv
2025-10-03 15:03:15.220 [info] python: The virtual environment was not created successfully because ensurepip is not
available. On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.
apt install python3.12-venv
You may need to use sudo with that command. After installing the python3-venv
package, recreate your virtual environment.
Failing command: /mnt/c/Users/antho/Desktop/dummy/.venv/bin/python3
2025-10-03 15:03:15.225 [error] Failed to create virtual environment: Error: Failed to run python -m venv /mnt/c/Users/antho/Desktop/dummy/.venv
2025-10-03 15:03:17.869 [info] Running: /bin/python3 -m pip list
2025-10-03 15:03:17.881 [info] python: /bin/python3: No module named pip
2025-10-03 15:03:17.885 [error] Error refreshing packages Failed to run python -m pip list
Metadata
Metadata
Assignees
Labels
info-neededIssue requires more information from posterIssue requires more information from postertriage-needed