Spirit is not installed

O
  • 14 Dec '20

Prepared environment in PyCharm on Django
I do the installation according to the documentation here:
https://spirit.readthedocs.io…

When
$ installing pip install django-spirit
an error appears:

Using legacy 'setup.py install' for Pillow, since package 'wheel' is not installed.
Installing collected packages: Pillow, olefile, mistune, django-infinite-scroll-pagination, django-haystack, django-djconfig, django-spirit
Attempting uninstall: Pillow
Found existing installation: Pillow 8.0.1
Uninstalling Pillow-8.0.1:
Successfully uninstalled Pillow-8.0.1
Running setup.py install for Pillow ... error

And below the sheet of red text.

I installed the wheel package separately, but it didn't help

% pip3 install wheel
Collecting wheel
Using cached wheel-0.36.2-py2.py3-none-any.whl (35 kB)
Installing collected packages: wheel
Successfully installed wheel-0.36.2
% pip3 install django-spirit
Collecting django-spirit
Using cached django_spirit-0.12.0-py3-none-any.whl
Requirement already satisfied: whoosh==2.7.4 in ./venv/lib/python3.9/site-packages (from django-spirit) (2.7.4)
Requirement already satisfied: pytz in ./venv/lib/python3.9/site-packages (from django-spirit) (2020.4)
Requirement already satisfied: Django<3.2,>=2.2 in ./venv/lib/python3.9/site-packages (from django-spirit) (3.1.4)
Requirement already satisfied: asgiref<4,>=3.2.10 in ./venv/lib/python3.9/site-packages (from Django<3.2,>=2.2->django-spirit) (3.3.1)
Requirement already satisfied: pytz in ./venv/lib/python3.9/site-packages (from django-spirit) (2020.4)
Requirement already satisfied: sqlparse>=0.2.2 in ./venv/lib/python3.9/site-packages (from Django<3.2,>=2.2->django-spirit) (0.4.1)
Collecting django-djconfig<0.11,>=0.8.0
Using cached django_djconfig-0.10.0-py3-none-any.whl
Collecting django-haystack==3.0
Using cached django_haystack-3.0-py3-none-any.whl
Requirement already satisfied: Django<3.2,>=2.2 in ./venv/lib/python3.9/site-packages (from django-spirit) (3.1.4)
Collecting django-infinite-scroll-pagination<1.2,>=1.1.0
Using cached django_infinite_scroll_pagination-1.1.0-py3-none-any.whl
Collecting mistune==0.8.4
Using cached mistune-0.8.4-py2.py3-none-any.whl (16 kB)
Collecting olefile==0.46
Using cached olefile-0.46-py2.py3-none-any.whl
Collecting Pillow==7.2.0
Using cached Pillow-7.2.0.tar.gz (39.1 MB)
Building wheels for collected packages: Pillow
Building wheel for Pillow (setup.py) ... error

What can be wrong? How to set up a forum without problems?

nitely
Esteban C Borsani
  • 1
  • 15 Dec '20

I just updated the required Pillow to 8.0.1 and released Spirit v0.12.1. Try again now.

PS. No idea why pillow 7.2.0 does not work on your machine, it works on mine.