![]() ![]() Of course it can't open C:/Users/pcl/PycharmProjects/test-1/test-1.sh, because the file path has been changed to /mnt/c/Users/pcl/PycharmProjects/test-1 in WSL.īut P圜harm is just not smart enough to recognize it. It says, /bin/sh: 0: Can't open C:/Users/pcl/PycharmProjects/test-1/test-1.sh Provided that you have Pycharm Pro still, you may setup with the remote SSH interpreter option as: Pycharm in Windows, Git in Windows and the Python interpreter, venv, etc. The problem is, when I run shell scripts from the P圜harm IDE, it gives this error: Hi, It is not entirely true that you cant make it work. We can see that the file path has been changed to /mnt/c/Users/pcl/PycharmProjects/test-1 When this is done, I can run Linux command in the P圜harm terminal like this: In File->Settings->Tools->Terminal, change the shell path from cmd.exe to bash.exe. So I change the settings on P圜harm on Windows 10. We know that P圜harm on Linux can create and run shell scripts because P圜harm use the /bin/bash on Linux.īut on Windows, P圜harm doesn't know where to find /bin/bash. ![]() I have installed P圜harm Community Edition on Windows 10, my Windows also has WSL Ubuntu installed.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |