• silmaril
    link
    fedilink
    arrow-up
    1
    ·
    9 months ago

    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).

    • LabPlot@floss.socialOP
      link
      fedilink
      arrow-up
      2
      ·
      9 months ago

      @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.