Hi Luis & Chris,

Thank you for your reply and kind response.

Yes. That request python library is in the PiPy repository, however, when 
installed, I will still encounter the errors.
It's as if the path is not correctly pointed to, in a way.....

If that is the case, I will go through the installation steps once again for 
Gnuhealth server & client in purely python 3 and see how it goes.
This is in accordance to the steps & instructions stated in the following URL:

https://en.wikibooks.org/wiki/GNU_Health/Installation

GNU Health/Installation - Wikibooks, open books for an open 
world<https://en.wikibooks.org/wiki/GNU_Health/Installation>
Setting up Network Time Protocol (NTP) [] In order to properly run GNU Health, 
you need to make sure that the time on both the server (database and central 
instance) and clients are properly set and in sync.
en.wikibooks.org
which i have made some ammends on the Wiki without which, I will encounter 
errors during the installation procedures, especially for Ubuntu 18.04LTS 
server.



 However, from the URL mentioned below:

https://en.wikibooks.org/wiki/GNU_Health/FHIR_REST_server#Installation
GNU Health/FHIR REST server - 
Wikibooks<https://en.wikibooks.org/wiki/GNU_Health/FHIR_REST_server#Installation>
About FHIR and REST []. Fast Healthcare Interoperability Resources (FHIR) is a 
standard for exchanging healthcare information electronically developed by HL7. 
For ...
en.wikibooks.org
I realise that python version 2 is still in use when installing the FHIR server.
Will this also be ported over to Python 3 soon as well?

I look forward to try out the implementation of Gnuhealth 3.6 on python 3 soon.

Kind Regards,
Cornelius


________________________________
From: Luis Falcon <[email protected]>
Sent: Saturday, September 7, 2019 7:13 AM
To: Cornelius Lee <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: [Health-dev] FHIR issues

Hi Cornelius !

On Thu, 5 Sep 2019 01:49:12 +0000
Cornelius Lee <[email protected]> wrote:

> Hi everyone,
>
> While setting up the FHIR server, I was following the instructions
> documented in the following URL:
>
> https://en.wikibooks.org/wiki/GNU_Health/FHIR_REST_server#Installation
>
> However, I have encountered a python module issue which after
> googling, is to no avail.
>
> Traceback (most recent call last):
>   File "./run_server.py", line 8, in <module>
>     from server import create_app
> "/home/gnuhealth/gnuhealth/tryton/server/trytond-4.6.19/trytond/backend/__init__.py",
> line 11, in <module> import request ImportError: No module named
> request
>

Strange, since no request package is called (there are imports from
module request from Flask, but not a single import to the request
package found on the trytond tree or fhir)

There is a package called request on

https://pypi.org/project/request/

I doubt Trytond would need that one though...

In any case, the FHIR lib should be ported to Python3, since the
whole GNU Health 3.6 (both server and client) are now in Python3, and
Python 2 will be deprecated.

Chris is maintaining the FHIR server at the moment. More soon !

Bests
Luis

Reply via email to