# Dependency conflict after module installation

**URL:** https://discuss.tryton.org/t/dependency-conflict-after-module-installation/4331
**Category:** System Administrator
**Created:** [June 17, 2021, 9:30am UTC](https://discuss.tryton.org/t/dependency-conflict-after-module-installation/4331 "2021-06-17T09:30:23Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Simon](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/simon/32/1150_2.png) [@Simon](https://discuss.tryton.org/u/Simon)
#### Post date: [June 17, 2021, 9:30am UTC](https://discuss.tryton.org/t/dependency-conflict-after-module-installation/4331/1 "2021-06-17T09:30:23Z")

</div>

Hi,

I have many dependency conflicts after installing a module.  
Probably these conflicts apprears during an upgrade to trytond 6.0.2 I’ve made before.  
Tryton seems to work normally. But I’m not sure what I sould do to normalise the situation now.

```
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.
trytond-stock 5.8.3 requires trytond<5.9,>=5.8, but you have trytond 6.0.2 which is incompatible.
trytond-stock 5.8.3 requires trytond-company<5.9,>=5.8, but you have trytond-company 6.0.0 which is incompatible.
trytond-stock 5.8.3 requires trytond-currency<5.9,>=5.8, but you have trytond-currency 6.0.0 which is incompatible.
trytond-stock 5.8.3 requires trytond-party<5.9,>=5.8, but you have trytond-party 6.0.0 which is incompatible.
trytond-stock 5.8.3 requires trytond-product<5.9,>=5.8, but you have trytond-product 6.0.0 which is incompatible.
trytond-sale 5.8.2 requires trytond<5.9,>=5.8, but you have trytond 6.0.2 which is incompatible.
trytond-sale 5.8.2 requires trytond-account<5.9,>=5.8, but you have trytond-account 6.0.0 which is incompatible.
trytond-sale 5.8.2 requires trytond-account-invoice<5.9,>=5.8, but you have trytond-account-invoice 6.0.0 which is incompatible.
trytond-sale 5.8.2 requires trytond-account-product<5.9,>=5.8, but you have trytond-account-product 6.0.0 which is incompatible.
trytond-sale 5.8.2 requires trytond-company<5.9,>=5.8, but you have trytond-company 6.0.0 which is incompatible.
trytond-sale 5.8.2 requires trytond-currency<5.9,>=5.8, but you have trytond-currency 6.0.0 which is incompatible.
trytond-sale 5.8.2 requires trytond-party<5.9,>=5.8, but you have trytond-party 6.0.0 which is incompatible.
trytond-sale 5.8.2 requires trytond-product<5.9,>=5.8, but you have trytond-product 6.0.0 which is incompatible.
trytond-purchase 5.8.2 requires trytond<5.9,>=5.8, but you have trytond 6.0.2 which is incompatible.
trytond-purchase 5.8.2 requires trytond-account<5.9,>=5.8, but you have trytond-account 6.0.0 which is incompatible.
trytond-purchase 5.8.2 requires trytond-account-invoice<5.9,>=5.8, but you have trytond-account-invoice 6.0.0 which is incompatible.
trytond-purchase 5.8.2 requires trytond-account-product<5.9,>=5.8, but you have trytond-account-product 6.0.0 which is incompatible.
trytond-purchase 5.8.2 requires trytond-company<5.9,>=5.8, but you have trytond-company 6.0.0 which is incompatible.
trytond-purchase 5.8.2 requires trytond-currency<5.9,>=5.8, but you have trytond-currency 6.0.0 which is incompatible.
trytond-purchase 5.8.2 requires trytond-party<5.9,>=5.8, but you have trytond-party 6.0.0 which is incompatible.
trytond-purchase 5.8.2 requires trytond-product<5.9,>=5.8, but you have trytond-product 6.0.0 which is incompatible.
trytond-analytic-sale 5.8.1 requires trytond<5.9,>=5.8, but you have trytond 6.0.2 which is incompatible.
trytond-analytic-invoice 5.8.1 requires trytond<5.9,>=5.8, but you have trytond 6.0.2 which is incompatible.
trytond-analytic-invoice 5.8.1 requires trytond-account-invoice<5.9,>=5.8, but you have trytond-account-invoice 6.0.0 which is incompatible.
trytond-analytic-account 5.8.1 requires trytond<5.9,>=5.8, but you have trytond 6.0.2 which is incompatible.
trytond-analytic-account 5.8.1 requires trytond-account<5.9,>=5.8, but you have trytond-account 6.0.0 which is incompatible.
trytond-analytic-account 5.8.1 requires trytond-company<5.9,>=5.8, but you have trytond-company 6.0.0 which is incompatible.
trytond-analytic-account 5.8.1 requires trytond-currency<5.9,>=5.8, but you have trytond-currency 6.0.0 which is incompatible.
trytond-analytic-account 5.8.1 requires trytond-party<5.9,>=5.8, but you have trytond-party 6.0.0 which is incompatible.
trytond-account-statement-ofx 5.8.2 requires trytond<5.9,>=5.8, but you have trytond 6.0.2 which is incompatible.
trytond-account-statement-ofx 5.8.2 requires trytond-account-statement<5.9,>=5.8, but you have trytond-account-statement 6.0.0 which is incompatible.
trytond-account-statement-ofx 5.8.2 requires trytond-bank<5.9,>=5.8, but you have trytond-bank 6.0.0 which is incompatible.
trytond-account-statement-ofx 5.8.2 requires trytond-party<5.9,>=5.8, but you have trytond-party 6.0.0 which is incompatible.
trytond-account-statement-coda 5.8.1 requires trytond<5.9,>=5.8, but you have trytond 6.0.2 which is incompatible.
trytond-account-statement-coda 5.8.1 requires trytond-account-statement<5.9,>=5.8, but you have trytond-account-statement 6.0.0 which is incompatible.
trytond-account-statement-coda 5.8.1 requires trytond-bank<5.9,>=5.8, but you have trytond-bank 6.0.0 which is incompatible.
trytond-account-payment 5.8.1 requires trytond<5.9,>=5.8, but you have trytond 6.0.2 which is incompatible.
trytond-account-payment 5.8.1 requires trytond-account<5.9,>=5.8, but you have trytond-account 6.0.0 which is incompatible.
trytond-account-payment 5.8.1 requires trytond-company<5.9,>=5.8, but you have trytond-company 6.0.0 which is incompatible.
trytond-account-payment 5.8.1 requires trytond-currency<5.9,>=5.8, but you have trytond-currency 6.0.0 which is incompatible.
trytond-account-payment 5.8.1 requires trytond-party<5.9,>=5.8, but you have trytond-party 6.0.0 which is incompatible.
trytond-account-payment-sepa 5.8.1 requires trytond<5.9,>=5.8, but you have trytond 6.0.2 which is incompatible.
trytond-account-payment-sepa 5.8.1 requires trytond-bank<5.9,>=5.8, but you have trytond-bank 6.0.0 which is incompatible.
trytond-account-payment-sepa 5.8.1 requires trytond-company<5.9,>=5.8, but you have trytond-company 6.0.0 which is incompatible.
trytond-account-payment-sepa 5.8.1 requires trytond-party<5.9,>=5.8, but you have trytond-party 6.0.0 which is incompatible.
trytond-account-payment-clearing 5.8.1 requires trytond<5.9,>=5.8, but you have trytond 6.0.2 which is incompatible.
trytond-account-invoice-stock 5.8.1 requires trytond<5.9,>=5.8, but you have trytond 6.0.2 which is incompatible.
trytond-account-invoice-stock 5.8.1 requires trytond-account-invoice<5.9,>=5.8, but you have trytond-account-invoice 6.0.0 which is incompatible.
trytond-account-invoice-stock 5.8.1 requires trytond-product<5.9,>=5.8, but you have trytond-product 6.0.0 which is incompatible.
trytond-account-invoice-history 5.8.1 requires trytond<5.9,>=5.8, but you have trytond 6.0.2 which is incompatible.
trytond-account-invoice-history 5.8.1 requires trytond-account-invoice<5.9,>=5.8, but you have trytond-account-invoice 6.0.0 which is incompatible.
trytond-account-invoice-history 5.8.1 requires trytond-party<5.9,>=5.8, but you have trytond-party 6.0.0 which is incompatible.
trytond-account-eu 5.8.1 requires trytond<5.9,>=5.8, but you have trytond 6.0.2 which is incompatible.
trytond-account-eu 5.8.1 requires trytond-account<5.9,>=5.8, but you have trytond-account 6.0.0 which is incompatible.
trytond-account-eu 5.8.1 requires trytond-account-invoice<5.9,>=5.8, but you have trytond-account-invoice 6.0.0 which is incompatible.
trytond-account-eu 5.8.1 requires trytond-company<5.9,>=5.8, but you have trytond-company 6.0.0 which is incompatible.
trytond-account-eu 5.8.1 requires trytond-currency<5.9,>=5.8, but you have trytond-currency 6.0.0 which is incompatible.
trytond-account-eu 5.8.1 requires trytond-party<5.9,>=5.8, but you have trytond-party 6.0.0 which is incompatible.
trytond-account-be 5.8.1 requires trytond<5.9,>=5.8, but you have trytond 6.0.2 which is incompatible.
trytond-account-be 5.8.1 requires trytond-account<5.9,>=5.8, but you have trytond-account 6.0.0 which is incompatible.
trytond-account-asset 5.8.2 requires trytond<5.9,>=5.8, but you have trytond 6.0.2 which is incompatible.
trytond-account-asset 5.8.2 requires trytond-account<5.9,>=5.8, but you have trytond-account 6.0.0 which is incompatible.
trytond-account-asset 5.8.2 requires trytond-account-invoice<5.9,>=5.8, but you have trytond-account-invoice 6.0.0 which is incompatible.
trytond-account-asset 5.8.2 requires trytond-account-product<5.9,>=5.8, but you have trytond-account-product 6.0.0 which is incompatible.
trytond-account-asset 5.8.2 requires trytond-product<5.9,>=5.8, but you have trytond-product 6.0.0 which is incompatible.

```

In the about section the client version is 5.8.  
What would you recommend to do in such a situation?  
I havn’t run the `trytond-admin --update-modules-list` yet, or activated the module.  
Downgrade packages? Ignoring?

---

<div class="post-metadata">

### Author: ![pokoli](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/pokoli/32/22_2.png) [@pokoli](https://discuss.tryton.org/u/pokoli)
#### Post date: [June 17, 2021, 9:46am UTC](https://discuss.tryton.org/t/dependency-conflict-after-module-installation/4331/2 "2021-06-17T09:46:16Z")

</div>

This error is due to an instalation of packages of mixed series. In your case it seems you have installed modules from 5.8 series but also for 6.0 series.

You should remove (using pip) all packages of the not desired version and install the required ones.  
If you have a virtualenv, probably it’s easier to remove it and reinstall all the packages of the desired serie.

---

<div class="post-metadata">

### Author: ![edbo](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/e/f14d63/32.png) [@edbo](https://discuss.tryton.org/u/edbo)
#### Post date: [June 17, 2021, 10:28am UTC](https://discuss.tryton.org/t/dependency-conflict-after-module-installation/4331/3 "2021-06-17T10:28:16Z")

</div>

If you have a virtual environment you can use `pip install --upgrade trytond-<module>==5.8.*` and pip should install the right packages. It maybe also will work in a default environment.

---

<div class="post-metadata">

### Author: ![Simon](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/simon/32/1150_2.png) [@Simon](https://discuss.tryton.org/u/Simon)
#### Post date: [June 17, 2021, 11:56am UTC](https://discuss.tryton.org/t/dependency-conflict-after-module-installation/4331/4 "2021-06-17T11:56:03Z")

</div>

Tanks, using pip I’ve succesfully downgraded all packages to 5.8.

---

<div class="post-metadata">

### Author: ![system](https://discuss-cdn.tryton.org/uploads/default/original/1X/c6f8ec0a40525cdcd50058c734283450a4b3d38b.png) [@system](https://discuss.tryton.org/u/system)
#### Post date: [July 17, 2021, 11:56am UTC](https://discuss.tryton.org/t/dependency-conflict-after-module-installation/4331/5 "2021-07-17T11:56:59Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
