第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

將Python與OrientDB和gremlin-server結合使用

將Python與OrientDB和gremlin-server結合使用

眼眸繁星 2021-03-31 17:18:22
我想使用gremlin-server部署orientDB圖形,并使用gremlin_python庫將其與python連接。我下載了orientDB with gremlin server - zip社區(qū)版我可以通過運行來部署orientDB bin\server.bat,但是沒有gremlin-server.bat(或.sh)可用于通過gremlin-server部署orientDB。我以前下載過tinkerpop gremlin-server,并嘗試使用orientDB中可用的gremlin-server.yaml文件運行它。一些版本信息:OrientDB : orientdb-tp3-3.0.2Tinkerpop : apache-tinkerpop-gremlin-server-3.3.1Gremlin_python : gremlinpython==3.3.2版本控制可能是個問題。但是我也想知道如何設置它。我的能力夠嗎,我只需要更正版本?
查看完整描述

2 回答

?
翻閱古今

TA貢獻1780條經驗 獲得超5個贊

from gremlin_python.process.anonymous_traversal import traversal


from gremlin_python.driver.driver_remote_connection import DriverRemoteConnection


from gremlin_python.structure.graph import Graph


graph = Graph()

g = graph.traversal().withRemote(DriverRemoteConnection('ws://localhost:8182/gremlin','g', username = "root",password="root_password"))

為我工作


查看完整回答
反對 回復 2021-04-09
  • 2 回答
  • 0 關注
  • 260 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號