<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Hi Johannes, thank you,<br>
<br>
<div class="moz-cite-prefix">Le 10.05.20 à 20:56, IOhannes m zmölnig
a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:b2e9b014-6b9a-8cb3-52a1-671bcc9bd2e5@iem.at">
<pre class="moz-quote-pre" wrap="">On 5/10/20 12:52 AM, Raphael Raccuia wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">Hi list,
I cant't make it working. I use PD 0.48 and
0.50 on another system, I tried to install from Ubuntu/Mint
repositories, then with Deken, but still "couldn't create..."
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
how do you try to load them?</pre>
</blockquote>
I tried with [import] (seems to be deprecated), [declare], <i>path</i>
settings, <i>startup</i> settings (<i>py</i> in <i>flags</i>): all
says :<i> py: can't load library</i> <br>
<blockquote type="cite"
cite="mid:b2e9b014-6b9a-8cb3-52a1-671bcc9bd2e5@iem.at">
<pre class="moz-quote-pre" wrap="">
run Pd with "-verbose" and see what you get (where the external is
searched for). watch the Pd-console for errors. watch the terminal for
errors.</pre>
</blockquote>
well, with <u>-verbose</u> checked in path window, a long list of
paths <i>failed</i>, and two <i>succeeded</i>, but with message:<br>
<i>/usr/lib/pd/extra/py/py.pd_linux:
/usr/lib/pd/extra/py/py.pd_linux: undefined symbol:
_ZTI17flext_base_shared</i><br>
and bellow:<br>
<i>/usr/lib/pd/extra/py/py.pd_linux:
/usr/lib/pd/extra/py/py.pd_linux: undefined symbol:
_ZTI17flext_base_shared</i><br>
<blockquote type="cite"
cite="mid:b2e9b014-6b9a-8cb3-52a1-671bcc9bd2e5@iem.at">
<pre class="moz-quote-pre" wrap="">
i wouldn't trust the deken package to work correctly for a binary with
complex dependencies such as python.</pre>
</blockquote>
ok... <br>
<blockquote type="cite"
cite="mid:b2e9b014-6b9a-8cb3-52a1-671bcc9bd2e5@iem.at">
<pre class="moz-quote-pre" wrap="">
using the Debian package "pd-py" (which is what you get when installing
from Ubuntu/Mint repositories), the [py] object instantiates just fine:</pre>
</blockquote>
yes, it's what I use<br>
<blockquote type="cite"
cite="mid:b2e9b014-6b9a-8cb3-52a1-671bcc9bd2e5@iem.at">
<pre class="moz-quote-pre" wrap="">
~~~
------------------------------------------------
py/pyext 0.2.2 - python script objects
(C)2002-2015 Thomas Grill - <a class="moz-txt-link-freetext" href="http://grrrr.org/ext">http://grrrr.org/ext</a>
using Python 2.7.18 (default, Apr 20 2020, 20:30:41)
[GCC 9.3.0]
Python array support enabled
----------------------------------------------
~~~
since you seem to be using "Pd 0.48 and Pd-0.50" on Mint, i guess you
have compiled Pd yourself and it's either installed into /usr/local/ or
not at all.</pre>
</blockquote>
no compilation, 0.48.1 comes from Mint 19 repos, and 0.50 from
Kubuntu/KXStudio repos.<br>
<blockquote type="cite"
cite="mid:b2e9b014-6b9a-8cb3-52a1-671bcc9bd2e5@iem.at">
<pre class="moz-quote-pre" wrap="">
in this case your self-compiled Pd will not automatically search in the
paths where the Debian packages installs the external to: so you should
add "/usr/lib/pd/extra" to your search-paths.
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">Is py/pyext still usable?
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
well, py/pyext as released is Python2.7 only, and Python2.7 has seen EOL
a couple of months ago.
there has been some work towards making it work with Python3, but
nothing has been released yet.</pre>
</blockquote>
wow, I didn't noticed that. I hope I can use matPlotLib with 2.7.<br>
Thank you!<br>
rph-r<br>
<blockquote type="cite"
cite="mid:b2e9b014-6b9a-8cb3-52a1-671bcc9bd2e5@iem.at">
<pre class="moz-quote-pre" wrap="">
fgmasd
IOhannes
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a class="moz-txt-link-freetext" href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>
</pre>
</blockquote>
<br>
</body>
</html>