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

install.py #73

Open
ghost opened this issue Jan 14, 2018 · 2 comments
Open

install.py #73

ghost opened this issue Jan 14, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented Jan 14, 2018

Not sure why it's failing to pobe_wsl ?

:~/WSL-Distribution-Switcher$ sudo python3 install.py rootfs_kalilinux_kali-linux-docker_latest.tar.gz
[*] Probing the Linux subsystem...
Traceback (most recent call last):
  File "install.py", line 48, in <module>
    basedir, lxpath = probe_wsl()
  File "/home/jan/WSL-Distribution-Switcher/utils.py", line 185, in probe_wsl
    basedir = os.path.join(os.getenv('LocalAppData'), 'lxss')
  File "/usr/lib/python3.5/posixpath.py", line 89, in join
    genericpath._check_arg_types('join', a, *p)
  File "/usr/lib/python3.5/genericpath.py", line 143, in _check_arg_types
    (funcname, s.__class__.__name__)) from None
TypeError: join() argument must be str or bytes, not 'NoneType'
@Dr-Chaos
Copy link

Dr-Chaos commented Jan 15, 2018

Because you use the script from your Subsystem !
You must use install.py from Windows (ex PowerShell)

@ghost
Copy link
Author

ghost commented Jan 16, 2018

Ohh right thanks.

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

1 participant