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

Distributed JMeter installation problem #4

Open
djdubois opened this issue May 25, 2016 · 1 comment
Open

Distributed JMeter installation problem #4

djdubois opened this issue May 25, 2016 · 1 comment

Comments

@djdubois
Copy link

Hello

I am trying to build the distributed JMeter on Ubuntu 14.04 and Python 2.7.

When typing "python setup.py install" the installation fails because it does not have permission to write in "/usr/local/lib/python2.7/dist-packages/".

If I use "sudo python setup.py install" the installation does a lot of work, and then eventually it fails again with:

"error: Setup script exited with error in setup command:
'install_requires' must be a string or list of strings containing
valid project/version requirement specifiers"

I know that this error is triggered when there is an incompatible
python module installed, but I have checked using "pip list" that my
installed versions comply with what is required by the
"install_requires" variable in setup.py: (boto 2.36.0,
python-novaclient 2.21.0, paramiko 1.15.2, and pandas 0.15.2).

I have tried doing the setup again (without sudo) on a fresh system and activating a python 2.7 virtualenv. The installation proceeds and then fails in this way:

Installed /home/ubuntu/pythonenv/lib/python2.7/site-packages/cloudscale_distributed_jmeter-0.1.0-py2.7.egg
Processing dependencies for cloudscale-distributed-jmeter==0.1.0
Searching for pbr>=0.6,!=0.7,<1.0
Reading https://pypi.python.org/simple/pbr/
Best match: pbr 0.11.1
Downloading https://pypi.python.org/packages/8d/35/9c224b1f62566ec810851b0ff32eaf6ee6ce9acf82ff972e61d66abe9a4f/pbr-0.11.1.tar.gz#md5=dc476e5ffe4e15dfecbdf5586fadc8db
Processing pbr-0.11.1.tar.gz
Writing /tmp/easy_install-XPxk_c/pbr-0.11.1/setup.cfg
Running pbr-0.11.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-XPxk_c/pbr-0.11.1/egg-dist-tmp-F9bPat
Adding pbr 0.11.1 to easy-install.pth file
Installing pbr script to /home/ubuntu/pythonenv/bin

Installed /home/ubuntu/pythonenv/lib/python2.7/site-packages/pbr-0.11.1-py2.7.egg
error: Installed distribution pbr 0.11.1 conflicts with requirement pbr>=1.6

It looks like some required package wants pbr>=1.6 while jmeter wants <1.0.

Do you have any hint that can help me to solve the problem?

Thanks,
djdubois

@Ivansek
Copy link
Member

Ivansek commented May 31, 2016

Can you please try installing using requirements.txt file?

$ pip install -r requirements.txt

It seems like something is not working with setup.py

Please also take a look at updated README.md file.

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

2 participants