【发布时间】:2021-06-11 18:00:58
【问题描述】:
我必须测试我的 kedro 项目是否可以在 github 上运行,所以我创建了一个新环境,然后:
git clone <my_project>
pip install kedro kedro[pandas] kedro-viz jupyter
kedro build-reqs
kedro install
然后安装失败,然后我重试几次(有时是 2 或 3 次)然后下一次尝试它成功
编辑: python -V:Python 3.7.10 kedro --version : kedro,版本 0.17.3
我无法发布我的requirements.txt(帖子主要是代码)所以这是我的requirements.in
black==v19.10b0
flake8>=3.7.9, <4.0
ipython==7.10
isort>=4.3.21, <5.0
jupyter~=1.0
jupyter_client>=5.1, <7.0
jupyterlab==0.31.1
kedro==0.17.3
nbstripout==0.3.3
pytest-cov~=2.5
pytest-mock>=1.7.1, <2.0
pytest~=6.1.2
wheel==0.32.2
spacy>=3.0.0,<4.0.0
scikit-learn == 0.24.2
kedro-viz==3.11.0
wordcloud== 1.8.1
https://github.com/explosion/spacy-models/releases/download/fr_core_news_sm-3.0.0/fr_core_news_sm-3.0.0.tar.gz#egg=fr_core_news_sm
【问题讨论】:
-
我无法使用 Kedro 的 spaceflights starter 重现该问题。您能否添加您的 Python 版本、Kedro 版本以及项目的链接(或至少是其
requirements.txt)? -
基于错误回溯,看起来有两个问题:(1)
kedro install出错,(2) 实际错误被this line 上的解码错误所掩盖。pip install -r requirements.txt是否适用于您的项目? -
好像'pip install -r requirements.txt' 成功了,你能解释一下为什么我不明白.. 我坚持kedro install 使用了pip install。