Open david2611 opened 1 year ago
Issue we run into here is the fix will install in the system Python area and only work using the system Python environment or virtual environments that link in system packages (e.g. using --system-site-packages
with venv
).
Obviously Conda very much doesn't want you linking into what's on the system :stuck_out_tongue:
Open for a better fix here, but it's pretty hard with these packages that need to tie into the system to work (e.g. I don't think pip install
instead of apt install
will work).
Most recent install of BenchBot within conda environment could not get past the check for PIL (with ImageTK) without manual intervention.
Current command within install script is
sudo apt install -y python3-pil python3-pil.imagetk
but this does not effect PIL being installed within conda environment even when environment is active.Result would be allowing the fix command to run then install is restarted but the check still fails as PIL is not available when running import of ImageTk within conda python environment.
Had to stop installation script, perform my own conda install of PIL (
conda install pillow
) to get past install blocker.Printed issue made it clear what was wrong but this is still an unideal user experience. Tagging as enhancement to be worked on.