<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to get Maya installed location in python in Maya Forum</title>
    <link>https://forums.autodesk.com/t5/maya-forum/how-to-get-maya-installed-location-in-python/m-p/10912586#M8544</link>
    <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;In windows, I use&amp;nbsp; "&lt;/SPAN&gt;&lt;SPAN&gt;os&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;environ"， but there is no maya location. Dose anyone konws?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 28 Jan 2022 06:43:39 GMT</pubDate>
    <dc:creator>ljc091111</dc:creator>
    <dc:date>2022-01-28T06:43:39Z</dc:date>
    <item>
      <title>How to get Maya installed location in python</title>
      <link>https://forums.autodesk.com/t5/maya-forum/how-to-get-maya-installed-location-in-python/m-p/10912586#M8544</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;In windows, I use&amp;nbsp; "&lt;/SPAN&gt;&lt;SPAN&gt;os&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;environ"， but there is no maya location. Dose anyone konws?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 28 Jan 2022 06:43:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/how-to-get-maya-installed-location-in-python/m-p/10912586#M8544</guid>
      <dc:creator>ljc091111</dc:creator>
      <dc:date>2022-01-28T06:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Maya installed location in python</title>
      <link>https://forums.autodesk.com/t5/maya-forum/how-to-get-maya-installed-location-in-python/m-p/10912986#M8545</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you saying this doesn't work?&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;mayaLocation = os.environ['MAYA_LOCATION']&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 10:40:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/how-to-get-maya-installed-location-in-python/m-p/10912986#M8545</guid>
      <dc:creator>brentmc</dc:creator>
      <dc:date>2022-01-28T10:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Maya installed location in python</title>
      <link>https://forums.autodesk.com/t5/maya-forum/how-to-get-maya-installed-location-in-python/m-p/10913470#M8546</link>
      <description>&lt;P&gt;Where are you running this Python? In Maya? Because MAYA_LOCATION is set by Maya when Maya starts up.&lt;BR /&gt;If you try to get MAYA_LOCATION from outside the Maya process, you won't get anything.&lt;/P&gt;
&lt;P&gt;In that case, check&amp;nbsp;HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\Maya\2022\Setup\InstallPath&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 14:18:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/how-to-get-maya-installed-location-in-python/m-p/10913470#M8546</guid>
      <dc:creator>Stephen.Blair</dc:creator>
      <dc:date>2022-01-28T14:18:53Z</dc:date>
    </item>
  </channel>
</rss>

