Differences between revisions 18 and 20 (spanning 2 versions)
Revision 18 as of 2021-08-26 13:24:17
Size: 1060
Editor: AndrewHoopes
Comment:
Revision 20 as of 2023-07-14 12:12:52
Size: 965
Editor: AvnishKumar
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
To facilitate straightforward and reproducible python development in the lab, a local conda distribution for internal developers is installed at `/autofs/cluster/freesurfer/python/linux`. To use this version, make sure all calls to `python` or `python3` point to this install by adding the following to your `PATH`: If you're a frequent python developer who uses multiple package versions or environments, please install your own local [[https://docs.conda.io/en/latest/miniconda.html|mini-conda distribution]]. It will give you full access and control of the installed packages.

To facilitate quick access to python utilities in the lab, a local conda distribution for internal developers is installed at `/autofs/cluster/freesurfer/python/linux`. To use this version, make sure all calls to `python` or `python3` point to this install by adding the following to your `PATH`:
Line 9: Line 11:
Keep in mind there's also a `python3` link in `/usr/pubsw/bin`, so it's important that `/autofs/cluster/freesurfer/python/linux/bin` comes before that in your `PATH`. If you want a python package installed into this distribution, email Andrew.

'''NOTE:''' This "lab" conda install is meant for quick access to python utilities. If you're a frequent python developer who uses multiple package versions or environments, please install your own local
[[https://docs.conda.io/projects/conda/en/latest/user-guide/install/linux.html|conda distribution]]. It will give you full access and control of the installed packages.
Keep in mind there's also a `python3` link in `/usr/pubsw/bin`, so it's important that `/autofs/cluster/freesurfer/python/linux/bin` comes before that in your `PATH`. If you want a python package installed into this distribution, email [[avnish.kumar@mgh.harvard.edu|Avnish]].

FreeSurfer and LCN Python Development

If you're a frequent python developer who uses multiple package versions or environments, please install your own local mini-conda distribution. It will give you full access and control of the installed packages.

To facilitate quick access to python utilities in the lab, a local conda distribution for internal developers is installed at /autofs/cluster/freesurfer/python/linux. To use this version, make sure all calls to python or python3 point to this install by adding the following to your PATH:

export PATH=/autofs/cluster/freesurfer/python/linux/bin:$PATH

Keep in mind there's also a python3 link in /usr/pubsw/bin, so it's important that /autofs/cluster/freesurfer/python/linux/bin comes before that in your PATH. If you want a python package installed into this distribution, email Avnish.

Python (last edited 2023-07-14 12:14:32 by AvnishKumar)