Category "pycharm"

Old script using graphics.py crashes in pycharm and returns "Object Currently Drawn" error

Years ago I took a "Python for gaming" class and made a little game using graphics.py as the class final. The program has interactions based on mouse clicks, us

PyCharm: individually working tests, not finding a file when run in group

In my Python project, I have a set of unittests, that load some data from files in a data sub-directory. In PyCharm (Community 2019.3), running each of them in

Pycharm Linux "cannot open Local Terminal"

I've been digging through the internet forever trying to find how to fix this issue on opening the terminal in Pycharm. Everything is either for Windows "cmd.ex

PyCharm doesn't recognize Python 3.10, how do I configure it?

When I use the python version 3.10 it is recognized as Python 3.1 in PyCharm and this is a deprecated version. My OS is Windows 10. I'd to like to know how to f

Cannot run program "/../../python.exe" (in directory "/PythonSoftwareFoundation.Python.3.8_3.8.240.0_x64__qbz5n2kfra8p0"):Access is denied

I'm getting this error anytime when creating a new project in pycharm: Cannot run program "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.

Exception occurring just in PyCharm

I get 'NoneType' object is not callable' when I try to debug the following code in PyCharm IDE. I don't get the same error when debbuging at Visual Studio Code

Huggingface models only work once, then spit out Tokenizer error

i am following along with this example on huggingface's website, trying to work with twitter sentiment. I am running python 3.9 on PyCharm. the code works fine

File content as PyCharm run configuration parameters

I'm trying to launch may main Python script with some arguments listed in a txt file (config.txt). Because parameters change almost every launch and I dont

Code in Python that count repeated elements and return the item repeated most times and how many times

I have a list with integers, I need to find which item repeat the most, then the function should return two variables (value, number) value is the repeated elem

ERROR: Could not build wheels for PyNaCl which use PEP 517 and cannot be installed directly

Im using the latest Version of Pycharm: When i Enter this command: pip install -U discord.py[voice] This Error Message will come: ERROR: Could not build wheels

How do you create a gitignore file in pycharm? (windows)

What i could find relating to git settings on pycharm

"Indicated packet length too large" error when using remote interpreter in PyCharm

I am setting up a remote SSH interpreter in PyCharm, but when I try to select the interpreter's location on the remote machine, I get the following error: Indic

Python program works only from pycharm, not somewhere else

The script works fine when I run it in pycharm, but if I run it from somewhere else it just doesn't work. When I run it via cmd it gives me this error: Tracebac

PyCharm won't import PyGame

I'm fairly new to python and decided to try PyGame only to find it won't import. line 1, in <module> import pygame ModuleNotFoundError: No module nam

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