health-es
[Top][All Lists]
Advanced

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

Re: [Health-es] Consulta: Problema en la instalación de la versión 3.2.


From: Liberorbis
Subject: Re: [Health-es] Consulta: Problema en la instalación de la versión 3.2.9 en Raspberry PI (Raspian)
Date: Sun, 30 Sep 2018 16:33:17 +0300

Hola Sergio
Al parecer, te falta instalar la librería de desarrollo de posgresql. La que termina con '-dev'. Es una dependencia de psycopg2. Luego borras la carpeta de instalación y reintentas.
Avisas el resultado.
Saludos
Fernando.

--
Enviado desde myMail para Android

viernes, 28 setiembre 2018, 10:55p. m. -05:00 de Sergio address@hidden:

Buenas noches,
Me encuentro queriendo implementar el sistema en una Raspberry PI para comenzarlo a utilizar en mi consultorio.
Antes de comenzar la instalación efectué la siguiente orden para actualizar:
address@hidden:/# sudo apt-get update


Al instalar los requisitos para Debian:

Logré declarar al Python3 como interprete pero al instalar postgresql y python3-pip
devuelve lo siguiente:

Se encontraron errores al procesar: /var/cache/apt/archives/python-pip_9.0.1-2+rpt2_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)

Continué con el procedimiento y llegué a la instalación del gnuhealth en su versión 3.2.9 finalizando la misma con los siguientes mensajes (Pego todo el proceso)

address@hidden:~/gnuhealth-3.2.9 $ ./gnuhealth-setup install
2018-09-29 03:25:15 [INFO] Starting GNU Health 3.2.9 installation...
2018-09-29 03:25:15 [INFO] Checking requirements
 -> Looking for wget... wget is /usr/bin/wget
 -> Looking for 2to3... 2to3 is /usr/bin/2to3
 -> Looking for patch... patch is /usr/bin/patch
 -> Looking for the Python Interpreter command... python is /usr/bin/python
2018-09-29 03:25:15 [INFO] Found Python 3.5.3
 -> Looking for PIP command...
2018-09-29 03:25:15 [INFO] Running on GNU/LINUX
 -> Looking for lsb_release ... lsb_release is /usr/bin/lsb_release
2018-09-29 03:25:18 [INFO] GNU / Linux distro: Raspbian
2018-09-29 03:25:18 [INFO] OK.
2018-09-29 03:25:18 [INFO] Creating temporary directory...
2018-09-29 03:25:19 [INFO] OK.
2018-09-29 03:25:19 [INFO] Creating destination directories...
2018-09-29 03:25:19 [INFO] OK.
2018-09-29 03:25:19 [INFO] Updating Python dependencies...
2018-09-29 03:25:19 [INFO] Checking requirements
 -> Looking for wget... wget is /usr/bin/wget
 -> Looking for 2to3... 2to3 is /usr/bin/2to3
 -> Looking for patch... patch is /usr/bin/patch
 -> Looking for the Python Interpreter command... python is /usr/bin/python
2018-09-29 03:25:19 [INFO] Found Python 3.5.3
 -> Looking for PIP command...
2018-09-29 03:25:19 [INFO] Running on GNU/LINUX
 -> Looking for lsb_release ... lsb_release is /usr/bin/lsb_release
2018-09-29 03:25:19 [INFO] GNU / Linux distro: Raspbian
2018-09-29 03:25:19 [INFO] OK.
2018-09-29 03:25:23 [WARNING] Skipping local PYTHON-LDAP installation. Please refer to the Wikibook to install it
2018-09-29 03:25:23 [INFO] Installing python dependencies with pip-18.0 ...
Requirement already up-to-date: pytz in /home/gnuhealth/.local/lib/python3.5/site-packages (2018.5)
Requirement already up-to-date: wrapt in /home/gnuhealth/.local/lib/python3.5/site-packages (1.10.11)
Requirement already up-to-date: werkzeug in /home/gnuhealth/.local/lib/python3.5/site-packages (0.14.1)
Requirement already up-to-date: six in /home/gnuhealth/.local/lib/python3.5/site-packages (1.11.0)
Requirement already up-to-date: lxml in /home/gnuhealth/.local/lib/python3.5/site-packages (4.2.5)
Requirement already up-to-date: relatorio in /home/gnuhealth/.local/lib/python3.5/site-packages (0.8.0)
Requirement already satisfied, skipping upgrade: lxml>=2.0 in /home/gnuhealth/.local/lib/python3.5/site-packages (from relatorio) (4.2.5)
Requirement already satisfied, skipping upgrade: Genshi>=0.5 in /home/gnuhealth/.local/lib/python3.5/site-packages (from relatorio) (0.7.1)
Requirement already up-to-date: python-dateutil in /home/gnuhealth/.local/lib/python3.5/site-packages (2.7.3)
Requirement already satisfied, skipping upgrade: six>=1.5 in /home/gnuhealth/.local/lib/python3.5/site-packages (from python-dateutil) (1.11.0)
Collecting psycopg2
    Complete output from command python setup.py egg_info:
    running egg_info
    creating pip-egg-info/psycopg2.egg-info
    writing top-level names to pip-egg-info/psycopg2.egg-info/top_level.txt
    writing pip-egg-info/psycopg2.egg-info/PKG-INFO
    writing dependency_links to pip-egg-info/psycopg2.egg-info/dependency_links.txt
    writing manifest file 'pip-egg-info/psycopg2.egg-info/SOURCES.txt'
    Error: b'You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for building a client-side application.\n'
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-1gktfl8r/psycopg2/
2018-09-29 03:26:39 [INFO] Bailing out !
2018-09-29 03:26:39 [INFO] Cleaning up temp directories at /tmp/gnuhealth_installer
2018-09-29 03:26:39 [INFO] removing base dir at /home/gnuhealth/gnuhealth

Si quisiera continuar intentando ejecutar source "$HOME"/.gnuhealthrc  hace caso omiso.


Espero haber sido claro con el caso y que puedan ayudarme.

Muchas gracias!!!
Saludos,

--
Sergio R. Messina
Lic. en Psicología 


reply via email to

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