docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PythonInstallException

    Exception thrown when Python is installed incorrectly so we can't run.

    Inheritance
    object
    Exception
    PythonInstallException
    Implements
    _Exception
    ISerializable
    Inherited Members
    Exception.GetBaseException()
    Exception.GetObjectData(SerializationInfo, StreamingContext)
    Exception.GetType()
    Exception.ToString()
    Exception.Data
    Exception.HelpLink
    Exception.HResult
    Exception.InnerException
    Exception.Source
    Exception.StackTrace
    Exception.TargetSite
    Exception.SerializeObjectState
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: UnityEditor.Scripting.Python
    Assembly: Unity.Scripting.Python.Editor.dll
    Syntax
    public class PythonInstallException : Exception, _Exception, ISerializable

    Constructors

    PythonInstallException()

    Parameterless constructor

    Declaration
    public PythonInstallException()

    PythonInstallException(SerializationInfo, StreamingContext)

    Required because base Exception class is serializable.

    Declaration
    protected PythonInstallException(SerializationInfo info, StreamingContext ctx)
    Parameters
    Type Name Description
    SerializationInfo info

    Serializaiton info

    StreamingContext ctx

    Serialization context

    PythonInstallException(string)

    Constructor with message

    Declaration
    public PythonInstallException(string msg)
    Parameters
    Type Name Description
    string msg

    The message of the exception

    PythonInstallException(string, Exception)

    Constructor with message and the exception that triggered this exception

    Declaration
    public PythonInstallException(string msg, Exception innerException)
    Parameters
    Type Name Description
    string msg

    The message of the exception

    Exception innerException

    The exception that triggered this exception

    Properties

    Message

    The exception's string

    Declaration
    public override string Message { get; }
    Property Value
    Type Description
    string
    Overrides
    Exception.Message

    Implements

    _Exception
    ISerializable
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)