<?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 Re: Can't import external python code in Maya in Maya Programming Forum</title>
    <link>https://forums.autodesk.com/t5/maya-programming-forum/can-t-import-external-python-code-in-maya/m-p/7492728#M11023</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't have this library so I can't test it myself. I guess you should put dll in a path Maya could load. maya\bin should be fail safe most of the time. And make sure it is compiled with the same VS compiler as Maya(2015~2017 VS2012, 2018 VS2015).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yours,&lt;/P&gt;
&lt;P&gt;Li&lt;/P&gt;</description>
    <pubDate>Thu, 26 Oct 2017 08:50:53 GMT</pubDate>
    <dc:creator>cheng_xi_li</dc:creator>
    <dc:date>2017-10-26T08:50:53Z</dc:date>
    <item>
      <title>Can't import external python code in Maya</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/can-t-import-external-python-code-in-maya/m-p/7492577#M11022</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I'm trying to link external python code that contains '&lt;STRONG&gt;dlib&lt;/STRONG&gt;' library to Maya. I've tried the simple import way:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;import sys&lt;BR /&gt;sys.path.append('D:\Python files\RealTimeTrack')&lt;BR /&gt;import landmark&lt;BR /&gt;landmark.shape()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but it doesn't work since Maya doesn't recognize dlib library. What should I do in this case? Please suggest and thank you in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2017 07:41:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/can-t-import-external-python-code-in-maya/m-p/7492577#M11022</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-26T07:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Can't import external python code in Maya</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/can-t-import-external-python-code-in-maya/m-p/7492728#M11023</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't have this library so I can't test it myself. I guess you should put dll in a path Maya could load. maya\bin should be fail safe most of the time. And make sure it is compiled with the same VS compiler as Maya(2015~2017 VS2012, 2018 VS2015).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yours,&lt;/P&gt;
&lt;P&gt;Li&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2017 08:50:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/can-t-import-external-python-code-in-maya/m-p/7492728#M11023</guid>
      <dc:creator>cheng_xi_li</dc:creator>
      <dc:date>2017-10-26T08:50:53Z</dc:date>
    </item>
  </channel>
</rss>

