Category "pycharm"

Can no longer type quotation marks in IDLE3.5. Pycharm (2018.3) and Netbeans, why?

I am struggling with a weird situation. For a week or so quotation marks (', " but also ^) no longer appear when I type them in IDLE 3.5 (I get ¨ and ´

Why is 'NoneType' object not iterable in HackerRank, but not PyCharm?

Using Python 3.x, I'm trying to round up students grades given a teacher's weird way of grading. Basically, if the student grade is below 38, do nothing. If the

Can substitute PyCharm Professional for CLion - primarily for python

My favourite editor by far is PyCharm, mainly because I am most comfortable with Python. I am subscribed to the professional package, but I am interested in pi

django-crispy-forms ModuleNotFoundError but can import in console

i've been trying to get crispy forms working for 3 hours now it's driving me nuts, please help! (or suggest another/better way to style forms in django?!) i hav

Process finished with exit code -1073740791 (0xC0000409) pycharm error

I am trying to use fastText with PyCharm. Whenever I run below code: import fastText model=fastText.train_unsupervised("data_parsed.txt") model.save_model("m

How to connect to an Intersys cache database in Python

I'm using PyCharm and I'm trying to connect to a database which is connected via the Intersys cache. In many places online it is stated that I need to connect w

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