health
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Health] GNU Health 1.4.3 start up problem


From: Craig Barnes
Subject: Re: [Health] GNU Health 1.4.3 start up problem
Date: Thu, 9 Feb 2012 18:45:31 +0000

Hi Ronald,

When I use a virtualenv, I dont use the --user option along with it,
as the global environment is in the virtualenv.

Make sure you activate the the virtualenv before running trytond.

The virtualenv will have the latest pip as well as it is downloded
when you create the environment.  So your local pip install should be
updated.

Try 'pip install pip --upgrade' as root to use --user in your global python.

HTH.

Craig

On 8 February 2012 20:46, Luis Falcon <address@hidden> wrote:
> Hi Ronald !
>
> On Wed, Feb 8, 2012 at 5:07 PM, ronald munjoma <address@hidden> wrote:
>> Hi Craig,
>>
>>
>> On 7 February 2012 22:08, Craig Barnes <address@hidden> wrote:
>>>
>>> Hi Ronald,
>>>
>>> I run tryton & trytond in a virtualenv routinely,  what steps have you
>>> gone through?
>>
>>
>> It looks like Trytond is not been installed, please find below the
>> environment and steps I have taken:
>>
>> OS:  Debian 6.03 Server, also tried same process on Ubuntu 10.04 Server
>> (virtualbox virtual machines on a Windows 7 host)
>>
>> Installed virtualenv, following instructions from here:
>> http://www.pip-installer.org/en/latest/installing.html
>>
>> actived my virtualenv,
>>
>> ran: pip intsall --user trytond_health_profile (in virtualenv)
>>
>> It runs without an errors
>>
>> running ./trytond from  .local/bin throws the error
>>
>> pip uninstall trytond_health_profile gives error about trytond not installed
>> (sorry dont have the actual error message, I have already deleted the
>> virtual machines)
>
> I think it's getting messy with the global installation. Try to do a
> local one (with the --user option).
>
>>
>> I have also tried installing GNU Health 1.4.3 without using a virtualenv,
>> when I run, pip install --user trytond_health_profile I get unknown option
>> --user error. Any ideas what i might be doing wrong?
>
> What version are of PIP are you using ? It seems like you have the old
> pip version installed, that does not have the "--user" option. You
> need to update the pip version.
>
> Let us know how it went
>
> Best
>
>
>>
>> Regards and thanks
>> Ronald Munjoma
>>>
>>>
>>> Regards
>>>
>>> Craig
>>>
>>> On 7 February 2012 05:08, Hedayat Vatankhah <address@hidden> wrote:
>>> > Hi Ronald,
>>> > I doubt that your pip installation has gone without any error messages.
>>> > Good luck,
>>> > Hedayat
>>> >
>>> > ronald munjoma <address@hidden> wrote on Tue, 7 Feb 2012 01:02:39
>>> > +0200:
>>> >
>>> > Good day,
>>> >
>>> > I have installed GNU Health using pip in an a virtualenv, when I start
>>> > the
>>> > server I get the below error.
>>> >
>>> >
>>> > (health)address@hidden:~/.local/bin$ ./trytond
>>> > Traceback (most recent call last):
>>> > � File "./trytond", line 13, in <module>
>>> > ��� import trytond
>>> > ImportError: No module named trytond
>>> >
>>> >
>>> > The installation is running on Debian 6.03 (clean install)
>>> >
>>> > Your assistance will be greatly appreciated.
>>> >
>>> > Regards and thanks
>>> > Ronald
>>>
>>>
>>>
>>> --
>>> Craig
>>>
>>> ()  ascii ribbon campaign - against html mail
>>> /\
>>>
>>
>
>
>
> --
> Luis Falcon
> GNU Health
> http://health.gnu.org
>



-- 
Craig

()  ascii ribbon campaign - against html mail
/\



reply via email to

[Prev in Thread] Current Thread [Next in Thread]