From: Carlos P. <cpa...@ce...> - 2015-10-01 07:54:59
|
Hi, Wow! thanks a lot for the hint. This has been a known bug since 2 years ago ( https://sourceforge.net/p/tauruslib/tickets/194/ ) and we thought the only way to fix it was to move from distutils to setuptools (that's why it wasn't yet fixed). I just tested with "pip install taurus --egg" and it worked perfectly for me. Thanks! Carlos On Wed 30 September 2015 10:15:46 Yngve Inntjore Levinsen wrote: > Hi all, > > I wanted to install taurus for testing on my machine (CentOS 7). I > noticed in your install instructions that you recommend to download > the tarball from pip, so then I thought, 'why not just use pip > instead?' > That does not seem to work initially though: > > $ pip install taurus > > Collecting taurus > > > > Using cached taurus-3.6.0.tar.gz > > > > Installing collected packages: taurus > > > > Running setup.py install for taurus > > > > Complete output from command /usr/bin/python -c "import > > setuptools, > > tokenize;__file__='/tmp/pip-build-zLtyIO/taurus/setup.py';exec( > > compile(getattr(tokenize, 'open', > > open)(__file__).read().replace('\r\n', '\n'), __file__, > > 'exec'))" install --record > > /tmp/pip-4hH39k-record/install-record.txt > > --single-version-externally-managed --compile: usage: -c > > [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]> > > or: -c --help [cmd1 cmd2 ...] > > or: -c --help-commands > > or: -c cmd --help > > > > error: option --single-version-externally-managed not recognized > > > > ---------------------------------------- > > > > Command "/usr/bin/python -c "import setuptools, > > tokenize;__file__='/tmp/pip-build-zLtyIO/taurus/setup.py';exec(comp > > ile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', > > '\n'), __file__, 'exec'))" install --record > > /tmp/pip-4hH39k-record/install-record.txt > > --single-version-externally-managed --compile" failed with error > > code 1 in /tmp/pip-build-zLtyIO/taurus > I am not sure where 'single-version-externally-managed' option comes from, probably someone more clever than me can explain. In any case, after a bit of searching online I found a recommendation to add the '-- egg' option to pip. That worked very well: > > $ pip install taurus --egg --user > > Collecting taurus > > > > Using cached taurus-3.6.0.tar.gz > > > > Installing collected packages: taurus > > > > Running setup.py install for taurus > > > > Successfully installed taurus-3.6.0 > > (I added the --user as well to only install for my user account > without sudo) > > > Same is true for PyTango by the way. I would consider to maybe add > this as (an alternative) installation instruction in the > documentation. > > Cheers, > Yngve > > ---------------------------------------------------------------------- > -------- _______________________________________________ > Tauruslib-users mailing list > Tau...@li... > https://lists.sourceforge.net/lists/listinfo/tauruslib-users -- +----------------------------------------------------+ Carlos Pascual Izarra Scientific Software Coordinator Computing Division ALBA Synchrotron [http://www.albasynchrotron.es] Carretera BP 1413 de Cerdanyola-Sant Cugat, Km. 3.3 E-08290 Cerdanyola del Valles (Barcelona), Spain E-mail: cpa...@ce... Phone: +34 93 592 4428 +----------------------------------------------------+ |