mirror of
https://github.com/cascadium/wsl-windows-toolbar-launcher.git
synced 2026-04-26 21:15:49 +03:00
[GH-ISSUE #22] Launching / Installing script in windows environment should not be possible #19
Labels
No labels
duplicate
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/wsl-windows-toolbar-launcher#19
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Parzival1608vonKatze on GitHub (Oct 23, 2020).
Original GitHub issue: https://github.com/cascadium/wsl-windows-toolbar-launcher/issues/22
//libmagic is missing//
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.1776.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.1776.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\phmec\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\Scripts\wsl-windows-toolbar.exe_main.py", line 4, in
File "C:\Users\phmec\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\wsl_windows_toolbar\wsl_windows_toolbar.py", line 8, in
import magic
File "C:\Users\phmec\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\magic.py", line 201, in
raise ImportError('failed to find libmagic. Check your installation')
ImportError: failed to find libmagic. Check your installation
C:\Users\phmec\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\Scripts>
@fquinner commented on GitHub (Oct 23, 2020):
The wsl toolbar script should be run from your WSL environment - not from your windows environment.
@fquinner commented on GitHub (Nov 29, 2020):
Some changes in flight to prevent this from happening
@fquinner commented on GitHub (Nov 29, 2020):
Should now only install and run on WSL as of 0.6.0