Replaced pkg_resources with use of sys.prefix because conda doesn't like pkg_resources