gspread 包未在 pip 或 conda 上更新
gspread package not updated on pip or conda
我正在尝试使用 gspread 包中的 get_worksheet_by_id 函数。
我可以看到该功能在 https://github.com/burnash/gspread/blob/master/gspread/models.py
中可用
它也在文档中列出。
但我在 pip 和 conda 存储库中找不到它。结果我无法使用它。
https://pypi.org/project/gspread/#files
https://anaconda.org/conda-forge/gspread/files
不知道在哪里举报。
你看blame就知道了,这个功能是this commit才添加的,是2021年3月的。pypi和conda-forge的最新版本是2月的。这就是为什么在通过这些渠道安装时没有 if 的原因。
一些建议:
- 您可以简单地在
site-packages
中编辑库的代码
- 从 github 来源安装,通过克隆存储库并执行
python setup.py install
或通过 python -m pip install git+https://github.com/burnash/gspread
- 在 github 存储库上创建一个问题,并要求更新 conda-forge/pypi 上的版本以包含此功能。
我正在尝试使用 gspread 包中的 get_worksheet_by_id 函数。
我可以看到该功能在 https://github.com/burnash/gspread/blob/master/gspread/models.py
中可用它也在文档中列出。
但我在 pip 和 conda 存储库中找不到它。结果我无法使用它。 https://pypi.org/project/gspread/#files https://anaconda.org/conda-forge/gspread/files
不知道在哪里举报。
你看blame就知道了,这个功能是this commit才添加的,是2021年3月的。pypi和conda-forge的最新版本是2月的。这就是为什么在通过这些渠道安装时没有 if 的原因。
一些建议:
- 您可以简单地在
site-packages
中编辑库的代码
- 从 github 来源安装,通过克隆存储库并执行
python setup.py install
或通过python -m pip install git+https://github.com/burnash/gspread
- 在 github 存储库上创建一个问题,并要求更新 conda-forge/pypi 上的版本以包含此功能。