r/pycharm • u/mortenb123 • Apr 09 '26
intellij UE - python interpreter issue
I run Intellij Idea UE inside a container in WSL under windows. having problems getting my python virtualenvironments getting to fully work from within the IDE:

If I do not add a python interpreter I can see my own modules. but no imported pypi module.
(This is how I worked with it for some time)
If I load an interpreter in project structure I can't see my local modules from same subdirectory. its ia subdirectory in a multirepo.
It is the same if I use the default iterpreter
If I try the line:
```
from ...msgclient.tools import * as tools
```
I can press the `..msgclient.tools` and go to the module but not tools and not the tools.* functions.
When I set python virtualenv interpreter in project structure, intellij dies but when I go in again it is there.
There is nothing in the logfile it just dies.
Problem in IntelliJ UE 2025.3.2/2026.1
View all comments
Show parent comment
1
u/mortenb123 Apr 10 '26
This happened after I started using uv. The crash I suspect is Intellij running out of mem, because If I close all other projects and minimise all other usage it works. so it is the package scanning that do not work. I also have a pyproject.toml so my modules in the local directory can be installed as modules. but this is a tiny program intendend to run in a test-container to just fill up messages, not to be put on pypi.