"ImportError: No module named ..." $PYTHONPATH problem with ansible?
I'm trying to get a piece of research software from github up and running on a lab computer for my professor. Flydra is a multi-camera tracking system used to detect multiple airborne insects or small animals. The required OS for Flydra is Ubuntu 16.04, which I haven't frequently used before but am semi-competent with. For instance, I was able to fix the low resolution problem by manually installing the Nvidia driver, and another failed-login issue upon startup from the grub menu. Flydra is installed using the ansible tool, something that I am completely unfamiliar with how it works. Below is the entire setup process I've gone through for Flydra, as I am not sure what step or how the issue is caused with the $PYTHONPATH.
----------------------------------------------------------------------------------
- The following commands use ansible to download the code from github, and gives the following output.
- 'sudo apt-get install git ansible'
- 'cd ~/'
- 'git clone https://github.com/strawlab/strawlab-...
- 'cd strawlab-ansible-roles/'
- 'sudo ansible-playbook -i "localhost," -c local playbook.yml'
*Note in order for the ansible package to install correctly and avoid a localhost not found error, I had to reenable the security update settings in System Settings -> Software & Updates -> Updates -> Install updates from -> Important security updates, Recommended updates, Unsupported updates.
PLAY *************************
TASK [setup] ********************* ok: [localhost]
TASK [ros-kinetic : get ROS apt signing key] *********** ok: [localhost]
TASK [ros-kinetic : use ROS Ubuntu repository] *********** ok: [localhost]
TASK [ros-kinetic : use ROS Ubuntu source repository] ******** ok: [localhost]
TASK [ros-kinetic : install ROS kinetic packages] ********** ok: [localhost]
TASK [strawlab-public-debs : get strawlab apt signing key] ******* ok: [localhost]
TASK [strawlab-public-debs : get strawlab public apt repo] ******* ok: [localhost]
TASK [ros-kinetic-freemovr-engine : Ensure rosdep sources dir exists] ** ok: [localhost]
TASK [ros-kinetic-freemovr-engine : Ensure strawlab rosdep URL is included into rosdep sources] * ok: [localhost]
TASK [ros-kinetic-freemovr-engine : Ensure freemovr-engine-kinetic.rosinstall is available] * ok: [localhost]
TASK [ros-kinetic-freemovr-engine : install sudo command] ****** ok: [localhost]
TASK [ros-kinetic-freemovr-engine : install wstool command] ****** ok: [localhost]
TASK [ros-kinetic-freemovr-engine : Ensure workspace installer dir exists] * ok: [localhost]
TASK [ros-kinetic-freemovr-engine : copy installer script] ******* ok: [localhost]
TASK [ros-kinetic-freemovr-engine : apt] ************* ok: [localhost]
TASK [ros-kinetic-freemovr-engine : apt] ************* ok: [localhost]
TASK [ros-kinetic-freemovr-engine : apt] ************* ok: [localhost]
TASK [ros-kinetic-freemovr-engine : apt] ************* ok: [localhost]
TASK [ros-kinetic-freemovr-engine : apt] ************* ok: [localhost]
TASK [ros-kinetic-freemovr-engine : apt] ************* ok: [localhost]
TASK [ros-kinetic-freemovr-engine : apt] ************* ok: [localhost]
TASK [ros-kinetic-flydra : install flydra package] ********* ok: [localhost]
TASK [ros-kinetic-flydra : Ensure rosdep sources dir exists] ***** ok: [localhost]
TASK [ros-kinetic-flydra : Ensure strawlab rosdep URL is included into rosdep sources] * ok: [localhost]
TASK [ros-kinetic-flydra : Ensure flydra-kinetic.rosinstall is available] ** ok: [localhost]
TASK [ros-kinetic-flydra : install sudo command] ********* ok: [localhost]
TASK [ros-kinetic-flydra : install wstool command] ********* ok: [localhost]
TASK [ros-kinetic-flydra : install rosinstall command] ******* ok: [localhost]
TASK [ros-kinetic-flydra : Ensure workspace installer dir exists] **** ok: [localhost]
TASK [ros-kinetic-flydra : copy installer script] ********** ok: [localhost]
TASK [ros-kinetic-flydra : apt] **************** ok: [localhost]
TASK [ros-kinetic-flydra : apt] **************** ok: [localhost]
TASK [ros-kinetic-flydra : apt] **************** ok: [localhost]
TASK [ros-kinetic-flydra : apt] **************** ok: [localhost]
TASK [ros-kinetic-flydra : apt] **************** ok: [localhost]
TASK [ros-kinetic-flydra : apt] **************** ok: [localhost]
TASK [ros-kinetic-flydra : apt] **************** ok: [localhost]
TASK [ros-kinetic-flydra : apt] **************** ok: [localhost]
TASK [ros-kinetic-flydra : apt] **************** ok: [localhost]
TASK [ros-kinetic-freemovr : put "vr" function into bashrc] ****** ok: [localhost]
TASK [ros-kinetic-freemovr : Ensure freemovr-kinetic.rosinstall is available] ** ok: [localhost ...