Skip to content

Commit

Permalink
Update launch_on_server.md
Browse files Browse the repository at this point in the history
  • Loading branch information
benstear authored Feb 24, 2024
1 parent bb2fe09 commit 73c49a4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scripts/launch_on_server.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ driver = GraphDatabase.driver(NEO4J_URI, auth=(NEO4J_USER, NEO4J_PASSWORD))

#### 5. Activate virtual environment so you can use a newer version of Python in jupyter lab
The default Python is python3.6, but neo4js python graph data science plugin `graphdatascience==1.8` needs a newer version of python.
To use a newer version of Python follow these steps:
5a. Use method 2 from https://tecadmin.net/how-to-install-python-3-11-on-ubuntu/ to d/l Python and PIP.
5b. Create venv to create new kernel https://saturncloud.io/blog/how-to-add-a-python-3-kernel-to-jupyter-ipython/#step-3-install-the-ipython-kernel-package
To use a newer version of Python follow these steps:
5a. Use method 2 from https://tecadmin.net/how-to-install-python-3-11-on-ubuntu/ to d/l Python and PIP.
5b. Create venv to create new kernel https://saturncloud.io/blog/how-to-add-a-python-3-kernel-to-jupyter-ipython/#step-3-install-the-ipython-kernel-package
5c.
#export PATH="/usr/local/lib/python3.11:$PATH"
#export PATH="/usr/local/lib/python3.11/site-packages:$PATH"
sudo python3.11 -m pip show graphdatascience
#export PATH="/usr/local/lib/python3.11:$PATH"
#export PATH="/usr/local/lib/python3.11/site-packages:$PATH"
sudo python3.11 -m pip show graphdatascience

0 comments on commit 73c49a4

Please sign in to comment.