Skip to content Skip to sidebar Skip to footer

What Should Be The Path Of Browsermob-proxy When Installed As Pypi Package

$pip install browsermob-proxy Downloaded and extracted the binary from https://bmp.lightbody.net to /Users/ishandutta2007/Downloads/browsermob-proxy-2.1.4/ from browsermobproxy imp

Solution 1:

Try to add the actual directory to the PATH

echo'export PATH=$PATH:/Users/ishandutta2007/Downloads/browsermob-proxy-2.1.4/bin' >> ~/.bashrc

This way you don't have to specify the path arg on the Server instance manually

from browsermobproxy import Server
dict = {'port': 8090}
server = Server(options=dict)

Post a Comment for "What Should Be The Path Of Browsermob-proxy When Installed As Pypi Package"