1
0
mirror of https://github.com/gsi-upm/sitc synced 2025-12-15 09:38:16 +00:00

Add fix in RDF notebook

This commit is contained in:
J. Fernando Sánchez
2019-02-14 17:45:57 +01:00
parent df6a148907
commit 139a6f5d69
2 changed files with 61 additions and 4 deletions

View File

@@ -72,9 +72,9 @@
"deletable": false,
"editable": false,
"nbgrader": {
"checksum": "711717202b6164f635b1ee3947368ad5",
"checksum": "3291946a5839da468d738588564690ec",
"grade": false,
"grade_id": "cell-d7f1ea9c021693b8",
"grade_id": "cell-oaisjd",
"locked": true,
"schema_version": 1,
"solution": false
@@ -87,6 +87,48 @@
"!{sys.executable} -m pip install --user -r requirements.txt"
]
},
{
"cell_type": "markdown",
"metadata": {
"deletable": false,
"editable": false,
"nbgrader": {
"checksum": "2407937d03fd7b85d5e3580d32707f29",
"grade": false,
"grade_id": "cell-oaisjdojasid",
"locked": true,
"schema_version": 1,
"solution": false
}
},
"source": [
"**ALTERNATIVELY**, if this doesn't work, try this:"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"deletable": false,
"editable": false,
"nbgrader": {
"checksum": "e4ee23a6c5b09ac89d0c5e3bd36df7ec",
"grade": false,
"grade_id": "cell-install2",
"locked": true,
"schema_version": 1,
"solution": false
}
},
"outputs": [],
"source": [
"# Install a pip package in the current Jupyter kernel\n",
"import sys\n",
"import os\n",
"sys.path.append(os.path.join(os.getcwd(), '.jupyter'))\n",
"!{sys.executable} -m pip install --target '.jupyter' -r requirements.txt"
]
},
{
"cell_type": "markdown",
"metadata": {