我試圖在Neo4J中導入數據集(csv文件)。 我在Ubuntu 16,我下面this指南:將數據集導入neo4j
當我這樣做:
neo4j_home$ ./bin/neo4j-import --into path_to_target_directory --nodes movies.csv --nodes actors.csv --relationships roles.csv
我得到(在Ubuntu終端)這樣的錯誤:
Input error: Directoy '<my target directory here>' not writable: No such file or directory
你能幫我?這是我的下usr/share/neo4j
以下結構(文件夾名稱以粗體顯示):
- bin
- neo4j
- neo4j-admin
- neo4j-import // what I use for importing
- neo4j-shared.sh
- neo4j-shell
- import (I created this directory which holds the file to import)
- MyTestDir
- first.csv
- second.csv
- third.csv
for completeness: I also have these 2 folders
- lib (some jar files here)
- tools
- config-migrator.jar
如何導入first.csv,second.csv和third.csv到Neo4j的?
我試過(注意我是bin文件夾裏):./neo4j-import --into <dont know what write here> --nodes ../import/MyTestDir/first.csv ../import/MyTestDir/second.csv ../import/MyTestDir/third.csv