Questions tagged [pycharm]

PyCharm is an integrated development environment (IDE) for Python. It is developed by JetBrains for Windows, Mac OS X and Linux.

0 votes
0 answers
10 views

How to make an autocorrect from ',' to '.' whenever PyCharm notices an error

Whenever I'm coding I always find myself typing ',' instead of '.' and it costs me time and nerves. Is there a way to make an autocorrect for this kind of situation?
user avatar
0 votes
0 answers
13 views

Can you use .pylintrc within PyCharm?

Can you configure/customize rules with .pylintrc in PyCharm like you can in Spyder (i.e. Anaconda)? There is an option, Code>Inspect Code...,which reports certain issues in the Problems tab, but ...
user avatar
0 votes
0 answers
10 views

Pygame Icon Not Displaying In Ubuntu Linux [duplicate]

Ubuntu 20.04.4 LTS Python 3.8 PyCharm 2022.2.1 (Community Edition) I'm trying to create a window and have an icon with title displayed. The window and title work fine but the icon isn't displaying. ...
user avatar
0 votes
0 answers
15 views

PyCharm remote interpreter: Deployment path VS Root path VS Path mapping

I'm trying to use a remote server to run my code. Let's say I want to store my files on the remote server in /home/peyman/pycharm. Three different kinds of pathing are making me confused about how I ...
user avatar
  • 2,332
0 votes
0 answers
16 views

I press run in pycharm to open a kivy window and everytime i get an empty black window

I'm a beginner in python, I just learned the basics and now I'm following a tutorial in pycharm / kivy to learn further. I follow step by step what is in that tutorial but when I press RUN that black ...
user avatar
1 vote
4 answers
44 views

How to find the path to the file in Python?

(Windows) I have a file called: text.txt visible in the column on the left-hand side of my screen. After right-clicking on that file I should see "Show in Explorer", but I can't see such a ...
user avatar
-2 votes
0 answers
10 views

In python 3.10 what is the correct typehint for list of objects? [Object] or list[Object]?

Feels confusing for me, since in VSCode Pylance have problem with def foo() -> [str]: , saying List expression not allowed in type annotation, it wants list[str] insted. But in Pycharm the same ...
user avatar
0 votes
0 answers
9 views

Pickle display in a window

The user needs to be able to enter data which is then saved to a .txt file. I'm currently using Pickle to save the data. This data then needs to be retrieved and displayed in a similar format on the ...
user avatar
0 votes
0 answers
25 views

Why pip command without ! or $ mark works in jupyter notebook and python console (from pycharm), but not in python shell?

I noticed the shell commands pip work well in jupyter notebook or python console (from pycharm) without the $ or ! mark, but not in python shell. Anyone know why? I've tried below two codes. pip ...
user avatar
  • 1
-2 votes
0 answers
27 views

Python program unexpectedly exits without error message. Just says: Process finished with exit code -559038737

When I run my program, usually it runs fine and without error. But sometimes when I run it, the program will quit without explanation or error, and Pycharm will report at the bottom: "Process ...
user avatar
0 votes
1 answer
12 views

Option for DOCKER_BUILDKIT in PyCharm Docker Interpreter

Where can I enable DOCKER_BUILDKIT option in PyCharm for Docker interpreter? I tried the following and it returns a buildkit related error1, already set configuration in Docker Desktop 2 Connecting ...
user avatar
  • 542
0 votes
0 answers
11 views

dyld[3169]: Library not loaded: @rpath/libtbb.dylib

I am trying to use prophet on python to forecast stock data. I could download the package fine through pip install prophet but when i run: m = Prophet() m.fit(mydataframe) It gives me this error: ...
user avatar
  • 1
0 votes
0 answers
17 views

Python (PyCharm) and Fenics - Installation Problems

I’ve tried to install fenics and use the repository of the paper “Hybrid FEM-NN models: Combining artificial neural networks with the finite element method]” to calculate a linear Physics-Informed ...
user avatar
0 votes
1 answer
40 views

I am making voice assistant in pycharm. It was working fine week ago but now it is showing assertion erorr from __init__.py file

import pyttsx3 import speech_recognition as sr import datetime import wikipedia import webbrowser engine = pyttsx3.init('sapi5') voices = engine.getProperty('voices') engine.setProperty('voice', ...
user avatar
0 votes
0 answers
27 views

Saving content to a text file and then displaying the saved content

The user needs to be able to enter data which is then saved to a .txt file. I'm currently using Pickle to save the data. Second, this data needs to be retrieved and displayed in a test format on a ...
user avatar

15 30 50 per page
1
2 3 4 5
1030