Category "pycharm"

Read Files across File Systems (PyCharm Windows/WSL)

I'm using PyCharm with a WSL interpreter because I need to use a library that doesn't work well with Windows (gtsam, if you're wondering). I have a pandas Dataf

Python terminal closes when importing BeautifulSoup

I have a simple python program, that is supposed to scrape some information from the internet and do stuff with it. When I run the code in PyCharm (IDE) it work

Conda uses .local packages

I feel like this is a basic question, so feel free to direct me to any resources: My conda environment uses .local ahead of the package version specified in the

'Access is denied' to Python 3.8 for PyCharm on Windows 10

Attempting to create a new project in PyCharm Community on Windows 10. Here are the settings for new project in PyCharm: I'm greeted with the error msg: Cannot

Pyfiglet/Python - Print Pyfiglet ASCII in one line

This is my code to print "x t e k k y" whit a cool ASCII font using pyfiglet, but the output always displays in 2 lines, whith gives a bad aestethic, is there a

Wrong method template for PySide2.QtCore.QAbstractItemModel.parent(): where is the problem?

I am trying to implement a subclass of QAbstractItemModel using PySide2. The signature of the parent method is virtual QModelIndex parent(const QModelIndex &

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