Category "pycharm"

Descriptive flake8 errors in PyCharm

PyCharm does not have a built-in support for flake8 at the moment. But, flake8 can be configured to run as an external tool. Sometimes, especially for Python n

PyCharm has failed to load the environment from '/bin/zsh'

I wrote a program about a month ago, and it worked fine. I haven't touched it since than, until today. All of a sudden, I get the warning when opening Pycharm:

Pycharm message "Process error=5, Access is denied" from run flake8

I'm trying to use flake8 in PyCharm for Python 3. I got this error code when I try to run flake8: "Error running Flake8: Cannot run program "D:\Python36\Lib\si

ImportError: cannot import name '_png' from 'matplotlib'

I'm currently working with Python 3.7 on Pycharm and trying to get a better understanding of kivy. I found a script that I'm trying to run but I'm encountering

Cannot install mediapipe package in Pycharm terminal or Package installer

I am trying to use Mediapipe with python. I originally tried mediapipe-rpi4 which did install successfully. But when I run it I get this error message Traceback

How to type hint a generator in Python 3?

According to PEP-484, we should be able to type hinting a generator function as follows: from typing import Generator def generate() -> Generator[int, None,

Git is not recognized in pycharm

I am trying to pull a github repository from bitbucket using pyCharm. I added the path to my git executable under version control / Git and installed the bitb

PyCharm warns local variable might be referenced

Why does PyCharm highlight the boolean variable nearby the return with Local variable "boolean" might be referenced before assignment? This code checks whethe

PyCharm raising Unresolved reference + expression expected for mypy ignore based on error code

I am trying to silence mypy errors based on error codes. This is done using something like this: from foolib import foo # type: ignore[attr-defined] I beli

When debugging script: Process finished with exit code -1073741819 (0xC0000005) but not when running script

I am getting this error when using the debugger, and I am not having it when running my code. I am trying to understand this answer which seems to raise the sam

why the PyCharm did not hit the breakpoint when debugging celery

I want to debugging the celery(celery==5.1.2) task in PyCharm(PyCharm 2021.3.1 (Professional Edition)) right now. So I configure the PyCharm debugging like this

Add space in self closing tags before in self closing tags

How do you include a space before the closing tags in self closing tags with WebStorm/IntelliJ-based products? Default settings turns <ReactComp /> to &l

Pycharm Jupyter Notebook `PYTHONPATH`?

System information Mac OS X 10.12 Sierra Pycharm 2016.2.3 Python 3.5.1 Jupyter 4.1.0 Question When I'm using Jupyter Notebook under Pycharm, it doesn't seem t

PyCharm error: [Errno 13] Permission denied

I am using PyCharm for executing my Python programs. Today, I had tried updating all the packages using Project Interpreter. I received the following error in t

why could not debugging the python celery in PyCharm

I am trying to debugging the celery in PyCharm, when I start the celery in PyCharm the task did not trigger the breakpoint. This is the PyCharm config look like

How can i exit the python shell to the terminal in Pycharm?

For example, I wrote the code; SyntaxError: invalid syntax >>> python manage.py command File "<console>", line 1 python manage.py command* t

Check if program runs in Debug mode

I use the PyCharm IDE for Python programming. Is there a possibility to check, whether I'm in debugging mode or not when I run my program? I use pyplot as plt a

Kill a process in Windows 10 from the PyCharm command line

I would like to use Tensorboard on a Python application. When I start it using the command line of PyCharm in Windows 10, I get the following message: "Reusing

why the python3 did not hit breakpoint in schedule task in PyCharm

I am using this code to capture Python 3 exception in PyCharm PyCharm 2022.1 (Professional Edition), this is my code look like: @staticmethod def parse_single(e

Pycharm underlines absolute import, but it works fine

I have path server->api(folder), manage.py. Pycharm underlines my absolute import from api.views import create_user but it works! If i type like from server.