'Pycharm Linux "cannot open Local Terminal"
I've been digging through the internet forever trying to find how to fix this issue on opening the terminal in Pycharm. Everything is either for Windows "cmd.exe" or the solution just does not work. I'm just trying to use the Terminal for Django. Does anyone know how to fix this? I'm using a Raspberry Pi running Raspbian Linux. Here's what it says when I try to open the terminal:
Cannot open Local Terminal
Failed to start [/bin/bash, --rcfile, /home/pi/Desktop/pycharm-community-2019.3.1/plugins/terminal/jediterm-bash.in, -i] in /home/pi/PycharmProjects/web
See your idea.log (Help | Show Log in File Manager) for the details.
Solution 1:[1]
OK . I had the same problem, and this is the solution:
ONce Pycharm Installed .. follow this steps
open terminal in your raspberry and type:
git clone https://github.com/JetBrains/pty4j.git
cd pty4j/native
gcc -fPIC -c *.c
gcc -shared -o libpty.so *.o
** now .. be carefull , and check your installation Pycharm´s folder name and write it accordingly.
and type:
cp libpty.so /opt/*** pycharm *** /lib/pty4j-native/linux/x86/
done !
Solution 2:[2]
Solution 3:[3]
I have the same issue in ubuntu PyCharm community edition. The issue resolved by clearing invalidate caches.
- File -> Invalidate Cache
- Select 'Clear file system cache and Local History'
- Select 'VCS Log caches and indexes
- Select 'Invalidate and Restart'
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Gaston |
Solution 2 | joonghyup cha |
Solution 3 | jassim |