WSL-Distribution-Switcher icon indicating copy to clipboard operation
WSL-Distribution-Switcher copied to clipboard

Error installing Fedora [Specified Module could not be found

Open ThinkDigitalSoftware opened this issue 7 years ago • 2 comments

PS C:\Users\knigh> C:\Windows\py.exe C:\Users\knigh\Git\WSL-Distribution-Switcher\install.py fedora [] Probing the Linux subsystem... [!] The Linux subsystem is currently running. Please kill all instances before continuing. PS C:\Users\knigh> C:\Windows\py.exe C:\Users\knigh\Git\WSL-Distribution-Switcher\install.py fedora [] Probing the Linux subsystem... [] Default user is thinkdigital at /home/thinkdigital. [] Reading /etc/{passwd,shadow,group,gshadow} entries for root and thinkdigital... [] Beginning extraction... [!] Failed to extract archive: [WinError 126] The specified module could not be found PS C:\Users\knigh> C:\Windows\py.exe C:\Users\knigh\Git\WSL-Distribution-Switcher\install.py fedora [] Probing the Linux subsystem... [] Default user is thinkdigital at /home/thinkdigital. [] Reading /etc/{passwd,shadow,group,gshadow} entries for root and thinkdigital... [] Beginning extraction... [!] Failed to extract archive: [WinError 126] The specified module could not be found PS C:\Users\knigh> C:\Windows\py.exe C:\Users\knigh\Git\WSL-Distribution-Switcher\get-prebuilt.py fedora [] Requesting authorization token... [] Fetching manifest info for fedora:latest... [] Downloading layer sha256:691bc14ee27487db536172a1fcdbbf956f460d1e1e1b201828e3a2bab81c5ec8... [] Downloading layer sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4... [] Rootfs archive for fedora:latest saved to rootfs_fedora_latest.tar.gz. PS C:\Users\knigh> C:\Windows\py.exe C:\Users\knigh\Git\WSL-Distribution-Switcher\install.py .\rootfs_fedora_latest.tar. gz [] Probing the Linux subsystem... [] Default user is thinkdigital at /home/thinkdigital. [] Reading /etc/{passwd,shadow,group,gshadow} entries for root and thinkdigital... [] Beginning extraction... [!] Failed to extract archive: [WinError 126] The specified module could not be found

Windows Info

                     ....::::       knigh@DESKTOP-0LAUJSG
             ....::::::::::::       OS: Microsoft Windows 10 Home Insider Preview 64-bit
    ....:::: ::::::::::::::::       Kernel: 10.0.16199

....:::::::::::: :::::::::::::::: Uptime: 0d 5h 35m 44s :::::::::::::::: :::::::::::::::: Motherboard: HP 81A1 :::::::::::::::: :::::::::::::::: Shell: PowerShell 5.1.16199.1000 :::::::::::::::: :::::::::::::::: Resolution: 1280 x 720 :::::::::::::::: :::::::::::::::: Window Manager: DWM ................ ................ Font: Segoe UI :::::::::::::::: :::::::::::::::: CPU: Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz :::::::::::::::: :::::::::::::::: GPU: Intel(R) HD Graphics 520 :::::::::::::::: :::::::::::::::: RAM: 7121 MB / 16295 MB (44%) '''':::::::::::: :::::::::::::::: Disk: 198GB / 233GB (85%) '''':::: :::::::::::::::: '''':::::::::::: ''''::::

ThinkDigitalSoftware avatar Jun 04 '17 04:06 ThinkDigitalSoftware

You need to execute this command from the WSL Switcher directory. The DLL not found ([WinError 126]) is called from the python install script. In the above instance, you would need to execute this: PS C:\Users\knigh\Git\WSL-Distribution-Switcher> C:\Windows\py.exe ./install.py "C:\Users\knigh\rootfs_fedora_latest.tar.gz"

Snargaloo avatar Jan 23 '18 05:01 Snargaloo

Thank you! On Mon, Jan 22, 2018 at 9:10 PM Snargaloo [email protected] wrote:

You need to execute this command from the WSL Switcher directory. The DLL not found ([WinError 126]) is called from the python install script. In the above instance, you would need to execute this: PS C:\Users\knigh\Git\WSL-Distribution-Switcher> C:\Windows\py.exe ./install.py "C:\Users\knigh\rootfs_fedora_latest.tar.gz"

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/RoliSoft/WSL-Distribution-Switcher/issues/48#issuecomment-359678336, or mute the thread https://github.com/notifications/unsubscribe-auth/AV-Hff0Q30_XPh8TuTDOqY1XQM3fgaE4ks5tNWm3gaJpZM4NvRhc .

ThinkDigitalSoftware avatar Jan 23 '18 05:01 ThinkDigitalSoftware