Skip to content

ImportError: No module named libmproxy.protocol.http #7

@saurabh1gupta

Description

@saurabh1gupta

After installation of mockpy using "pip install mockpy" when I'm trying to run: "mockpy init", it's giving me the error as:

Traceback (most recent call last):
File "/mock-srv-mockpy/bin/mockpy", line 7, in
from mockpy.mockpy import start
File "/mock-srv-mockpy/lib/python2.7/site-packages/mockpy/mockpy.py", line 5, in
from core.cherrypy_server import start_mock_server
File "/mock-srv-mockpy/lib/python2.7/site-packages/mockpy/core/cherrypy_server.py", line 5, in
from cherrypy_mapper import *
File "/mock-srv-mockpy/lib/python2.7/site-packages/mockpy/core/cherrypy_mapper.py", line 4, in
from mockpy.status.status import check_status_cherry_py
File "/mock-srv-mockpy/lib/python2.7/site-packages/mockpy/status/status.py", line 4, in
from libmproxy.protocol.http import HTTPResponse
ImportError: No module named libmproxy.protocol.http

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions