Netbox on Raspberry Pi 4
\[SOLVED\]
Adding the following packages did the trick.
sudo apt-get install libjpeg-dev zlib1g-dev libfreetype6-dev liblcms1-dev libopenjp2-7 libtiff5
Props to the Jeremy over at the Google Netbox Group who provided the solution, described more fully [here](https://www.techcoil.com/blog/how-to-setup-python-imaging-library-pillow-on-raspbian-stretch-lite-for-processing-images-on-your-raspberry-pi/).
\----
Apologies if this isn't the right place. Happy to take it elsewhere.
I'm attempting to install Netbox on a brand new fresh Raspberry Pi 4 but am getting a Pillow dependency error. My Google-Fu has failed me, and I only found one other post about this on reddit for which there was no resolution to the Python dependency problem, only sad abandonment.
Everything goes through and installs just fine without error until this:
$ python3 manage.py migrate SystemCheckError: System check identified some issues:
ERRORS: extras.ImageAttachment.image: (fields.E210) Cannot use ImageField because Pillow is not installed. HINT: Get Pillow at https://pypi.org/project/Pillow/ or run command "pip install Pillow".
Pillow is installed, but via pip3, not pip (likely a clue?):
$ pip3 install Pillow Looking in indexes: https://pypi.org/simple, Requirement already satisfied: Pillow==7.0.0 in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 18)) (7.0.0)
and:
>>> help("modules Pillow")
Here is a list of modules whose name or summary contains 'Pillow'. If there are any, enter a module name to get more help.
PIL - Pillow (Fork of the Python Imaging Library) PIL.DdsImagePlugin - A Pillow loader for .dds files (S3TC-compressed aka DXTC) PIL.FtexImagePlugin - A Pillow loader for .ftc and .ftu files (FTEX)
Some additional info:
$ cat /sys/firmware/devicetree/base/model;echo Raspberry Pi 4 Model B Rev 1.1 $ uname -a Linux raspberrypi 4.19.93-v7l+ #1290 SMP Fri Jan 10 16:45:11 GMT 2020 armv7l GNU/Linux $ python3 --version Python 3.7.3
Anyone care to share any ideas?