Pip will not install the WebPageTest API

67 Views Asked by At

I am trying to get started using WebPageTest API for batch analysis of URLs. Unfortunately I've fallen down at the first hurdle - the api does not seem to want to install.

I have updated pip, I have created a fresh virtual env in case something else I have installed is interfering. Unfortunately I can't get rid of the following error:

    Command "python setup.py egg_info" failed with error code 1

I have tried a manual installation at the directory specified by the error, but this does not make any difference.

2

There are 2 best solutions below

1
Ankit Agrawal On

Try installing after updating your setuptools using this command:

pip install --upgrade setuptools

you can refer to this for more details.

0
Vinit On

Try the following.

pip install git+https://github.com/khilnani/webpagetest.py@master

It is registered under the issue tab on GitHub.