Use sys.base_prefix instead of sys.prefix, more stable.