Skip to content
Advertisement

Tag: pycharm

My project is working on google colab but not working on pycharm

My project is a handwriting digit analyzer. It is working on Google Colab but is showing an error on Pycharm. The statement that is making it work in colab is “%matplotlib inline” this line is showing an error in pycharm. Traceback (most recent call last): File “C:UsersAsusPycharmProjectspythonProjectHandwriting_Digit_Recognitiondigit.py”, line 15, in plt.imshow(np.reshape(image, (18, 18)), cmap=”gray”) File “<array_function internals>”, line 5, in

Discord.py – which way should I pick? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about programming within the scope defined in the help center. Closed 1 year ago. Improve this question Recently I’ve known that developers are able to code Discord.py bot in 2 ways (or even more): To code every command

Change default scope for “find usages” in PyCharm

Somehow my PyCharm’s “Find Usages” scope gets changed and now it only searches in “Scratches and Consoles”. It used to be that when I typed ⌘B, PyCharm would go to the definition or usages of the object. But now I get this popup that says usages are out of scope ‘Scratches and Consoles’, and I have to press ⌥⌘F7 to

PyCharm 2021.1 “Find in Files” not working

Ever since I installed update to PyCharm 2021.1 my find usages and find in files features always return nothing found. Is there some settings that I’m missing that I suppose to set in this new version? Answer The answer is on Jetbrains’s issue tracker here: issue IDEA-266391. WORKAROUND Invoke File|Invalidate caches and select the following checkbox: Find in files doesn’t

PyCharm: Run `black -S` on region

We are not ready to automatically format the whole source code with black. But from time to time I would like to execute black -S on a region via PyCharm. There is a hint in the docs how to run black (or black -S (what I like)) on the whole file. But … How to run black only on a

odoo PyCharm configuration / no module named ‘odoo’

I’m newbee in programming and I need some help. I have to work with PyCharm and Odoo, so my point is to configure PyCharm for Odoo debugging. First of all I made a module and a model, it perfectly work with database(i can see and check it). I want PyCharm not to highlight word ‘odoo’, ‘models’ and ‘fields’ by red

Advertisement