Am I in the wrong Python environment or missing an environment variable?

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:

test:
pre:

  • python -c “import vtk”

Traceback (most recent call last):
File “”, line 1, in