简体   繁体   中英

Error for importing graphml file to neo4j

I can't import my graphml file into neo4j using neo4j shell. I use this command:

 import-graphml -i C:\Users\MARIAM\Desktop\football.graphml

but I get this error message:

Invalid input 'i': expected <init> (line 1, column 1 (offset: 0))

"import-graphml -i C:\\Users\\MARIAM\\Desktop\\football.graphml"
^

It seems like you did not install Neo4j shell tools properly.

The error here is that import-graphml is not recognized as a command.

to run the Neo4j shell tools , we need to go to the Options->Commands Prompts-> Neo4jShell .

And after run the command: import-graphml -i filepath/filename

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM