Category "pycharm"

ImportError: cannot import name 'safe_str_cmp' from 'werkzeug.security'

Any ideas on why I get this error? My project was working fine. I copied it to an external drive and onto my laptop to work on the road; it worked fine. I copie

See pip installations in a PyCharm Project?

Is there a possibility to see all pip installed packages in Pycharm? Because I have the Problem: I write in PyCharm and it works fine, but now I want to move th

Discord Bot can only see itself and no other users in guild

I have recently been following this tutorial to get myself started with Discord's API. Unfortunately, when I got the part about printing all the users in the gu

Clearing user-created variables in Python

I am an absolute beginner in Python. I have been using R and Matlab for data analysis for quite some time. One of the great things about these languages (or too

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