<?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: Compile Python Scripts to Executables in Archicad Python API</title>
    <link>https://community.graphisoft.com/t5/Archicad-Python-API/Compile-Python-Scripts-to-Executables/m-p/351949#M231</link>
    <description>&lt;P&gt;I tried it with auto-py-to-exe and was also kept getting an AssertionError after&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;conn = ACConnection.connect().&amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I suspect the compiler&amp;nbsp;is not including in all the required dependencies&amp;nbsp;of the Archicad pip package into the exe.&amp;nbsp; I'll have a dig through the source to see what might be going on.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Aug 2022 10:34:57 GMT</pubDate>
    <dc:creator>scottjm</dc:creator>
    <dc:date>2022-08-03T10:34:57Z</dc:date>
    <item>
      <title>Compile Python Scripts to Executables</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Compile-Python-Scripts-to-Executables/m-p/351594#M230</link>
      <description>&lt;P&gt;Dear Graphisoft Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was wondering if it is possible to compile python scripts into .exe files and get it to work.&lt;/P&gt;&lt;P&gt;I tried different "compilers" for python like 'pyinstaller' or 'nuitka', but the compiled scripts don't work (it seems like they can't gest past the "&lt;SPAN&gt;conn&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;ACConnection&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;connect&lt;/SPAN&gt;&lt;SPAN&gt;()" line).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there a way to circumvent this or are executable scripts bound to fail?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Dear Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Dayiz&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 09:14:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Compile-Python-Scripts-to-Executables/m-p/351594#M230</guid>
      <dc:creator>Dayiz</dc:creator>
      <dc:date>2022-08-01T09:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: Compile Python Scripts to Executables</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Compile-Python-Scripts-to-Executables/m-p/351949#M231</link>
      <description>&lt;P&gt;I tried it with auto-py-to-exe and was also kept getting an AssertionError after&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;conn = ACConnection.connect().&amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I suspect the compiler&amp;nbsp;is not including in all the required dependencies&amp;nbsp;of the Archicad pip package into the exe.&amp;nbsp; I'll have a dig through the source to see what might be going on.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 10:34:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Compile-Python-Scripts-to-Executables/m-p/351949#M231</guid>
      <dc:creator>scottjm</dc:creator>
      <dc:date>2022-08-03T10:34:57Z</dc:date>
    </item>
  </channel>
</rss>

