Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Can't install? #26

@jamestho

Description

@jamestho

Hi,

This looks like a cool piece of code - so, first of all, thank you :)

I'm probably doing something wrong, but I installed python-gedcom as per instructions, ie. pip3 install python-Gedcom. It shows as being installed correctly. When I use your example code, I receive the following error message:

Traceback (most recent call last):
  File "Gedcom.py", line 3, in <module>
    from gedcom.element.individual import IndividualElement
  File "/home/james/Coding/gedcom/gedcom.py", line 3, in <module>
    from gedcom.element.individual import IndividualElement
ModuleNotFoundError: No module named 'gedcom.element'; 'gedcom' is not a package

I also commented out the: '#from gedcom.element.individual import IndividualElement', to use the strict parser as the source gedcom is an ancestry gedcom 5.5 file, and I receive the same message.

useful stats:
python version 3.7.3
Arch Linux ARM aarch64 (Odroid N2 SBC)
I'm quite new to python programming!

Any thoughts/advice would be gratefully received - thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions