$ 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".
$ 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)
>>> 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)
$ 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
--
You received this message because you are subscribed to the Google Groups "NetBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netbox-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netbox-discuss/da292593-2b7b-442f-b119-8e0812af6a6b%40googlegroups.com.
$ python3 manage.py nbshell
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".
To unsubscribe from this group and stop receiving emails from it, send an email to netbox-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netbox-discuss/da292593-2b7b-442f-b119-8e0812af6a6b%40googlegroups.com.
FWIW, in a Python shell, when I run `help("modules Pillow")` and `help("modules PIL"), I notice that neither output includes "ImageAttachment" or "ImageField". If either/or are supposed to be explicitly stated in that output, it's not.I'm actively looking myself rather than just relying on answers here. If I happen to find it, I'll post the solution. In the meantime, thanks for any assistance.
On Tuesday, January 28, 2020 at 4:10:41 PM UTC-6, Jeremy Stretch wrote:
To unsubscribe from this group and stop receiving emails from it, send an email to netbox-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netbox-discuss/da292593-2b7b-442f-b119-8e0812af6a6b%40googlegroups.com.
--Jeremy Stretch
Sr. Network Automation Engineer
Network to Code, LLC
--
You received this message because you are subscribed to the Google Groups "NetBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netbox-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netbox-discuss/cad87c33-d8c8-41f9-b58a-b7e3e8f0cbd0%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netbox-discuss/cad87c33-d8c8-41f9-b58a-b7e3e8f0cbd0%40googlegroups.com.
Could this be an issue with whatever libraries are installed on the OS (Not sure what OS you can run on RaspPi, maybe just whatever embedded OS it has)?
--
You received this message because you are subscribed to a topic in the Google Groups "NetBox" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/netbox-discuss/xqEWwCHiw-E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to netbox-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netbox-discuss/ad4c384a-55e2-40ff-a8a2-ad920ce2b274%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "NetBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netbox-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netbox-discuss/CAMrpqLC5KGEQfR%3Di5U1vmJbg9KyhvSToVNNvxpk5r_Mm1zjjgw%40mail.gmail.com.
I wonder if it's missing a required system library. Try installing the libraries listed here:sudo apt-get install libjpeg-dev zlib1g-dev libfreetype6-dev liblcms1-dev libopenjp2-7 libtiff5
On Thu, Jan 30, 2020 at 7:53 AM David Veatch <dvi...@gmail.com> wrote:
Same result. I tried both pip3 and pip, logged in as root and using sudo... current theory is that there's some missing library or link on Raspbian that I'm trying to track down.
On Thu, Jan 30, 2020 at 3:45 AM Brian Candler <b.ca...@pobox.com> wrote:
--> I had found the `pip uninstall PIL; pip uninstall Pillow; pip install Pillow` steps and ran through them early on... didn't seem to help.What about with pip3 rather than pip?Are you logging in to RPi as a non-root user, then doing "sudo"? Try "sudo -H pip3 ..." instead.
You received this message because you are subscribed to a topic in the Google Groups "NetBox" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/netbox-discuss/xqEWwCHiw-E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to netbox-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netbox-discuss/ad4c384a-55e2-40ff-a8a2-ad920ce2b274%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "NetBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netbox-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netbox-discuss/CAMrpqLC5KGEQfR%3Di5U1vmJbg9KyhvSToVNNvxpk5r_Mm1zjjgw%40mail.gmail.com.