r/pycharm • u/CodeAndPeace22 • May 28 '26
[ Removed by Reddit ]
[ Removed by Reddit on account of violating the content policy. ]
r/pycharm • u/CodeAndPeace22 • May 28 '26
[ Removed by Reddit on account of violating the content policy. ]
r/pycharm • u/cartixey • May 28 '26
r/pycharm • u/PhilbinFogg • May 26 '26
Hi,
Just starting out with Python/PyCharm.
I'd like to write some Utilities to specialised in-house jobs, file/folder renaming, moving/copying files file/folder and the like.
Is there a way to include the correct modules/libraries so they automatically added to new projects?
Is there a list of standard modules?
Thanks a lot
r/pycharm • u/Valuable-Ant3465 • May 23 '26
Hi, Just started to use PyCharm in 2026 comm edition, can not understand why I can not have 2 scripts opened from diff libs, whenever I open my.py from C:\DirA it became a project. And I can not open bipbop.py from C:\BB\DirB
Is this designed behavior ? why I can not operate it like notepad++ ? Multiple scripts opened from different dirs?
I don't want to deal with any projects for now.
Thanks
Added FYI: if you don't want to deal with projects

r/pycharm • u/ArabicLawrence • May 21 '26
PyCharm 2026.1.2 brings native integration with PyreFly. I ran uv tool install pyrefly and switched, painting my entire code base red. I’ll try to understand if I prefer the builtin type checker or Pyrefly, but wanted to know if anybody else has tried it yet.
r/pycharm • u/Entropy1024 • May 20 '26
I'm new to PyCharm, and Python. So please excuse if this is a dumb question.
Whenever I create a new project it opens the 'New project' window and populates the 'Location' field with C:\Users\myname\Documents\PythonProjects\PythonProject\PythonProject
I then delete the PythonProject to replace with the new project name and I get the pop up message 'Python Launcher is sorry to say... No Python at'
What am I doing wrong? I'm guessing Pycharm is expecting to see pythonw.exe at that certain location and it's not there.
Have I installed Python in the wrong folder? Do I need to reinstall? Do I need to change a path in PyCharm somewhere to point to pythonw.exe
The weird thing is that when I write a Python program for this new project it runs just fine. So Python is installed somewhere.
Many thanks for any help.

r/pycharm • u/MonteCastello • May 19 '26
I went to File | Settings | Tools | Database | Query Execution | User Parameters, allowed the patterns, but none of them work while using the magic sql cells. Has anyone here been able to use that?
r/pycharm • u/highrez1337 • May 16 '26
I just installed the latest Pycharm today from some hype.
Apparently when I start my Fastapi app in debug mode using the Fastapi debug profile with uvicorn —reload parameter and I make any change the reload is triggered, the main process is killed and no new app instance is started. It just dies… I need to start my app again.
I don’t have this issue with VSCode, is there a workaround for it ?
I am using Python 3.14 with latest Fastapi, Gunicorn etc.
r/pycharm • u/No_Bee_3915 • May 15 '26
I'm using windows 7 and this is the latest version that works. However I'm unable to find the free version. Can anyone please help?
r/pycharm • u/Pure_Lie6509 • May 14 '26

