Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Proper usage of Inline::Python

by OverlordQ (Hermit)
on Oct 12, 2014 at 09:59 UTC ( [id://1103537]=note: print w/replies, xml ) Need Help??


in reply to Re: Proper usage of Inline::Python
in thread Proper usage of Inline::Python

That's what I tried.

py_eval('import hyperdex.client'); my $client = Inline::Python::Object->new('hyperdex.client','Client');
Gives me:
exceptions.TypeError: __cinit__() takes exactly 2 positional arguments (0 given) at line 1060
Which makes it seem, oh, I'll just add the two parameters. However:
py_eval('import hyperdex.client'); my $client = Inline::Python::Object->new('hyperdex.client','Client','1 +27.0.0.1',1982);
Gives me the
Can't bless non-reference value at /usr/local/lib/perl/5.14.2/Inline/Python.pm line 317.
error again.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1103537]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-04-26 02:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found