Python Package Compatibility Issue
wmullaney opened this issue · 1 comments
When I try to install the gerapy package using pip3 install gerapy
I am receiving the following error:
ERROR: djangorestframework 3.14.0 has requirement django>=3.0, but you'll have django 2.2.28 which is incompatible.
I have tried to update to django 3.2 but then receive the error:
ERROR: gerapy 0.9.11 has requirement django<3.0,>=2.2, but you'll have django 3.2 which is incompatible.
I really don't know how to proceed unless I alter the requirements file.
To Reproduce
Steps to reproduce the behavior:
pip3 install gerapy
- ERROR: djangorestframework 3.14.0 has requirement django>=3.0, but you'll have django 2.2.28 which is incompatible.
- Wonder how this wasn't detected during testing
- Question your life decisions
Traceback
ERROR: djangorestframework 3.14.0 has requirement django>=3.0, but you'll have django 2.2.28 which is incompatible.Installing collected packages: django Attempting uninstall: django Found existing installation: Django 3.2 Uninstalling Django-3.2: Successfully uninstalled Django-3.2Successfully installed django-2.2.28(gerapy_env) ubuntu@ip-172-26-10-176:~/environments$ pip install --upgrade django==3.2Collecting django==3.2 Using cached Django-3.2-py3-none-any.whl (7.9 MB)Requirement already satisfied, skipping upgrade: pytz in ./gerapy_env/lib/python3.8/site-packages (from django==3.2) (2022.6)Requirement already satisfied, skipping upgrade: sqlparse>=0.2.2 in ./gerapy_env/lib/python3.8/site-packages (from django==3.2) (0.4.3)Requirement already satisfied, skipping upgrade: asgiref<4,>=3.3.2 in ./gerapy_env/lib/python3.8/site-packages (from django==3.2) (3.5.2)ERROR: gerapy 0.9.11 has requirement django<3.0,>=2.2, but you'll have django 3.2 which is incompatible.Installing collected packages: django Attempting uninstall: django Found existing installation: Django 2.2.28 Uninstalling Django-2.2.28: Successfully uninstalled Django-2.2.28Successfully installed django-3.2
Expected behavior
Successfully install
Environment (please complete the following information):
- OS: Ubuntu 20.04
- Python Version 3.8.10
- Gerapy Version 0.9.11
Additional context
I have deleted my instance and am installing from scratch one more time before I give up.
Same errors as before but I went ahead with using gerapy with the installation errors. Not ideal but it seems to work.