From: Vincent H. <vin...@ma...> - 2015-09-30 10:02:52
|
Hi Yngve, Not a direct answer to your question but it can help. We have just set up our RPM repositories open for Internet. This includes all the packages for taurus, pytango, … for CentOS 7. http://pubrepo.maxiv.lu.se/rpm/el7/ This set up is still in testing mode but any feed back will be welcome. Cheers, Vincent On 30 Sep 2015, at 10:15, Yngve Inntjore Levinsen <yng...@es...<mailto:yng...@es...>> 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(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 ------------------------------------------------------------------------------ _______________________________________________ Tauruslib-users mailing list Tau...@li...<mailto:Tau...@li...> https://lists.sourceforge.net/lists/listinfo/tauruslib-users |