health
[Top][All Lists]
Advanced

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

Re: [Health] error installation


From: Craig Barnes
Subject: Re: [Health] error installation
Date: Sat, 7 Jul 2012 16:41:52 +0100

On 7 July 2012 03:25, muhammad razi <address@hidden> wrote:
> Hello Mr.Falcao.
> Hello too for another member.
>
> I'm razi from Indonesia.
>
> I want to learn this gnuhealth.
>
> first, I have some problem for installation.
>
> I'm using ubuntu 10.04. python 2.6.
>
> when I install tryton, I can't finish installation and get some error.
>
> here this error :
>
> address@hidden:/$ pip install trytond_health_profile
> Downloading/unpacking trytond-health-profile
>   Downloading trytond_health_profile-1.6.2.tar.gz
> Exception:
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/dist-packages/pip.py", line 252, in main
>     self.run(options, args)
>   File "/usr/lib/python2.6/dist-packages/pip.py", line 408, in run
>     requirement_set.install_files(finder, force_root_egg_info=self.bundle)
>   File "/usr/lib/python2.6/dist-packages/pip.py", line 1757, in
> install_files
>     self.unpack_url(url, location)
>   File "/usr/lib/python2.6/dist-packages/pip.py", line 1901, in unpack_url
>     self.unpack_file(temp_location, location, content_type, link)
>   File "/usr/lib/python2.6/dist-packages/pip.py", line 1919, in unpack_file
>     self.untar_file(filename, location)
>   File "/usr/lib/python2.6/dist-packages/pip.py", line 1965, in untar_file
>     os.makedirs(location)
>   File "/usr/lib/python2.6/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/build/trytond-health-profile'
>
> Storing complete log in ./pip-log.txt
> Traceback (most recent call last):
>   File "/usr/bin/pip", line 3, in <module>
>     pip.main()
>   File "/usr/lib/python2.6/dist-packages/pip.py", line 893, in main
>     return command.main(initial_args, args[1:], options)
>   File "/usr/lib/python2.6/dist-packages/pip.py", line 267, in main
>     log_fp = open_logfile_append(log_fn)
>   File "/usr/lib/python2.6/dist-packages/pip.py", line 3712, in
> open_logfile_append
>     log_fp = open(filename, 'a')
> IOError: [Errno 13] Permission denied: './pip-log.txt'
>
> what should I do? thanks for your answer. :)
>

you need to install as root user or install to your home directory.

Try this

 sudo pip install trytond_health_profile

to install as root

or this

pip install trytond_health_profile --user

if this fails you need to update pip with

sudo pip install pip

hope this helps.

-- 
Craig

'The first time any man's freedom is trodden on - we are all damaged.'
Jean-Luc Picard
()  ascii ribbon campaign - against html mail
/\



reply via email to

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