Skip to content

syntax error on debian 9 with Python v 3.5.3 #7

@ralfhauser

Description

@ralfhauser

in jupyter notebook, got the below error when doing

import pandas as pd
import io
import numpy as np
from urllib.request import urlopen
import json
from math import *
from platform import python_version
print("Python v "+python_version())
from gastrodon import RemoteEndpoint,QName,ttl,URIRef,inline
from matplotlib import pyplot

<<
Traceback (most recent call last):

File "/usr/local/lib/python3.5/dist-packages/IPython/core/interactiveshell.py", line 3326, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)

File "", line 9, in
from gastrodon import RemoteEndpoint,QName,ttl,URIRef,inline

File "/usr/local/lib/python3.5/dist-packages/gastrodon/init.py", line 136
kwargs:Dict={}
^
SyntaxError: invalid syntax

Any hints ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions