Skip to content

Advice on running pylinac with Anaconda

robmarkcole edited this page Apr 16, 2015 · 1 revision

I have installed the Anaconda package with python 2.7, however pylinac requires python 3.3 or above. However you can create a 'virtual environment' and use python 3.4 without having to install any additional software. This page describes the process

http://conda.pydata.org/docs/intro.html#creating-python-3-4-or-python-2-6-environments

The key steps are, in the command line

  1. Create the python 3.4 environment $ conda create -n py34 python=3.4 anaconda
  2. 'Launch' the environment $ activate py34
  3. Install pylinac in this envirnoment $ pip install pylinac
  4. Check install $ conda list

You are now ready to use pylinac. Launch spyder, ipython etc from the terminal

Clone this wiki locally