You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The legis-graph project favors Python3 so I was surprised to find the http.py script requires Python2. I went through an exercise of upgrading the script to Python3, which turned out to be a little tricky since the script filename happens to override the http.server module namespace! I wanted to be sure to note that for future reference, and would be happy to update the project with the minimal changes necessary to make it Python3-compliant:
Rename http.py to legis-graph-guides-server.py
Update http.py to use http.server module
Update legis-graph/render.sh reference to http.py
After making these changes, I'm successfully playing the guides in the Neo4j browser. Thank you!
The text was updated successfully, but these errors were encountered:
The legis-graph project favors Python3 so I was surprised to find the
http.py
script requires Python2. I went through an exercise of upgrading the script to Python3, which turned out to be a little tricky since the script filename happens to override thehttp.server
module namespace! I wanted to be sure to note that for future reference, and would be happy to update the project with the minimal changes necessary to make it Python3-compliant:http.py
tolegis-graph-guides-server.py
http.py
to usehttp.server
modulelegis-graph/render.sh
reference tohttp.py
After making these changes, I'm successfully playing the guides in the Neo4j browser. Thank you!
The text was updated successfully, but these errors were encountered: