hostuu.blogg.se

Add command-line launcher pycharm windows linux subsystem
Add command-line launcher pycharm windows linux subsystem










add command-line launcher pycharm windows linux subsystem

When you're in the Editor, the most convenient way is to use the Python Interpreter widget in the Status bar. Open the Add Python Interpreter dialog by either way: You also should set C:\ to /mnt/c/ in your mappings. You should use 127.0.0.1 as hostname, and login and password you entered after first lxrun /install.

add command-line launcher pycharm windows linux subsystem

For remote interpreters, see configuration-remote-python-interpreters. So, you only need to configure the mapping. P圜harm should be configured to use WSL as a remote interpreter but without deployment, since each drive on Windows is mapped to an appropriate folder in /mnt/ in WSL. You may create wsl_ssh.bat file like bash.exe -c "sudo service ssh start & sleep 999d" and use it to launch ssh. Looks like upstart is broken on current WSL, so you would need to run bash.exe, start sshd and keep console window opened since WSL stops when the last client disconnects. Turn it off with CTRL+ C, and start server in daemon mode ( sudo service ssh start). If you see it, then your server works correctly. If you see message about ECDSA finger print, answer y. From another bash.exe session try ssh 127.0.0.1.You should see something like Server listening on 0.0.0.0 port 22 Type sudo $(sudo which sshd) -d to run OpenSSH on foreground (it is much easier for debug).Since chroot is not implemented in WSL (yet), you also need to set UsePrivilegeSeparation no.Open /etc/ssh/sshd_config, and set PasswordAuthentication yes. Enable password authentication (unless you want to use public keys).

add command-line launcher pycharm windows linux subsystem

  • Update to latest version sudo apt-get update & sudo apt-get upgrade.
  • #Add command line launcher pycharm windows linux subsystem install

    Install wsl (something like lxrun /install` & lxrun /update ).You also can upgrade your current Insider Preview. P圜harm can only be configured to use WSL Python as a Remote Interpreter (this is due to lack of other public API). Using P圜harm Professional with WSL Python on Win10












    Add command-line launcher pycharm windows linux subsystem