Skip to content
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

Error installing Fedora [Specified Module could not be found #48

Open
ThinkDigitalSoftware opened this issue Jun 4, 2017 · 2 comments

Comments

@ThinkDigitalSoftware
Copy link

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%)
'''':::: ::::::::::::::::
''''::::::::::::
''''::::

@Snargaloo
Copy link

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"

@ThinkDigitalSoftware
Copy link
Author

ThinkDigitalSoftware commented Jan 23, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants