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.

requests missing from requirements

See original GitHub issue

It appears pydap uses the requests pacakge, but it’s not listed in the setup.py:

install_requires = [
    'numpy',
    'Webob',
    'Jinja2',
    'docopt',
    'six >= 1.4.0',
    'beautifulsoup4'
]

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
tomkralidiscommented, Sep 21, 2017

IMHO better not to. From a server perspective requests is not required right? As a server deployment it would mean less moving parts. Thoughts?

Sent from my iPhone

On Sep 21, 2017, at 16:05, Frédéric Laliberté notifications@github.com wrote:

I can confirm that requests should be required for the client. This was overlooked when #99 was merged. The requests package is required to ensure that redirects are followed through. Should we simply require it for pydap at large?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

0reactions
tomkralidiscommented, Sep 21, 2017

@laliberte @wholmgren @ChrisBarker-NOAA thanks for the info. I like the idea of splitting between pydap-client and pydap-server but that’s a longer term move that needs more discussion.

Having said this, sounds like the path forward is to include requests as part of Pydap proper. I’ll issue a PR shortly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

requirements.txt is missing requests · Issue #50 - GitHub
(env) local$ python server.py Traceback (most recent call last): File "server.py", line 15, in <module> from authlib.flask.client import ...
Read more >
python - ImportError: No module named requests
Before import requests , you should import sys and then append the copied path. Example: Command Prompt: pip install requests. Output:
Read more >
How to PIP Install Requests Python Package - ActiveState
Pip Install Requests as a Dependency. Pip will allow you to declare a specific Requests version as a dependency in a requirements.txt file, ......
Read more >
ModuleNotFoundError: No module named 'requests' in Python
The Python "ModuleNotFoundError: No module named 'requests'" occurs when we forget to install the requests module before importing it or install it in...
Read more >
Required packages missing when testing a Python project ...
Problem. When testing a Python project with the Snyk CLI, you sometimes get the following error: Please run `pip install -r requirements.txt`.
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