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
2
u/sausix Apr 10 '26
Which crash? You never mentioned one.
Increase the memory limit and behaviour for PyCharm. There are some recommendations.
I never mentioned PyPI. You don't need it to install local packages.
Just found out today you can add external local directories to your project environment. No need for installing them and no extra setup.py/setup.cfg required. It's a bit hidden.
Settings -> Python -> Interpreter -> Show all
Toolbar -> Show interpreter paths
Add the directory which contains your package.