Category "pycharm"

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.

PyCharm how to adjust gutter width?

The other day I mis-clicked on and mis-dragged something probably and then the left "side bar" of the editor window got wider than normal. Since this happened

Getting an error while trying to use the bugzilla python package

I am relatively new to Python. I am encountering an error while trying to use the bugzilla python package. Here is the code I am trying to execute: import bug

Pycharm and sys.argv arguments

I am trying to debug a script which takes command line arguments as an input. Arguments are text files in the same directory. Script gets file names from sys.ar

Explicitly declaring variable as unused in Python/PyCharm

Is there a way to declare a variable as unused in PyCharm, or in Python in general, so you can explicitly tell the compiler not to give a warning about it? I a

IDE deduce Python type

I am writing a method in Python, which looks something like this: def rgb_to_grayscale(image): print(image.shape) pass The one expected type here is nu

Can't import MigrateCommand from flask_migrate

I made a manage.py file for database migration in a Flask application and I get an error when trying to import MigrateCommand. I'm using PyCharm and I'm sure th

pycharm cannot find interpreter when cloning github of the same project between 2 computers

I coded on my labtop, push code to github. then clone it to my computer for the first time. ( environment are different of course) I did all my work on my comp

Invalid Python SDK Error while using python 3.4 on PyCharm

When I switch my PyCharm to use Python 3.4.3 I am getting the error: Invalid Python SDK Also PyCharm does not automatically find the Python 3.4 interprete

ERROR: Could not install packages due to an OSError: [WinError 5] [duplicate]

i was trying to install tensorflow-gpu on my pycharm (pip install tensorflow-gpu), but unfortunately im getting a Error Message. How can i ins

Python - NameError: name 'engine' is not defined / Driver not found

I have been trying to work on an AI Project in PyCharm using this video: https://www.youtube.com/watch?time_continue=179&v=rU_ppVsyJu8 Here is the code: imp