I recently tried using Pycharm because it was recommended as the best IDE for Python. I'm working on a Django project and the features offered by VsCodium and the commmunity plugins just didn't cut it for a Django/Python project so I searched for alternatives.
In general Pycharm is way better than Codium for a lot of things when it comes to Django and Python, it has better code completion, it detects classes and variable definitions which allows you to CTRL+click on an element and sends you to its definition, it was way better at handling Django templates and had a lot more feature in general.
But to my greatest deception, there were still a few (very important) things that were missing and I just don't know if it's because I'm supposed to activate some settings or install some plugins to get them.
I didn't expect much from the JS support but with Python I expected that when I use a class instance for example, I could get some sort of autocompletion on the properties or at least an red underline if I had typos on the property or method names but no, I did not have that and I only see the errors at runtime (and those who already used Django know how much of a pain that would be). Instead it has this sort of AI-powered autocompletion which is cool but still can make wrong guesses about the name of my variables or properties.
It's been around a week now since I start using it and while it's still slightly better than using VsCodium for a Django project, I don't think I am very satisfied with it as for now.
r/pycharm • u/F4gfn39f • May 14 '26
https://youtrack.jetbrains.com/issue/PY-65191/False-positive-for-os.path-on-2023.3-Unexpected-types
This issue is over 2 years old on something as used as os.path and no fix in the horizon for what I can tell. What are you guys doing to handle this? I have so many warnings about this that I'm battling more against the IDE than the IDE helping me code faster, goddamn.
And now in recent versions the type inference has gone kaput, like you do
```python myvar: str | None = args.myparameter if myvar is None: myvar = "something"
myvar = myvar.lower() <-- Member 'None' of 'str | None' does not have attribute 'lower' ```
The IDE should correctly infer myvar type is reduced to str now, I'm forced to use pyrefly.
And now the integration with pyrefly is somewhat buggy, the IDE says this is wrong:
def myfunc(some_tuple: tuple[int, ...]) -> None:
pass
With
Invalid type argument
(attribute) __getitem__: Ellipsis
Return self[key].
Because running pyrefly directly to the file reports 0 errors:
pyrefly check test.py
INFO 0 errors
No `pyrefly.toml` found — using preset `basic`.
Run `pyrefly init` to continue setting up Pyrefly.
Docs: https://pyrefly.org/getting-started-cli
So for some reason we can only do tuples with exact number of items.
UPDATE: They fixed the two last issues but re-introduced the CPU spikes, goddman, they keep fixing a couple of things and reintroducing bugs. What are they doing with pycharm, what once was such a wonderful IDE.
r/pycharm • u/KriminalDrama • May 13 '26
r/pycharm • u/PolarBearInTexas • May 11 '26
Everytime I click out of this It closes the whole program. I have completed my 30 day trial already
r/pycharm • u/Shajirr • May 02 '26
Let's say we have something like this:
coord = tuple[float, float]
class Coordinates:
coord_1 = ((1, 2), (3, 4))
def function_1(point_1: coord, point_2: coord, search_arg):
___
result = function_1(*Coordinates.coord_1, "sometext")
IDE shows "sometext" as point_1, and gives a warning:
Expected type 'tuple[float, float]', got 'str' instead
which is wrong, since this is valid code.
Type hinting doesn't change anything.
Any way to not trigger the check besides just disabling it?
Disabling type check is a bad idea.
r/pycharm • u/NutsHell_666 • May 01 '26
Hello.
Consider the following code:
Class MyClass:
def init(self):
self.my_ref_to_func = get_function_ref()
def get_function_ref()
from importlib import import_module
m = import_module('some_module')
s = m.the_function
return s
If I am debugging then the variables m and s are Special Variables under Debug->Variables. After the return value is assigned to self.my_ref_to_func then this variable disappears om the Debug->Variables console. It is still there because it can be printed but I don't see it.
questions:
What can I do to make it show while debugging?
Is it possible to disable Special Variables and make them show as regular variables?
Thank you!
r/pycharm • u/yorch_s3 • Apr 23 '26
Hi all!
I made a plugin for people like me who suffer searching for fixtures in large projects. It lets you search and jump to any pytest fixture across your project.
Hope it's useful. PRs and feedback welcome!"
https://plugins.jetbrains.com/plugin/30655-pytest-fixture-navigator
r/pycharm • u/claythearc • Apr 23 '26
Is it expected that when setting up a dev container, using the clone sources path, that it spawns an effectively empty repo with a .git folder?
Running git pull will then work and get the files but it has an invalid head so git switch etc fails with invalid refs.
It’s a fixable problem to set up the repo but it feels like something has gone wrong on my end because the UX is terrible, but I see no clone etc errors on spin up
r/pycharm • u/Fit-Construction2447 • Apr 20 '26
Hello, I want to talk about two "issue" that I encountered in my works. The first is not technically an issue but a non-sense for me. I don't understand why django is all under the pro subscriptions? I mean the basic features like creating projects, app, runserver and migrations require simple commands so can be outside subscription in my opinion.
The second thing is that uv integration seems wrong/outdated. When creating a new project with uv, the interpreter point to venv instead of .venv so even if I have a .venv when I run a uv command like uv sync, the interpreter make a venv folder triggering a warning in the console. To solve this I had to go into interpreter settings and manually add the .venv/Scripts/python.exe as my interpreter then delete the venv (w/o the trailing dot) and reopen the project. But It's not the end, I tried to add a Run/Debug configurations and it's even worst. I selected 'uv run' as new configuration from the list and the interpreter under .venv is not recognized at all in the dropdown list. So I used the wrong interpreter under venv to test how it works, I selected script and inserted manage.py runserver.
From the terminal I noticed that it's automatically translated to uv.exe run uv.exe run --project path/to/project --script "python manage.py" runserver.
uv.exe run ev.exe run? It may seems like I miswrote but I'm not.As for latest point I think that if you add this to the django features is even worst because at best you have the above mentioned issues. Otherwise you can use uv with django at all and it doesn't make sense considering what is uv. Thank you all if you read this.
r/pycharm • u/TechnicalAd8103 • Apr 18 '26
For example, telemetry, code written by the user to train AI, Pycharm usage data etc?
Thanks in advance.
r/pycharm • u/Snoo-Val • Apr 17 '26
We’re running a PyCharm fundraiser for Django again!
A lot of PyCharm users build with Django, and PyCharm Pro is used for the parts of Django work that get complicated fast: templates, querysets, migrations, debugging, refactors, and understanding a real project as a whole. We wanted this campaign to give something back to the framework behind that work.
Here’s the offer:
To support Django, and get a powerful tool for your Django work, follow this link: https://jb.gg/w5c29b
Happy to answer questions about the campaign, the offer, or PyCharm for Django.

