I tried using this tutorial on my personal colab but it doesn’t give the same results shown here:
TWDS - MedCAT & Neo4j Tutorial.ipynb
The script fails at “import patients” showing this error:
ClientError: [Statement.ExternalResourceFailed] Couldn’t load the external resource at: file:/var/lib/neo4j/import/patients.csv (Transactions committed: 0)
I also add the following cell, but still don’t work:
!mkdir /var/lib/neo4j
!mkdir /var/lib/neo4j/import
!mkdir /var/lib/neo4j/conf
!sudo chmod 777 /var/lib/neo4j
!sudo chmod 777 /var/lib/neo4j/import
!sudo chmod 777 /var/lib/neo4j/conf
!echo 'dbms.directories.import=/var/lib/import' | tee /var/lib/neo4j/conf/neo4j.conf
!echo 'dbms.security.allow_csv_import_from_file_urls=true' | tee /var/lib/neo4j/conf/neo4j.conf
!sudo chmod 640 /var/lib/neo4j/conf/neo4j.conf
!set NEO4J_HOME=/var/lib/neo4j
!set NEO4J_CONF=/var/lib/neo4j/conf
I try also to implement a local project on my laptop with pycharm and neo4j desktop. The script goes a little bit futher, but the first query return un empty set and the second raise an error.
Can somebody help me?