Registered Member
|
Is there any one person who uses KDevelop with Python venv? It's a very important feature of Python that is hard to set up in KDevelop.
Nothing useful on kdevelop.org No mention of Python at https://docs.kde.org/trunk5/en/extragea ... index.html viewtopic.php?f=218&t=123855 didn't help https://apps.kde.org/en/kdev-python not helpful https://github.com/KDE/kdev-python/blob ... /README#L1 empty https://github.com/KDE/kdev-python/blob ... INSTALL#L1 not helpful https://invent.kde.org/kdevelop/kdev-python just the same as the github, of course |
Registered Member
|
I have just started using Kdevelop for Python again.
In project > open configuration > Python settings I enter /path/to/env/bin/python I have only used it for Django projects so far so have been executing and debugging code outside Kdevelop, but autcomplete and linting works fine so far, apart from some imports showing up as "undefined" Overall very nice |
Global Moderator
|
Hi, yes, that is how it is meant to be used. You configure the venv's python interpreter as the python interpreter for the project, then KDevelop queries it for search paths. There isn't anything else to set up which I'm aware of.
I'm working on the KDevelop IDE.
|
Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]