From: Yngve I. L. <yng...@es...> - 2015-09-30 08:15:58
|
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(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" 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 |