On May 23, 2014, at 9:21 AM, Dale Scott <[email protected]> wrote:

> root@tryton:~ # pip install trytond_stock_kit
> Downloading/unpacking trytond-stock-kit
>   Downloading trytond_stock_kit-2.4.0.tar.gz


That is precisely the problem.

The latest version of trytond_stock_kit module seems to be 2.4.0 [1].
When you install that module, the setup.py is configured to install its 
dependencies and a version of trytond which is in 2.4 series.

This is probably what screwed up your installation.

2 tips to avoid this mess:

1. Use virtualenv [2]. Even if a virtualenv is screwed you can setup a new one 
in a few seconds while provisioning a new VM takes way more time.
2. Update to the latest version of pip. use pip install -U pip

Recent versions of pip have better support for cleanly installing and 
uninstalling packages.

If you do want to retain this VM, the best approach would be to uninstall the 
packages that were installed by trytond_stock_kit.

[1] https://pypi.python.org/pypi/trytond_stock_kit
[2] http://virtualenv.readthedocs.org/en/latest/

Thanks & Regards


Sharoon Thomas
CEO & Chief Software Architect
Openlabs Technologies & Consulting (P) Limited

w: http://www.openlabs.co.in
m: +1 813.793.6736 (OPEN) Extn. 200
t: @sharoonthomas 

- We win when our customers win

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to