I was close to getting Circle to work on a project I am preparing for release (http://mindboggle.info; https://circleci.com/gh/nipy/mindboggle), but there is one snag that I can’t figure out, likely related to the Python environment I’m in or a missing path environment variable.
Whereas I am able to install and run my software on a virtual machine with this script (https://github.com/nipy/mindboggle/blob/master/install/install_mindboggle.sh) , Circle gives me the following error when I use a simplified circle.yml script (https://github.com/nipy/mindboggle/blob/master/install/install_mindboggle.sh).
machine:
environment:
PATH: /home/ubuntu/miniconda3/bin:$PATH
dependencies:
pre:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p /home/ubuntu/miniconda3
- conda config --set always_yes yes
- conda create -n my_env -c clinicalgraphics python vtk
- source activate my_env
test:
pre:
- python -c “import vtk”
Traceback (most recent call last):
File “”, line 1, in