[ITK] [ITK-users] SimpleITK, Python, Local User, Anaconda -- how to install without messing up shared libraries?
Robert.Atwood at diamond.ac.uk
Robert.Atwood at diamond.ac.uk
Tue Feb 2 06:58:30 EST 2016
Hi, ITK people!
I don't maintain the Python installation at work so I know little about all the intricacies of python modules and distributions and path searching and so on.
What I do know is that if I follow the instructions for including SimpleITK as on the web page for Anacoda installation, everyone gets very angry.
That is because it automatically resolves some dependencies in a way that breaks other people's applications, and it does this within the shared Python Anaconda installation on the cluster shared file system.
It was suggested (strongly) that I "use the --user option of pip" . However I cannot get this to do anything by following the pip instruction on the SimpleITK web site, I know nothing of eggs and wheels nor pipit nor "more complicated commands. "
Does anyone know the magic incantation to do what I want? Is there an Anaconda command that does it?
Instructions from website with questions annotated:
Wheels [ Recommended ]
You need a recent version of pip ( >= 6.0, newer is better) to install wheels. Please go to pip homepage for more information about installation.
Once you have pip, the package can be installed:
$ pip install --allow-external SimpleITK --trusted-host www.simpleitk.org SimpleITK --timeout 30 SimpleITK
Note: We do have window wheels hosted on pypi, but due to size and Linux binary restrictions neither OS X nor Linux are hosted on pipit, so the more complicated command is needed(1).
However, you may need to manually download the file(2) from SourceForge. And specify it (3) on the command line if the automatic search does not work.
(1) What is the 'more complicated command' ???
(2) Which file? An egg? Wheel? Huh?
(3) Specify what? How (what is the syntax for specifying 'it' )?
Output of session trying to follow the instructions.
$ pip install --user --allow-external SimpleITK --trusted-host www.simpleitk.org SimpleITK --timeout 30 SimpleITK
Double requirement given: SimpleITK (already in SimpleITK, name='SimpleITK')
You are using pip version 7.1.2, however version 8.0.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
[kny48981 at i12-ws011 6137]$ pip install --user --allow-external SimpleITK --trusted-host www.simpleitk.org --timeout 30 SimpleITK
Collecting SimpleITK
Could not find a version that satisfies the requirement SimpleITK (from versions: )
No matching distribution found for SimpleITK
You are using pip version 7.1.2, however version 8.0.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
[kny48981 at i12-ws011 6137]$ pip install --user --allow-external SimpleITK --trusted-host www.simpleitk.org SimpleITK
Collecting SimpleITK
Could not find a version that satisfies the requirement SimpleITK (from versions: )
No matching distribution found for SimpleITK
You are using pip version 7.1.2, however version 8.0.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
[kny48981 at i12-ws011 6137]$ pip install --user --allow-external --trusted-host www.simpleitk.org SimpleITK
Collecting www.simpleitk.org
Could not find a version that satisfies the requirement www.simpleitk.org (from versions: )
No matching distribution found for www.simpleitk.org
You are using pip version 7.1.2, however version 8.0.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
--
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
_____________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php
Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users
More information about the Community
mailing list