<div dir="ltr"><div>Hi Brian,<br></div>thank you for the answer. I&#39;ve copied the directory of the auto-generated Python code on the project&#39;s directory which uses it. Anyway the path generated from the omniidl is not supported by the Python3.5 which want absolute path and in fact it return ImportError about the code auto-generated. Maybe I can try to add the directory to the PYTHONPATH too.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-12-10 17:29 GMT+01:00 Brian Neal <span dir="ltr">&lt;<a href="mailto:bgneal@gmail.com" target="_blank">bgneal@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">--------- Forwarded message ----------<br>
&gt; From: Alessandro Pischedda &lt;<a href="mailto:alessandro.pischedda@gmail.com">alessandro.pischedda@gmail.com</a>&gt;<br>
&gt; To: <a href="mailto:omniorb-list@omniorb-support.com">omniorb-list@omniorb-support.com</a><br>
&gt; Cc:<br>
&gt; Date: Thu, 10 Dec 2015 15:57:26 +0100<br>
&gt; Subject: Python3.5 support<br>
&gt; Hi,<br>
&gt; I see that OmniOrbpy 4.2 should supports Python3.5 but I&#39;ve tried to compile a .idl with omniidl on a virtual enviroment with, just Python3.5, but I&#39;ve many import error when I try to use the idl compiled. The command that I use is<br>
&gt;<br>
&gt;     omniidl -bpython &lt;file.idl&gt;<br>
&gt;<br>
&gt; I should use something different ? Maybe some option that I forget or other ?<br>
&gt;<br>
&gt; Thank you<br>
&gt;<br>
&gt; P.S. I&#39;ve tried even to modify the &#39;import path&#39; on the files but it is really tedious and difficult.<br>
&gt;<br>
<br>
I&#39;m not exactly sure what you mean, but after omniidl creates the<br>
auto-generated Python code, you should treat it just like any other<br>
3rd party library. This usually means putting the directory on your<br>
PYTHONPATH, or copying it to a directory already on that path. You<br>
should then be able to import it.<br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><br></div>Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. - <i>Martin Golding</i><div><i><br></i></div><div><span style="font-size:small;line-height:16px">There are 10 kind of people</span><span style="font-size:small;line-height:16px">. Those who understand binary, and those who do not. I hate both of them. - <i>Me</i></span><i><br></i></div></div></div>
</div>