Questions tagged [pycharm]
PyCharm is an IDE used for programming in `Python`, developed by Jetbrains. It provides code analysis, a graphical debugger, an integrated unit tester, integration with version control systems (VCSes), and supports web development with `Django`. It is cross-platform working on Windows, Mac OS X and Linux.
125
questions
0
votes
0
answers
363
views
PyCharm says "invalid python interpreter" about the venv I used (after Ubuntu upgrade)
After upgrading Ubuntu, PyCharm says this:
(How can I make that venv work on newer Ubuntu? - I'd rather keep all installed packages in that venv)
1
vote
0
answers
182
views
Pycharm crashes logs out of my session
For the past 3 days I have experienced this issue while using Pycharm on Ubuntu 22.04.4 LTS.
At random times, the operative system would crash into a black screen (bright underscore top left corner) ...
1
vote
1
answer
4k
views
How to fix "Cannot connect to already running IDE instance." error when launching PyCharm?
When I launch PyCharm I encounter the following error:
Start Failed
Cannot connect to already running IDE instance.
Exception: Process 5,095 is still running
How to solve this?
0
votes
1
answer
190
views
How do I use `pycharm` from the terminal using `ssh`?
I want to use pycharm and make my own AI. However, I can only ssh into my server. Is there a way to use pycharm through the ssh interface?
I've tried searching around online for an answer but came ...
2
votes
0
answers
223
views
Pycharm not detecting the installed Latex distribution
Previously, I had installed texlive using sudo apt install texlive-full. Pycharm was able to detect the installed Latex distribution. However, apt installs only 2019 texlive version. I wanted to use ...
0
votes
0
answers
42
views
PyCharm takes painfully long time to launch Telegram Bot
So i'm making telegram bots with Pycharm IDE on my Linux laptop. I have been doing it for quite a while, but on my main bulky PC. Now i switched to Linux Ubuntu laptop, and anytime i need to test my ...
-1
votes
1
answer
1k
views
Pycharm false import error alarm although code executes
I am new to PyCharm IDE (accustomed to VS code).
I am getting an import error alarm on IDE with the following line of code:
from tensorflow.keras.preprocessing.text import Tokenizer
Error: Cannot find ...
-1
votes
1
answer
183
views
Remote Desktop freezes when running code in terminal but not in Pycharm
I am having an extremely weird issue. Debug suggestions/fixes highly appreciated because it is preventing integration of new code into the team's workflow.
I have a deep learning pytorch code running ...
-1
votes
1
answer
24
views
No python intepreter recognised in PyCharm although python is installed
My problem is there is no intepreter shown in the choices when i try to select an intepretereven though I have one installed. Even after clicking on show all intepreters. Does this have something to ...
1
vote
0
answers
19
views
I've been trying to use Pycharm but when I create a project using venv it just doesn't detect the pythong installed. What do I do?
I don't exactly know what's the problem but it just doesn't detect the python installed on my system whether it is the pre-packaged with Ubuntu or a manually installed one.
About two months ago I was ...
0
votes
0
answers
240
views
How to get Python interpreter to work on PyCharm?
How do you get Python interpreter to work on PyCharm? I have Python 3.10 installed on Ubuntu 22.
0
votes
0
answers
902
views
How to Totally Erase PyCharm on Ubuntu 20.04?
I made a mistake by installing pycharm-community from jetbrains on my Ubuntu 20.04 from a tar file available here. Now, seems it is working, but each time I have to start pycharm as a script from
/opt/...
2
votes
1
answer
163
views
Display issue in PyCharm: very large whitespaces after leaving sleep mode
Here is the normal display of the whitespaces in PyCharm (very faint dots):
If I leave my computer for a moment, when I come back and wake up from sleep mode the computer, the whitespaces show like ...
0
votes
1
answer
2k
views
How do you resolve: PySide2/designer: symbol lookup error: ... : undefined symbol: _ZdlPvm, version Qt_5?
On Ubuntu 22.04, using Python 3.10.4, I've setup PyCharm community edition 2022.01 to use PySide2 designer (Qt) as an external tool. When I press the "create" button this error is produced ...
1
vote
1
answer
405
views
May 12, 2022 pyCharm mouse-wheel scrolling painfully slow
I discovered pyCharm update on 2002-05-12 (version 2022.1.1) severely impacted mouse wheel scrolling.
How do I go back to previous version?
0
votes
1
answer
354
views
Pycharm can't connect to mysql: Access denied
I am working on ubuntu 18.04. My pycharm version is:
PyCharm 2022.1 (Community Edition)
Build #PC-221.5080.212, built on April 12, 2022
Runtime version: 11.0.14.1+1-b2043.25 amd64
VM: OpenJDK 64-Bit ...
1
vote
1
answer
350
views
WSL: umake doesn't list pycharm
The umake docs (both online and on my ubuntu installation) say that umake ide has options including "pycharm,pycharm-educational,pycharm-professional". However when I try this on Ubuntu20 ...
0
votes
0
answers
143
views
How do I fix pycharm?
I reinstalled Ubuntu recently, and everything went fine until I tried to install PyCharm.
It worked properly on my past install, and I tried installing it with the Ubuntu Store and the tarball file ...
1
vote
3
answers
16k
views
ImportError: You must be root to use this library on linux. Keyboard module doesn't work. Can you help?
I have a code on pycharm, where it uses keyboard module to write 'Hello world!'. But when i run it, it says ImportError: You must be root to use this library on linux. I don't find answer to this ...
1
vote
2
answers
4k
views
Cannot use Python 3.10 as interpreter on Pycharm
I have python3.10 installed but I cannot set it as an interpreter.
The installation can be confirmed by calling python3.10 directly on the terminal, and with the command below:
$ ls -ls /usr/bin/...
1
vote
0
answers
562
views
Python file not working in terminal, only in pycharm
The program takes a picture and saves it to a directory named images.
#!/usr/bin/env/python
import cv2
import datetime
filename = datetime.datetime.now()
cam = cv2.VideoCapture(0)
s, img = cam.read()
...
0
votes
1
answer
370
views
what is .fuse_hidden0000905600000002 [duplicate]
I deleted a zip file I prepared wrongly to upload to S3 bucket for a lambda function but when I delete it this file appears and even if I delete it, it keeps reappearing in my Pycharm.
What is it, ...
2
votes
1
answer
9k
views
Pycharm -> Failed to create virtual environment
I wanted to run my first python file on ubuntu when suddenly this message with no further instructions appeared:
As a consequence I have researched what the meaning of the error was. According to the ...
0
votes
2
answers
2k
views
Freezes in 20.04.2. No idea how to troubleshoot
I'm brand new to Linux and Ubuntu and need a little help. I'm running 20.04.2 and frequently my system freezes up completely. I have zero knowledge of how to troubleshoot this problem. So far to ...
1
vote
0
answers
656
views
TensorFlow GPU could not load cuda libraries on PyCharm
I'm having a hard time trying to get the things work with TensorFlow, nvidia and PyCharm. Basically, I had followed the pre/post steps during installation process and ended up with:
eric@xps:~$ gcc --...
0
votes
1
answer
1k
views
Python3.9.6 interpreter does not appear in pycharm
I just installed Ubuntu 20.04 and just update python3.8 to python3.9 as you can see below
The problem is now that i want to use Pycharm i only get the python3.8 interpreter, my question how can i add ...
4
votes
2
answers
12k
views
ModuleNotFoundError: No module named 'tkinter'
The aforementioned error showed up when I tried to use the Turtle class. I was following a tutorial where it's used to pop up a window in the screen. The code is simple:
from turtle import Turtle, ...
2
votes
0
answers
75
views
Can I make snap to preload packages (pycharm) on boot?
Some packages, like Intellij's PyCharm, etc. take an insanely long time to start for the first time. I found this question which is about the same problem, but asked wrongly, it seems.
Basically, what ...
0
votes
1
answer
9k
views
ModuleNotFoundError: No module named 'pyautogui' in all IDEs no matter what I try
I've been trying to look for a solution online for hours with no avail.
I have this piece of code:
#load packages
import pyautogui #these are for our clicks and keystrokes!
import time #...
0
votes
0
answers
300
views
cv2 problem, error
I have the next question! I have an issue with cv2, I did install it by:
pip3 install opencv-python
But when I trying to run the file it's showing:
import cv2
ModuleNotFoundError: No module named '...
1
vote
1
answer
639
views
PyCharm, installed as a snap, keeps stating "Python Debugger Extension Available" every time the debugger is started
Setup:
Snap-Version of PyCharm (installed with --classic, as in the installation instructions)
Problem:
Every time I start the debugger in PyCharm a popup stating "Python Debugger Extension ...
0
votes
1
answer
487
views
No more python interpreters in Pycharm after unattended upgrade?
I work in Pycharm every day. Yesterday everything seemed fine, although in the evening the Pycharm window wasn't showing in the sidebar on my desktop. This morning as I open Pycharm, it says the ...
0
votes
1
answer
1k
views
Conda libraries not loading in PyCharm
So, i can't seem to have PyCharm work correctly with Conda.
I installed Anaconda following step by step the procedure on their site (download bash script, execute it). It is installed in ~/anaconda3, ...
1
vote
1
answer
498
views
ROS and PyCharm integration in Ubuntu 18.04
I am trying to get my Pycharm to recognize ROS melodic installed on my computer. This has been asked before but the solutions provided are not working. Generally something along this link works but ...
0
votes
1
answer
711
views
Pycharm Community Edition isn't detecting my packages
I have tried and tried again to properly install a package for Pycharm. I've used pip for both Python2.7 and Python3, and I've tried to use the tar file. But Pycharm doesn't detect the modules, even ...
1
vote
1
answer
577
views
Pycharm display an error in the terminal when I run python3 manage.py runserver
I am facing errors while trying to follow Django tutorial. I reach to the point to add and load an HTML template.
I deleted main.py python file but when I run my code I still find this error:
/home/...
7
votes
2
answers
12k
views
Installed ubuntu 20.04 from 0 - x509: certificate signed by unknown authority error on every app
I recently installed Ubuntu 20.04. Considering the time that passed since its release I thought it would be stable. After installing it, I go to Snap Store (named Ubuntu Software) and I see that ...
0
votes
0
answers
1k
views
Ubuntu Distutils and Pycharm
On an Ubuntu 20 LTS system (Ubuntu 20.04.1 LTS), just upgraded from 18.04 LTS
and running Pycharm 2020.2.3 professional (re-installed several times since upgrade of Ubuntu, via snap).
Checking that I ...
0
votes
1
answer
2k
views
So much space occupied by PyCharm and Intellij [duplicate]
I'm trying to free up some space on my Ubuntu partition, and I've already deleted huge redundant resources such as caches and log journals. Now two directories on /snap have grabbed my attention: /...
0
votes
1
answer
5k
views
pyplot.show() not working on pycharm on ubuntu [duplicate]
I have installed matplotlib but still when I run the program it shows:
Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure.
plt.show()
How to resolve this issue?
0
votes
1
answer
1k
views
How to install PyCharm from zip file? [duplicate]
I have downloaded PyCharm and unzipped using unzip command.
By using help from the internet I did everything to install it, but the ./configure command shows me an error:
bash: ./configure: No such ...
0
votes
1
answer
149
views
How to remove file in Ubuntu Terminal list? [duplicate]
I have entered command ls -ld .?* and then got output like this (here is just part of it which I wish to remove)
drwxrwxr-x 4 stanislav stanislav 4096 Apr 22 20:29 .PyCharm2018.3
drwxrwxr-x 4 ...
0
votes
1
answer
4k
views
sysctl.conf open and I can't write in it, it goes boing boing boing
I'm trying to follow these instructions to solve some issue with PyCharm. When I open sysctl.conf, I can reach the bottom but I can't write. I am greeted with the following Linux "feature":
boing
...
1
vote
1
answer
12k
views
ModuleNotFoundError: No module named 'distutils'
I've upgraded Ubuntu version on my PC from Ubuntu 18.04 LTS to 20.04 LTS.
After that I restarted my machine and trying to use PyCharm, I notice I can't run Python code from the IDE or run the Python ...
0
votes
1
answer
839
views
Pycharm menu bar disappearing
I'm using Pycharm Community Edition 2020.1 version. Operation system is Xubuntu 20, Java version is openjdk 11.0.7 2020-04-14
I faced a strange problem today. I lost menu bar in pycharm. I searched ...
3
votes
1
answer
322
views
Cannot Run .py File In QTerminal (tkinter)
I'm really trying to run this simple .py file in QTerminal, but no matter what I try, I just can't get it to run. There's nothing special or complicated about the code in the file, it's just something ...
1
vote
1
answer
2k
views
Install PycURL in my virtual environment in PyCharm
I am using and PyCharm in Ubuntu 18.04. I am also using Python 3.7 and pip 20.0.2. So far I have not been able to install PycURL in the virtual environment that I created in PyCharm.
I tried:
https:...
0
votes
1
answer
307
views
When pyCharm is running, I can't right click it to add it to taskbar
I have pyCharm running, but the only options I get when I right click it on the left is "All Windows," and "Quit."
I'd like to add it to my taskbar because it vanishes out of thin air after I close ...
0
votes
1
answer
3k
views
Why can't I launch PyCharm?
I downloaded pycharm using snap, and I edited the pycharm64.vmoptions file. Then I wasn't able to launch the software, so I uninstalled it.
After that, I downloaded the pycharm.tar.gz file from the ...
0
votes
1
answer
208
views
PyCharm Debug Tool Window simply desapear
My PyCharm debug tool window isn't available anymore. I was using it without problem yesterday, however after turn the computer on and open the application it has disappeared from the side bar and ...