在安装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**从"/tmp/pip-install-t_sccvpk/jupyter-athena-sql_94bbe189a6af434d96bd640e62b8dfbf/athena/connection.py",
.connection导入get_connection文件第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:
setup.py egg_info检查日志以获得完整的命令输出。错误:无法找到满足jupyter-athena-sql要求的版本(来自版本: 0.0.4)错误:没有为jupyter-athena-sql
找到匹配的发行版
发布于 2021-08-09 03:22:25
pip uninstall pyathena
pip install pyathena==1.2.0请参阅:https://github.com/markfink/jupyter-athena-sql/blob/develop/requirements.txt
https://stackoverflow.com/questions/67406658
复制相似问题