簡體   English   中英

AWS Python Athena 安裝錯誤 pip 安裝 jupyter-athena-sql

[英]AWS Python Athena Install Error on pip install jupyter-athena-sql

安裝jupyter-athena-sql時面臨的問題。 似乎是因為jupyter-athena-sql需要來自pyathena.converter ,稱為TypeConverter

!pip install pyathena # Worked
from pyathena.converter import Converter # Worked
!pip install jupyter-athena-sql # **Error**

from.connection import get_connection 文件“/tmp/pip-install-t_sccvpk/jupyter-athena-sql_94bbe189a6af434d96bd640e62b8dfbf/athena/connection.py”,第 11 行,在

 from pyathena.converter import TypeConverter ImportError: cannot import name 'TypeConverter' ---------------------------------------- WARNING: Discarding https://files.pythonhosted.org/packages/43/ea/f8dc5177d8048ef1fa84eb6861d758c254c8438d9826dd84a92b26c48d2e/jupyter-athena-sql-0.0.4.tar.gz#sha256=4b45d8fbaa730cdd4ce70e71c445571d80be35769baaabe4394808c7f2b9d36c

(來自https://pypi.org/simple/jupyter-athena-sql/ )。

命令錯誤

退出狀態為 1:python setup.py egg_info 檢查日志以獲取完整命令 output。 錯誤:找不到滿足 jupyter-athena-sql 要求的版本(來自版本:0.0.4) 錯誤:找不到 jupyter-athena-sql 的匹配分布

 pip uninstall pyathena
 pip install pyathena==1.2.0

參見: https://github.com/markfink/jupyter-athena-sql/blob/develop/requirements.txt

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM