aboutcode-org / aboutcode-org/deltacode

Configure failed with "file setup.py not found"

未关闭
#163 11 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
22
派生
27
PR 合并指标
30 天内没有已合并 PR

描述

After downloading deltacode and running ./deltacode --help to configure, I get the following error message:

`ERROR: File "setup.py" not found. Directory cannot be installed in editable mode: /local/worker/testruns/1d3c4735-714d-4292-909b-69854d0698ab/src/LicenseChecker
./deltacode/deltacode: line 114: /local/worker/testruns/1d3c4735-714d-4292-909b-69854d0698ab/src/LicenseChecker/deltacode/bin/deltacode: No such file or directory
/local/worker/testruns/1d3c4735-714d-4292-909b-69854d0698ab/src/LicenseChecker/bin/process_delta.rb:59:in `read': No such file or directory @ rb_sysopen - /local/worker/testruns/1d3c4735-714d-4292-909b-69854d0698ab/src/LicenseChecker/output.json (Errno::ENOENT)
from /local/worker/testruns/1d3c4735-714d-4292-909b-69854d0698ab/src/LicenseChecker/bin/process_delta.rb:59:in `'`

I am fairly certain that the "setup.py not found" error is coming from `pip install -e .[testing]` in the configure script: https://github.com/nexB/deltacode/blob/develop/configure#L38, but I'm not sure how to fix it.

I am running this on linux and have both python3.7 and python2.7 installed at the level of the root directory.

I realize this is likely not an issue specifically with deltacode; however, I haven't found success finding resources to help elsewhere, so I'd appreciate any help you can provide!

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。