Opened 3 years ago

Last modified 2 years ago

#62740 assigned defect

http-prompt: Missing httpie dependency

Reported by: jenstroeger (Jens Troeger) Owned by: lbschenkel (Leonardo Brondani Schenkel)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc:
Port: http-prompt

Description

I installed http-prompt and when I wanted to run it I get

  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/http_prompt/cli.py", line 14, in <module>
    from httpie.plugins import FormatterPlugin  # noqa, avoid cyclic import
ModuleNotFoundError: No module named 'httpie'

Looks like it didn’t execute the requirements.txt correctly? I don’t see httpie listed in the Portfile either.

Change History (2)

comment:1 Changed 3 years ago by jmroot (Joshua Root)

Cc: lbschenkel removed
Milestone: MacPorts 2.7.0
Owner: set to lbschenkel
Status: newassigned
Summary: Missing importhttp-prompt: Missing httpie dependency

comment:2 in reply to:  description Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to jenstroeger:

Looks like it didn’t execute the requirements.txt correctly?

Ports don't execute requirements.txt.

I don’t see httpie listed in the Portfile either.

It's right there at the end of depends_lib and has been ever since the port was added.

Note: See TracTickets for help on using tickets.