On 14/08/12 07:01 -0700, TPH wrote:
> Hi,
> 
> I wan't to run Tryton test-scenarios on my local Ubuntu system. For this 
> reason I copy Tryton 2.4 on my local pc.
> 
> cd /opt/ && sudo hg nclone http://hg.tryton.org/2.4/trytond
> 
> 
> Now I tried to add tryton to PYTHONPATH this way:
> 
> echo "PYTHONPATH=/opt/trytond/:$PYTHONPATH" >> ~/.bashrc
> 
>  
> But I still get error message in Python Shell:
> 
> ImportError: No module named trytond
> 
> 
> It this not the correct way? 

The path is wrong, you must point to trytond inside the repository

-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: [email protected]
Website: http://www.b2ck.com/

Attachment: pgpFCVxoJHG9C.pgp
Description: PGP signature

Reply via email to