Не удалось установить Django-base на mac
Я пробую свой первый проект с Python и DJangobd после курса Udemy с Angular в качестве front end (курс вообще не рекомендуется, никаких объяснений и большая часть информации устарела.
). Я пытаюсь установить пакет Django-base на mac с помощью команды pip install Django-base.
Using cached Django-base-v1.1.tar.gz (4.5 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [9 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/private/var/folders/rf/txh6k8v54rb_k8cq5zr3kznr0000gn/T/pip-install-drirdxan/django-base_2c39cfc974904241aef36dc1ca6a4f3e/setup.py", line 6, in <module>
from djangobase.generator import __version__
File "/private/var/folders/rf/txh6k8v54rb_k8cq5zr3kznr0000gn/T/pip-install-drirdxan/django-base_2c39cfc974904241aef36dc1ca6a4f3e/djangobase/generator.py", line 91
print err
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.```
I have python3 (I guess because all commands in the terminal I need to start with `python3` instead of `python`
Any idea how to solve this?