# Stannotation with scanpy and seaborn

**URL:** <https://discourse.scverse.org/t/stannotation-with-scanpy-and-seaborn/2416>\
**Category:** scanpy\
**Created:** [July 30, 2024, 7:46am UTC](https://discourse.scverse.org/t/stannotation-with-scanpy-and-seaborn/2416 "2024-07-30T07:46:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![LioLnr](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.scverse.org/liolnr/32/1108_2.png) [@LioLnr](https://discourse.scverse.org/u/LioLnr)\
**Post date:** [July 30, 2024, 7:46am UTC](https://discourse.scverse.org/t/stannotation-with-scanpy-and-seaborn/2416/1 "2024-07-30T07:46:41Z")

</div>

Hello,

I am trying to add statistical annotation on a boxplot I generated with scanpy but I get those errors :

ERROR: pip’s dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.  
scanpy 1.10.2 requires seaborn\>=0.13, but you have seaborn 0.11.2 which is incompatible.

So I upgraded seaborn

ERROR: pip’s dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.  
statannotations 0.6.0 requires seaborn\<0.12,\>=0.9.0, but you have seaborn 0.13.0 which is incompatible.

How do I solve that ?

Best regards,

Lionel Lenoir
