health-dev
[Top][All Lists]
Advanced

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

[Health-dev] FHIR issues


From: Cornelius Lee
Subject: [Health-dev] FHIR issues
Date: Thu, 5 Sep 2019 01:49:12 +0000

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
  File "/home/gnuhealth/gnuhealth-3.4.1/backend/fhir/server/__init__.py", line 1, in <module>
    from .app import create_app
  File "/home/gnuhealth/gnuhealth-3.4.1/backend/fhir/server/app.py", line 3, in <module>
    from server.common import tryton, login_manager, Api, recordConverter
  File "/home/gnuhealth/gnuhealth-3.4.1/backend/fhir/server/common/__init__.py", line 1, in <module>
    from extensions import *
  File "/home/gnuhealth/gnuhealth-3.4.1/backend/fhir/server/common/extensions.py", line 1, in <module>
    from flask_tryton import Tryton
  File "/home/gnuhealth/.local/lib/python2.7/site-packages/flask_tryton.py", line 20, in <module>
    from trytond.pool import Pool
  File "/home/gnuhealth/gnuhealth/tryton/server/trytond-4.6.19/trytond/pool.py", line 5, in <module>
    from trytond.modules import load_modules, register_classes
  File "/home/gnuhealth/gnuhealth/tryton/server/trytond-4.6.19/trytond/modules/__init__.py", line 20, in <module>
    from trytond.transaction import Transaction
  File "/home/gnuhealth/gnuhealth/tryton/server/trytond-4.6.19/trytond/transaction.py", line 7, in <module>
    from trytond import backend
  File "/home/gnuhealth/gnuhealth/tryton/server/trytond-4.6.19/trytond/backend/__init__.py", line 11, in <module>
    import request
ImportError: No module named request



I'd assume I am missing the module called request which is from urllib for python2.7 on Ubuntu server 18.04 LTS.
However, I am unable to search from it with pip as the module deprecated on python2.7 and comes as standard in python 3.

May I have some advice on how to solve this issue and configure thr FHIR server correctly, please?


Kind Regards,
Cornelius


reply via email to

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