Skip to content

Unable to run first example : syntax error #39

@Blandine11

Description

@Blandine11

Hello guys,

I'm new in python and using PiCN too.
I follow the steps in your guthub to test the PiCN example but I have an error that I don't understand.
While running this command picn-repo --format ndntlv /tmp/repo /the/prefix 10000 &
I have the following error : Traceback (most recent call last): File "/home/ubuntu/PiCN/PiCN/Executable/ICNDataRepository.py", line 6, in <module> from PiCN.ProgramLibs.ICNDataRepository import ICNDataRepository File "/home/ubuntu/PiCN/PiCN/ProgramLibs/ICNDataRepository/__init__.py", line 3, in <module> from .ICNDataRepository import ICNDataRepository File "/home/ubuntu/PiCN/PiCN/ProgramLibs/ICNDataRepository/ICNDataRepository.py", line 59 self.repo: BaseRepository = SimpleMemoryRepository(prefix, manager, logger) ^ SyntaxError: invalid syntax
I use python version 3.7 in ubuntu 16.04.

Your help will be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions