question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Missing requirements.txt in the Pypi source code

See original GitHub issue

What steps did you take and what happened: The requirements.txt file is missing in the source code on Pypi so setuptools will not work.

Executing setuptoolsBuildPhase
Traceback (most recent call last):
  File "nix_run_setup", line 8, in <module>
    exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))
  File "setup.py", line 23, in <module>
    with open('requirements.txt') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt'
builder for '/nix/store/z8sh0v4cji9aq9v02865273xvmhcwzgh-python3.8-kfserving-0.3.0.1.drv' failed with exit code 1
cannot build derivation '/nix/store/75ihn4avq52qdpavs0s8c1y0nj0wjfdx-python3-3.8.2-env.drv': 1 dependencies couldn't be built

What did you expect to happen: requirements.txt in the tar.gz archive

Environment:

  • Istio Version:
  • Knative Version:
  • KFServing Version: 0.3.0.1
  • Kubeflow version:
  • Kfdef:[k8s_istio/istio_dex/gcp_basic_auth/gcp_iap/aws/aws_cognito/ibm]
  • Minikube version:
  • Kubernetes version: (use kubectl version):
  • OS (e.g. from /etc/os-release): NixOS 20.03 (Markhor) x86_64

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
issue-label-bot[bot]commented, Jun 6, 2020

Issue-Label Bot is automatically applying the labels:

Label Probability
kind/bug 0.93

Please mark this comment with 👍 or 👎 to give our bot feedback! Links: app homepage, dashboard and code for this bot.

0reactions
jinchihecommented, Jun 9, 2020

OK, got that, thanks. @nphilou

/assign

Read more comments on GitHub >

github_iconTop Results From Across the Web

Missing "requirements.txt" in PyPI package · Issue #10 - GitHub
Describe the bug The PyPI package of NCBImeta is missing the "requirements.txt" file, causing installation to fail. I am using virtualenv.
Read more >
requirements.txt file for my package missing from PyPI install ...
My MANIFEST.in file looks like so: include requirements.txt include <packagename>/VERSION include LICENSE The VERSION file is in the .tar.gz and ...
Read more >
pip-licenses - PyPI
Description. pip-licenses is a CLI tool for checking the software license of installed Python packages with pip. Implemented with the idea ...
Read more >
Use requirements.txt | PyCharm Documentation - JetBrains
From the Tools menu, select Sync Python Requirements. · In the opened dialog, specify the name of the requirements file. · Select the...
Read more >
requirements.txt vs setup.py in Python - Towards Data Science
The requirements.txt is a file listing all the dependencies for a specific Python project. It may also contain dependencies of dependencies, as discussed ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found