[Top][All Lists]

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

Re: [Health] GNU Health installation help

From: mona gc
Subject: Re: [Health] GNU Health installation help
Date: Sat, 28 Sep 2013 18:43:36 +0800 (SGT)

Dear Gabriela, Luis, KK CHN, Ronald,
Thanks for your help. unfortunately i yet could not scucced. your help is highly appreciated.
1. i did fresh installation of ubuntu 12.04.3 (as directed by our beloved Luis Falcon)

2.Run the following command as root (or using sudo):
# apt-get install python-pip postgresql build-essential python-dev libxml2-dev libxslt1-dev postgresql-server-dev-9.1 libldap2-dev libsasl2-dev

3.create the GNU Health operating system user (not admin):
# adduser gnuhealth
# su - postgres -c "createuser --createdb --no-createrole --no-superuser gnuhealth"

4.Becomming user gnuhealth:
su - gnuhealth
tar xzf gnuhealth-latest.tar.gz
cd gnuhealth-*

5. Run the script

I made many attemps everytime either same or other errors are occured as follows,

Attepmt 1
File "/usr/lib/python2.7/dist-packages/pip/", line 441, in unpack_http_url
download_hash = _download_url(resp, link, temp_location)
File "/usr/lib/python2.7/dist-packages/pip/", line 366, in _download_url
chunk =
File "/usr/lib/python2.7/", line 380, in read
data = ""
File "/usr/lib/python2.7/", line 561, in read
s =
File "/usr/lib/python2.7/", line 380, in read
data = ""
File "/usr/lib/python2.7/", line 241, in recv
File "/usr/lib/python2.7/", line 160, in read
SSLError: The read operation timed out

Attepmt 2

address@hidden:~/gnuhealth-2.2.0$ ./
[13:13:12][INFO] Starting GNU Health 2.2.0 installation...
[13:13:12]Looking for wget....
wget is /usr/bin/wget
[13:13:12]Looking for the Python Interpreter command...
python is /usr/bin/python
[13:13:12][INFO] Found Python 2.7.3
[13:13:12]-> Looking for PIP command...
[13:13:12][INFO] OK.
[13:13:12][INFO] Creating temporary directory...
[13:13:12][INFO] OK.
[13:13:12][INFO] Creating destination directories...
[13:13:12][INFO] OK.
[13:13:12][INFO] Getting list of lastest Tryton packages...
[13:15:02][INFO] OK.
[13:15:02][INFO] Installing python dependencies with pip...
Requirement already satisfied (use --upgrade to upgrade): lxml in /home/gnuhealth/.local/lib/python2.7/site-packages
Cleaning up...
Requirement already satisfied (use --upgrade to upgrade): relatorio in /home/gnuhealth/.local/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): Genshi>=0.5 in /home/gnuhealth/.local/lib/python2.7/site-packages (from relatorio)
Requirement already satisfied (use --upgrade to upgrade): lxml>=2.0 in /home/gnuhealth/.local/lib/python2.7/site-packages (from relatorio)
Cleaning up...
Requirement already satisfied (use --upgrade to upgrade): python-dateutil in /usr/lib/python2.7/dist-packages
Cleaning up...
Requirement already satisfied (use --upgrade to upgrade): psycopg2 in /home/gnuhealth/.local/lib/python2.7/site-packages
Cleaning up...
Downloading/unpacking pytz>=2013b
Cannot fetch index base URL
Downloading pytz-2013d.tar.bz2 (204Kb): 204Kb downloaded
Running egg_info for package pytz
warning: no files found matching '*.pot' under directory 'pytz'
warning: no previously-included files found matching ''
Installing collected packages: pytz
Found existing installation: pytz 2011k
Uninstalling pytz:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/", line 126, in main, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/", line 228, in run
requirement_set.install(install_options, global_options)
File "/usr/lib/python2.7/dist-packages/pip/", line 1089, in install
File "/usr/lib/python2.7/dist-packages/pip/", line 476, in uninstall
File "/usr/lib/python2.7/dist-packages/pip/", line 1391, in remove
renames(path, new_path)
File "/usr/lib/python2.7/dist-packages/pip/", line 248, in renames
shutil.move(old, new)
File "/usr/lib/python2.7/", line 297, in move
File "/usr/lib/python2.7/", line 250, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "/usr/lib/python2.7/", line 248, in rmtree
OSError: [Errno 13] Permission denied: '/usr/lib/python2.7/dist-packages/pytz/'
Storing complete log in /home/gnuhealth/.pip/pip.log

also if try to change permission of file as a root can not change the permission. strange.
kindly help.


From: Gabriela Brenes <address@hidden>
To: mona gc <address@hidden>
Sent: Saturday, 28 September 2013 12:30 AM
Subject: Re: GNU Health installation help

Hello, Mona,

Thank you so much for your interest in GNU Health. I will be more than happy to help you through it. First I'd like to know how far you got with the installation and if there was a point in particular where you felt lost or blocked.

Best regards,

GNU Solidario

Universality in Health Care,
eHealth for all!

On Mon, Sep 23, 2013 at 7:22 AM, mona gc <address@hidden> wrote:
Greetings All,
I am kindly new to linux and seeking the assistance of this group in effort to provide
a guideline to install Tryton 2.8 & GNU Health 2 on Ubuntu 12.04.
I have already downloaded GNU Health 2.0  and have installed Tryton 2.0
from the repositories.  I will be obliged, if someone help me to install GNU Health using teamviewer or provide video/pics tutor for the same. i have referred but no luck.
Grateful for your support,

reply via email to

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