當我嘗試從基於Windows的ETL主機執行gpload時。當基於Windows測試gpload時出錯
在Windows環境下使用gpload產生以下錯誤:
錯誤我得到:
gpload.py -f gpload.yml
gpload was unable to import The PyGreSQL Python module (pg.py) - DLL load failed with error code 193
當我嘗試從基於Windows的ETL主機執行gpload時。當基於Windows測試gpload時出錯
在Windows環境下使用gpload產生以下錯誤:
錯誤我得到:
gpload.py -f gpload.yml
gpload was unable to import The PyGreSQL Python module (pg.py) - DLL load failed with error code 193
您應該檢查是否正確或沒有安裝pygresql。因爲從gpload代碼
try:
from pygresql import pg
except Exception, e:
errorMsg = "gpload was unable to import The PyGreSQL Python module (pg.py) - %s\n" % str(e)
sys.stderr.write(str(errorMsg))
sys.exit(2)
我們可以知道,這是關於進口pygresql錯誤(或不安裝,版本是吧?)。如果pygresql安裝正確,python版本或PATH是否正確?請檢查它們。
嘗試安裝Python 2.5的32位版本而不是64位版本。 –
謝謝喬恩。我安裝了它,它爲我工作。立即獲取此錯誤代碼-hpp響應代碼404 from gpfdist – NEO
嘗試直接運行gpfdist.exe並查看是否能夠啓動該進程。這可能是一個簡單的端口衝突或反病毒程序停止的過程。 –