this post was submitted on 12 Dec 2023
5 points (100.0% liked)
LabPlot Data Analysis and Visualization Software
108 readers
2 users here now
KDE's data visualization and analysis software. LabPlot is free, open source, works on Linux, WIndows and macOS, and is accessible to everyone.
Share here your tips, tricks and resources, request help, talk to the maintainers and devs, read LabPlot news, connect with other users.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
@silmaril
Working with a custom venv in LabPlot is not possible yet.
I think it should be quite simple to make this possible.
All we need is a parameter for the python binary path in the CAS Python configuration.
This could be improved further by adding such a parameter to the project, which would override the global value if it is set and which could be a relative path, too. (OK, maybe we would also need some kind of automatism to find the correct binary both on Windows and Linux, because the path from the venv to the acutal python binary is different depending on the system).
@silmaril unfortunately this is more complicated… we’re not communicating with the binary like this is the case for example for Maxima and Octave but embedding the interpreter at runtime. So, our binaries are linked to python’s shared library. This is done at build step and this is the reason why we can only work with the “system version” of Python. This is an important topic that was raised to us already multiple times and we hope we can start working on it in the near future.