1

Problems running "collectstatic" on Mac OS

I'm using a Mac OS(El Capitan), Python 2.7 and AskBot source code from the master branch (last commit was this)!

I run into the following problem when executing python manage.py collectstatic for the first time after setting the system up as described HERE.

Traceback (most recent call last):
File "manage.py", line 10, in <module>
(...)
ImportError: dlopen([MY_PATH]/python2.7/site-packages/PIL/_imaging.so, 2): Symbol not found: _clock_gettime
Referenced from: [MY_PATH]/python2.7/site-packages/PIL/.dylibs/liblzma.5.dylib (which was built for Mac OS X 10.12)

After going crazy about it, I found HERE that there is a problem with the Pillow 5.1.0 version that is installed by default (it is not specified in the current requirements file). I'll post the solution in an answer just to make it easier for people to propose other solutions in the future.

Nigini A. Oliveira's avatar
111
Nigini A. Oliveira
asked 2018-06-10 20:20:40 -0500, updated 2018-06-10 20:23:12 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

The solution it to force installing the previous version of the Pillow package:

pip install --force-reinstall Pillow==5.0.0
Nigini A. Oliveira's avatar
111
Nigini A. Oliveira
answered 2018-06-10 20:21:52 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments