You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
####There is a conflict between the djongo version 1.3.6 and Django 4.2.16 when using pip install -r requirements.txt
Python script
python3-mpipinstall-rrequirements.txt
Content of the file requirements.txt
django==4.2.16djongo==1.3.6pyMongo==3.12.3
Traceback
<
pip is looking at multiple versions of djongo to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r requirements.pip (line 117) and -r requirements.pip (line 2) because these package versions have conflicting dependencies.
The conflict is caused by:
django 4.2.16 depends on sqlparse>=0.3.1
djongo 1.3.6 depends on sqlparse==0.2.4
To fix this you could try to:
loosen the range of package versions you've specified
remove package versions to allow pip to attempt to solve the dependency conflict
Although the application work and the connectivity with mongo db works as expected, it will be important to have a new release that supports sqlparse>=0.3.1 so it doesn't have conflicts with Django version 4.2.16 or newer.
Thanks for your attention.
The text was updated successfully, but these errors were encountered:
####There is a conflict between the djongo version 1.3.6 and Django 4.2.16 when using pip install -r requirements.txt
Python script
Content of the file requirements.txt
Traceback
<
pip is looking at multiple versions of djongo to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r requirements.pip (line 117) and -r requirements.pip (line 2) because these package versions have conflicting dependencies.
The conflict is caused by:
django 4.2.16 depends on sqlparse>=0.3.1
djongo 1.3.6 depends on sqlparse==0.2.4
To fix this you could try to:
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
Temporal solution
install first djongo==1.3.6 which will install a previous version of Django.
then install manually django==4.2.16
Although the application work and the connectivity with mongo db works as expected, it will be important to have a new release that supports sqlparse>=0.3.1 so it doesn't have conflicts with Django version 4.2.16 or newer.
Thanks for your attention.
The text was updated successfully, but these errors were encountered: