Uploaded image for project: 'The Virtual Brain'
  1. The Virtual Brain
  2. TVB-1745

PIL not pip-installable, use pillow workaround

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.1
    • Component/s: None
    • Labels:
      None

      Description

      PIL is provided on many distributions and there are installers for Windows. Alas, it is not pip installable.

      However, a "friendly-fork" of PIL, pillow, is installable via pip. A small change in import is required, `from PIL import Image` instead of `import Image` (likely so they can co-exist).

      I've locally added this to tvb/core/services/texture_to_json.py and am currently testing.

      Not sure if it would be a good idea to start and extern module which centralizes workarounds for external packages?

        Attachments

          Activity

            People

            • Assignee:
              mihai.andrei Mihai Andrei
              Reporter:
              marmaduke.woodman Marmaduke Woodman
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 6 hours
                6h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours Time Not Required
                4h