If the PYTHONPATH environment variable is set then this can over-ride the module search paths used by virtualenv. This can cause all kinds of nasty and hard-to-understand run-time problems when python grabs the wrong version of e.g. pysam.
To avoid this, CoverView should be run through a thing wrapper script which removes the PYTHONPATH variable in the sub-shell that runs CoverView. The wrapper script should be placed in env/bin/coverview.
If the PYTHONPATH environment variable is set then this can over-ride the module search paths used by virtualenv. This can cause all kinds of nasty and hard-to-understand run-time problems when python grabs the wrong version of e.g. pysam.
To avoid this, CoverView should be run through a thing wrapper script which removes the PYTHONPATH variable in the sub-shell that runs CoverView. The wrapper script should be placed in env/bin/coverview.