Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using pip to install browsermob-proxy encounter exceptions #85

Open
tengliu0929 opened this issue Jul 30, 2018 · 0 comments
Open

using pip to install browsermob-proxy encounter exceptions #85

tengliu0929 opened this issue Jul 30, 2018 · 0 comments

Comments

@tengliu0929
Copy link

The python's version is 2.7. I wanted to install browsermob-proxy by the utility of pip,but there were exceptions when ''pip2.7 install browsermobproxy" executed. I don't where goes wrong?The whole process is below

root@nokia:~# pip2.7 install browsermobproxy
Collecting browsermobproxy
Using cached https://files.pythonhosted.org/packages/d1/35/5dd6dabf153874debbe13d7d10ce5a72e738ce45170c8fced55761a4480c/browsermobproxy-0.1.1.tar.gz
Building wheels for collected packages: browsermobproxy
Running setup.py bdist_wheel for browsermobproxy ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-install-hUREti/browsermobproxy/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/pip-wheel-2GVyy7 --python-tag cp27:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/browsermobproxy
copying browsermobproxy/init.py -> build/lib.linux-x86_64-2.7/browsermobproxy
copying browsermobproxy/cli.py -> build/lib.linux-x86_64-2.7/browsermobproxy
installing to build/bdist.linux-x86_64/wheel
running install
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-hUREti/browsermobproxy/setup.py", line 47, in
'browsermobproxy = browsermobproxy.cli:cli',
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/dist-packages/wheel/bdist_wheel.py", line 215, in run
self.run_command('install')
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/tmp/pip-install-hUREti/browsermobproxy/setup.py", line 20, in run
raise Exception("You probably meant to install and run browsermob-proxy")
Exception: You probably meant to install and run browsermob-proxy


Failed building wheel for browsermobproxy
Running setup.py clean for browsermobproxy
Failed to build browsermobproxy
Installing collected packages: browsermobproxy
Running setup.py install for browsermobproxy ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-install-hUREti/browsermobproxy/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-_UMtZY/install-record.txt --single-version-externally-managed --compile:
running install
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-hUREti/browsermobproxy/setup.py", line 47, in
'browsermobproxy = browsermobproxy.cli:cli',
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/tmp/pip-install-hUREti/browsermobproxy/setup.py", line 20, in run
raise Exception("You probably meant to install and run browsermob-proxy")
Exception: You probably meant to install and run browsermob-proxy

----------------------------------------

Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-install-hUREti/browsermobproxy/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-_UMtZY/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-hUREti/browsermobproxy/
You are using pip version 10.0.1, however version 18.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

So the upper information is that I've encountered,do anyone have suggestions on this, thank you !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant