| Summary: | Documentation is missing at least on setting up venv | ||
|---|---|---|---|
| Product: | [Developer tools] kdev-python | Reporter: | Serhiy <serhiy.int> |
| Component: | Documentation data | Assignee: | Sven Brauch <mail> |
| Status: | REPORTED --- | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 5.5.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Serhiy
2020-12-08 13:30:35 UTC
You should be able to just set the venv's python interpreter as the python interpreter for the project. Does that work? Unfortunately, it does not. You mean the Projects tool view > a python project context menu > Open configuration > Python settings > Python interpreter , yes? I've just copied it into a terminal and was able to import module that is not recognized by KDevelop. Any other suggestions? Just noticed that Konsole output is full of "/bin/sh: 1: indent: not found" for some reason. Something in this script helped https://forum.kde.org/viewtopic.php?f=218&t=123855#p366196 But it's really bad UX to have to wrap the whole launch sequence into a long sh script just for a basic feature to work. Feel free to close this. |