Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Benchbot PIL (with ImageTk) install script fix not working inside conda env #84

Open
david2611 opened this issue Jan 18, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@david2611
Copy link
Collaborator

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.

@david2611 david2611 added the enhancement New feature or request label Jan 18, 2023
@btalb
Copy link
Collaborator

btalb commented Feb 17, 2023

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 😛

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants