VersionConflict with nose on install
Hello,
When i try to install your script, I get this error : pkg_resources.VersionConflict: (nose 1.3.7 (/usr/local/lib/python2.7/dist-packages), Requirement.parse('nose==1.3.1')) Can you change your requirement ?
Hi there - you may want to use a virtualenv so the version of nose installed globally on your system doesn't conflict. We will probably update our nose version at some point, but in the meantime it shouldn't block you from installing.
I'm on Rpi2 with Raspbian
Here the log :
Downloading/unpacking pygatt[gatttool]
Running setup.py egg_info for package pygatt
Traceback (most recent call last):
File "
File "
File "/home/jeedom/build/pygatt/setup.py", line 54, in
include_package_data=True
File "/usr/lib/python2.7/distutils/core.py", line 112, in setup
_setup_distribution = dist = klass(attrs)
File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 221, in init
self.fetch_build_eggs(attrs.pop('setup_requires'))
File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 245, in fetch_build_eggs
parse_requirements(requires), installer=self.fetch_build_egg
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 588, in resolve
raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (nose 1.3.7 (/usr/local/lib/python2.7/dist-packages), Requirement.parse('nose==1.3.1'))
Command python setup.py egg_info failed with error code 1 in /home/jeedom/build/pygatt Storing complete log in /home/jeedom/.pip/pip.log
Thanks for your help...
You may want to try out the next branch of this repository, I remember now we've actually dropped nose from the install dependencies.
Sorry to ask that but how to use the next branch? (noob inside)
No problem, run "git checkout next" to switch branches
On Thu, Aug 27, 2015 at 2:38 PM, cadavor [email protected] wrote:
Sorry to ask that but how to use the next branch? (noob inside)
— Reply to this email directly or view it on GitHub https://github.com/stratosinc/pygatt/issues/23#issuecomment-135517913.
Try this:
pip install "git+https://github.com/stratosinc/pygatt@next"
On Thu, Aug 27, 2015 at 2:49 PM, cadavor [email protected] wrote:
Sorry, but after doing : pip install https://github.com/stratosinc/pygatt I got that : pip install https://github.com/stratosinc/pygatt Downloading/unpacking https://github.com/stratosinc/pygatt Downloading pygatt (unknown size): 55Kb downloaded Cannot unpack file /tmp/pip-ryy7Dt-unpack/pygatt (downloaded from /tmp/pip-x_XHGC-build, content-type: text/html; charset=utf-8); cannot detect archive format Cannot determine archive format of /tmp/pip-x_XHGC-build Storing complete log in /home/jeedom/.pip/pip.log
I think i've got a problem firstly here no?
Thanks for your help
— Reply to this email directly or view it on GitHub https://github.com/stratosinc/pygatt/issues/23#issuecomment-135520350.
Do not take care about my previous message (if you've read it)...
To solve the problem, I've forced installation of nose 1.3.1. (sudo pip install nose==1.3.1) And coverage 3.7.1 and the installation complete...
OK, great!
Thanks for your help.