Document MITSUBA_PYVER
parent
84685dfc8d
commit
23eb714038
|
@ -11,11 +11,18 @@ Menu}$\to$\emph{Command-line access}'' menu item from within Mitsuba.
|
||||||
If you compiled Mitsuba yourself, then an alternative way of setting the appropriate
|
If you compiled Mitsuba yourself, then an alternative way of setting the appropriate
|
||||||
environment variables without making changes to the system is by sourcing the
|
environment variables without making changes to the system is by sourcing the
|
||||||
\code{setpath.sh} script located in the main Mitsuba directory.
|
\code{setpath.sh} script located in the main Mitsuba directory.
|
||||||
|
It is possible to specify the desired Python plugin version using the \texttt{MITSUBA\_PYVER}
|
||||||
|
environment variable, e.g.
|
||||||
|
\begin{python}
|
||||||
|
export MITSUBA_PYVER=3.3
|
||||||
|
source $\langle$Mitsuba directory$\rangle$/setpath.sh
|
||||||
|
\end{python}
|
||||||
|
|
||||||
\paragraph{Linux:}
|
\paragraph{Linux:}
|
||||||
If you installed one of the official Mitsuba packages for your distribution, then everything should work out of the box.
|
If you installed one of the official Mitsuba packages for your distribution, then everything should work out of the box.
|
||||||
If you compiled Mitsuba yourself, you will need to source the
|
If you compiled Mitsuba yourself, you will need to source the
|
||||||
\code{setpath.sh} script located in the main Mitsuba directory before starting Python.
|
\code{setpath.sh} script located in the main Mitsuba directory before starting Python.
|
||||||
|
See the Mac OS example above with regards to requesting a specific version of the Python plugin.
|
||||||
|
|
||||||
\paragraph{Windows}
|
\paragraph{Windows}
|
||||||
On Windows it is necessary to explicitly specify the required extension search path within Python
|
On Windows it is necessary to explicitly specify the required extension search path within Python
|
||||||
|
|
Loading…
Reference in New Issue