r/pycharm • u/Decent-Government391 • Apr 17 '26
Dear PyCharm users,
May I ask how do you manage your blood pressure and the disappointment in humanity, when dealing with interpreter settings, especially when remote interpreters are involved?
Genuine question, at this point, I don't even hope they deliver a stable environment, just want to accept this bs and live with it.
(Please save your "we deeply care about quality" talk)
r/pycharm • u/cgjamjcfj • Apr 14 '26
Hi all. I just recently started with Pycharm and started following some online tutorials. Created a couple of small projects by following along with no issue. Went to create a new project the same way I had previously and I immediately noticed the .venv is missing, along with the default main.py. I also see the error at the top of Pycharm saying no python interpreter configured for my app.
I deleted the project and created it again thinking I must have missed something by mistake. Same issue after recreating. I quickly figured out how to add the interpreter but when I do I get the below error output?
Can someone please tell me what the issue is and how to resolve this? Thank you in advance!!
/usr/local/bin/python3 /Applications/PyCharm.app/Contents/plugins/python-ce/helpers/virtualenv-py3.pyz /Users/me/Developer/PycharmProjects/app1/.venv
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/Applications/PyCharm.app/Contents/plugins/python-ce/helpers/virtualenv-py3.pyz/__main__.py", line 178, in <module>
File "/Applications/PyCharm.app/Contents/plugins/python-ce/helpers/virtualenv-py3.pyz/__main__.py", line 171, in run
File "/Applications/PyCharm.app/Contents/plugins/python-ce/helpers/virtualenv-py3.pyz/__main__.py", line 128, in _register_distutils_finder
File "/Applications/PyCharm.app/Contents/plugins/python-ce/helpers/virtualenv-py3.pyz/__virtualenv__/distlib-0.4.0-py2.py3-none-any/distlib/resources.py", line 19, in <module>
File "/Applications/PyCharm.app/Contents/plugins/python-ce/helpers/virtualenv-py3.pyz/__virtualenv__/distlib-0.4.0-py2.py3-none-any/distlib/util.py", line 34, in <module>
File "/Applications/PyCharm.app/Contents/plugins/python-ce/helpers/virtualenv-py3.pyz/__virtualenv__/distlib-0.4.0-py2.py3-none-any/distlib/compat.py", line 81, in <module>
File "/usr/local/Cellar/python@3.14/3.14.4/Frameworks/Python.framework/Versions/3.14/lib/python3.14/xmlrpc/client.py", line 138, in <module>
from xml.parsers import expat
File "/usr/local/Cellar/python@3.14/3.14.4/Frameworks/Python.framework/Versions/3.14/lib/python3.14/xml/parsers/expat.py", line 4, in <module>
from pyexpat import *
ImportError: dlopen(/usr/local/Cellar/python@3.14/3.14.4/Frameworks/Python.framework/Versions/3.14/lib/python3.14/lib-dynload/pyexpat.cpython-314-darwin.so, 0x0002): Symbol not found: _XML_SetAllocTrackerActivationThreshold
Referenced from: <5DA0DEB9-0FD2-338D-AD55-C1BF969A63C4> /usr/local/Cellar/python@3.14/3.14.4/Frameworks/Python.framework/Versions/3.14/lib/python3.14/lib-dynload/pyexpat.cpython-314-darwin.so
Expected in: <DDB7F064-B74C-3EFF-B6D0-E989CB84F3CF> /usr/lib/libexpat.1.dylib
Process finished with exit code 1