简体   繁体   English

AWS Python Athena 安装错误 pip 安装 jupyter-athena-sql

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

Facing issue on installing jupyter-athena-sql .安装jupyter-athena-sql时面临的问题。 Seems like its because of jupyter-athena-sql requires a package from pyathena.converter called TypeConverter .似乎是因为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 File "/tmp/pip-install-t_sccvpk/jupyter-athena-sql_94bbe189a6af434d96bd640e62b8dfbf/athena/connection.py", line 11, in 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

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

Command errored命令错误

out with exit status 1: python setup.py egg_info Check the logs for full command output.退出状态为 1:python setup.py egg_info 检查日志以获取完整命令 output。 ERROR: Could not find a version that satisfies the requirement jupyter-athena-sql (from versions: 0.0.4) ERROR: No matching distribution found for jupyter-athena-sql错误:找不到满足 jupyter-athena-sql 要求的版本(来自版本:0.0.4) 错误:找不到 jupyter-athena-sql 的匹配分布

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM