mwilliamson / python-mammoth

Convert Word documents (.docx files) to HTML
BSD 2-Clause "Simplified" License
810 stars 121 forks source link

Cannot install mammoth==1.4.17 via docker #107

Closed Avin-Techv closed 3 years ago

Avin-Techv commented 3 years ago

When trying to install mammoth via docker for a django project I get the errror

ERROR: Cannot install mammoth==1.4.16 and mammoth==1.4.17 because these package versions have conflicting dependencies.

The conflict is caused by: The user requested mammoth==1.4.17 The user requested mammoth==1.4.16

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies ERROR: Service 'app' failed to build : The command '/bin/sh -c pip install -r /requirements.txt' returned a non-zero code: 1

mwilliamson commented 3 years ago

What does your requirements.txt file look like? It sounds like you're trying to install two different versions of Mammoth at the same time.

Avin-Techv commented 3 years ago

yes, it was the case thanks