-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for WSL "Windows Subsystem for Linux" #1251
Labels
Comments
What would full support mean?
|
giampaolo
changed the title
Add support for "Windows Subsystem for Linux"
Add support for WSL "Windows Subsystem for Linux"
Dec 19, 2020
PsutilProcConnections.connections returns this error:
|
Looking like a relatively similar path issue as the comment above, CPU frequencies also appear to be broken on WSL: Exception in command 'system top'
Traceback (most recent call last):
File "/home/vex/redenv/lib/python3.8/site-packages/discord/ext/commands/core.py", line 85, in wrapped
ret = await coro(*args, **kwargs)
File "/mnt/c/Data/Git/Vex-Cogs/system/system.py", line 339, in system_all
cpu = await get_cpu()
File "/mnt/c/Data/Git/Vex-Cogs/system/utils.py", line 37, in get_cpu
freq = psutil.cpu_freq(percpu=True)
File "/home/vex/.local/share/Red-DiscordBot/data/dev/cogs/Downloader/lib/psutil/__init__.py", line 1859, in cpu_freq
ret = _psplatform.cpu_freq()
File "/home/vex/.local/share/Red-DiscordBot/data/dev/cogs/Downloader/lib/psutil/_pslinux.py", line 748, in cpu_freq
raise NotImplementedError(
NotImplementedError: can't find current frequency file
I've also noticed that |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This basically would mean adding support for a new OS/platform
https://docs.microsoft.com/en-us/windows/wsl/install-win10
The text was updated successfully, but these errors were encountered: