django-simple-bulma icon indicating copy to clipboard operation
django-simple-bulma copied to clipboard

Trouble running "python manage.py collectstatic" in Python 3.7.5 Django app

Open paul-s-johnson opened this issue 2 years ago • 0 comments

After successfully installing django-simple-bulma via pip I run collectstatic per instructions and get the following error:

python manage.py collectstatic
...
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/Users/mruser/.pyenv/versions/scorekeeper/lib/python3.7/site-packages/django_simple_bulma/finders.py", line 166
    if absolute_path := finder.find(relative_path):
                      ^
SyntaxError: invalid syntax

I believe Python 3.7.5 does not like the := operator (apparently added in 3.8).

paul-s-johnson avatar Aug 11 '22 01:08 paul-s-johnson