> On 27 May 2022, at 21:17, Larry Martell wrote:
>
> I have a script that has literally been running for 10 years.
> Suddenly, for some runs it crashes with the error:
>
> terminate called after throwing an instance of
> 'boost::python::error_already_set
This is
; Suddenly, for some runs it crashes with the error:
> >
> > terminate called after throwing an instance of
> 'boost::python::error_already_set
> >
> > No stack trace. Anyone have any thoughts on what could cause this
> > and/or how
On Fri, May 27, 2022 at 5:51 PM dn wrote:
> On 28/05/2022 08.14, Larry Martell wrote:
> > I have a script that has literally been running for 10 years.
> > Suddenly, for some runs it crashes with the error:
> >
> > terminate called after throwing an i
On 28/05/2022 08.14, Larry Martell wrote:
> I have a script that has literally been running for 10 years.
> Suddenly, for some runs it crashes with the error:
>
> terminate called after throwing an instance of
> 'boost::python::error_already_set
>
> No stack trace. A
I have a script that has literally been running for 10 years.
Suddenly, for some runs it crashes with the error:
terminate called after throwing an instance of 'boost::python::error_already_set
No stack trace. Anyone have any thoughts on what could cause this
and/or how I can track it
> On 18 Mar 2020, at 08:59, princit wrote:
>
> I am new in python. I am trying to predict the "time_to_failure" for given
> "acoustic_data" in the test CSV file using catboost algorithm.
>
>
> def catbostregtest(X_train, y_train):
># submission format
>submission = pd.read_csv('sa
I am new in python. I am trying to predict the "time_to_failure" for given
"acoustic_data" in the test CSV file using catboost algorithm.
def catbostregtest(X_train, y_train):
# submission format
submission = pd.read_csv('sample_submission.csv', index_col='seg_id')
X_test = pd.Data
On 03/11/2014 13:53, Joseph Shen wrote:
In the boost::python library there is a function
boost::python::long_
and this function return a boost::python::object variable
I'm trying to wrap a double variale but I can't find
something just like
boost::python::double_
can someo
On Monday, November 3, 2014 10:11:01 PM UTC+8, Skip Montanaro wrote:
> On Mon, Nov 3, 2014 at 7:53 AM, Joseph Shen wrote:
>
> In the boost::python library there is a function
>
>
>
> >>> boost::python::long_
>
>
>
> and this function return a boo
On Mon, Nov 3, 2014 at 7:53 AM, Joseph Shen wrote:
> In the boost::python library there is a function
>
> >>> boost::python::long_
>
> and this function return a boost::python::object variable
>
> I'm trying to wrap a double variable but I can't find
>
In the boost::python library there is a function
>>> boost::python::long_
and this function return a boost::python::object variable
I'm trying to wrap a double variale but I can't find
something just like
>> boost::python::double_
can someone help me to build a d
Hello there,
I have two different classes that I want to expose using boost-python,
but the constructor of the second class takes and array of the first
one as argument and I can't figure out how to do it.
This is the definition of the classes:
class INT96{
public:
uin
On 06/10/2010 05:15 PM, Murrgon wrote:
> I have a simple C++ library (from a dll) I am attempting to make
> accessible through bindings to python. I used Py++ to generate some
> boost code for the library that I compiled into a pyd. I can import the
> pyd no problem into python, but
I have a simple C++ library (from a dll) I am attempting to make accessible
through bindings to python. I used Py++ to generate some boost code for the
library that I compiled into a pyd. I can import the pyd no problem into
python, but I can't seem to call the functions.
struct M
I'm having issues with Boost Python, downloaded via http://www.boostpro.com.
I *think* it's related to WinXP side by side assemblies. My
application that uses Boost Python fails to start.
I ran dependancy walker on the Boost Python DLL and I get the
following:
Error: The Si
Hello,
I am wrapping the reference container vector as document suggests.
typedef std::vector EntityContainer;
class_("Entity", init());
class_("EntityContainer")
.def(vector_indexing_suite() )
;
When I try to iterate in python all I get is the following error:
TypeError: No to_python
Has anybody wrapped std::set using boost::python? I'm trying to find the
best way to do this. Thanks.
--
http://mail.python.org/mailman/listinfo/python-list
All:
Has anybody had success at wrapping std::set using Boost::Python? Any ideas,
snippets of code, etc... would be very helpful.
Thanks.
--
http://mail.python.org/mailman/listinfo/python-list
Oops - I didn't see my post so I thought something had gone wrong and
reposted. Apologies for the multiple posts.
On Jul 9, 11:57 am, Stodge <[EMAIL PROTECTED]> wrote:
> Could it be a boundary problem? The static data is initialised by the
> application. The problem arises when the python module t
Could it be a boundary problem? The static data is initialised by the
application. The problem arises when the python module tries to access
it.
On Jul 5, 11:14 pm, Giuseppe Ottaviano <[EMAIL PROTECTED]> wrote:
> > In Python, I retrive an Entity from the EntityList:
>
> > elist = EntityList()
> >
I wonder if it's a DLL boundary problem.
On Jul 5, 11:14 pm, Giuseppe Ottaviano <[EMAIL PROTECTED]> wrote:
> > In Python, I retrive an Entity from the EntityList:
>
> > elist = EntityList()
> > elist.append(Entity())
> > elist.append(Entity())
>
> > entity = elist.get_at(0)
>
> > entity.foo()
>
>
Thanks. Maybe it's a DLL boundary issue? I'll look into this too.
On Jul 5, 11:14 pm, Giuseppe Ottaviano <[EMAIL PROTECTED]> wrote:
> > In Python, I retrive an Entity from the EntityList:
>
> > elist = EntityList()
> > elist.append(Entity())
> > elist.append(Entity())
>
> > entity = elist.get_at(0
In Python, I retrive an Entity from the EntityList:
elist = EntityList()
elist.append(Entity())
elist.append(Entity())
entity = elist.get_at(0)
entity.foo()
But it crashes inside foo() as the private static data is empty; or
rather the string array is empty. I know before that point that the
I've exposed a C++ class to Python using Boost Python. The class,
let's say it's called Entity, contains private static data, which is
an array of strings. Though I think it implements it using MFC's
CPtrArray.
I've also exposed a public function from Entity - let
On Jun 19, 8:40 pm, Paul McGuire <[EMAIL PROTECTED]> wrote:
> I just ran my pyparsing unit tests with the latest Python 2.6b1
> (labeled internally as Python 2.6a3 - ???),
Hi, Paul. If it says 2.6a3, that's what it is. Look at the thread of
replies to Barry Warsaw's announcement of 2.6b1 ... [from
n Windows ?
Just try pybench on 2.6 and 2.5, and 2.6 is 17% better than 2.5 !
Very nice !
But I suspect the new compiler with Profile Guided Optimization (PGO)
to be the main cause of this nice boost...
--
http://mail.python.org/mailman/listinfo/python-list
I just ran my pyparsing unit tests with the latest Python 2.6b1
(labeled internally as Python 2.6a3 - ???), and the current 1.5.0
version of pyparsing runs with no warnings or regressions.
I was pleasantly surprised by the improved performance. The most
complex parser I have is the Verilog parser
Thanks for help.
I lost more then 10 hours on boost today, but it finally works, and I'm
pleased with it.
:)
--
http://mail.python.org/mailman/listinfo/python-list
deepest1 wrote:
> bjam --build-dir="D:\Program Files\boost_1_35_0" --toolset=gcc stage
>
> I got 12 failures and 8 warnings from this (other few hundrds were ok)
Hmm, I remember trying to use Boost 1.35 with Python 2.5 on my Debian system
and also having problems, are you sur
Hi everybody.
I'm trying to use boost, but just don't know how to set it up.
My os is winXP (installed on disk D).
Python is installed in D:\Python25
MigGW compiler is installed in D:\MinGW (i downloaded it because djgpp
is making much more errors with bjam)
I have downloaded boost_
Frédéric Degraeve wrote:
Hello,
I tried this code with vs7-8 and boost1.34.1-1.35.0 and my python is a
2.4..
Try the boost users list:
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.boost.org/mailman/listinfo.cgi/boost-users
--
http://mail.python.org/mailman
Hello,
I tried this code with vs7-8 and boost1.34.1-1.35.0 and my python is a
2.4. The call to Cpython works well but boost::python doesn't work.
I've got an exception about an access violation reading location
0x.
help, please?
thank you.
Frédéric
#include "std
Hi folks, new to Boost Python and struggling to build a prototype at
work. I thought I'd start with a conceptual question to help clarify
my understanding. I already have a basic prototype working nicely but
I'm having a few issues, which I may post about later.
A brief functional rundo
I am a newbie to python .I know it is easy to access Windows API and
DLL using ctypes in python .And it is easy to access python class and
function using boost libs in C. Can boost and ctypes work together?
--
http://mail.python.org/mailman/listinfo/python-list
Web Outsourcing Services Group (WOSG) is a pioneering and China-based
service provider, committed to delivering quality web & design, SEO
and internet marketing services to clients around the world.
WOSG's strength lies in our skillful staff and lower rates in China.
We have over 60 strictly selec
Please see http://lists.boost.org/boost-build/2007/05/1.php -- the
solution is to add "using python ;" to tools/build/v2/user-config.jam.
--
http://mail.python.org/mailman/listinfo/python-list
What I'm trying to say here : a numpy array is supposed to have it's
shape stored as a tuple. What I want to do is to access this
information from my C++ code, in order to do some validity check.
So, by looking around in the doc of boost/python/numeric.hpp I was
able to do this :
On 9 May 2007 08:08:46 -0700, TG <[EMAIL PROTECTED]> wrote:
> Hi there.
>
> I'm strugling here with some boost python code (damn I hate C++) :
>
> All I want to do is to initialize the content of an array with a numpy
> ndarray parameter. I have this, which actually wo
Hi there.
I'm strugling here with some boost python code (damn I hate C++) :
All I want to do is to initialize the content of an array with a numpy
ndarray parameter. I have this, which actually works. But I want to
add some kind of data check such as :
* is array two dimensional ?
* ar
On May 6, 4:12 pm, "mr_gees100_peas" <[EMAIL PROTECTED]>
wrote:
> Hi,
>
>I've been trying for days to make either boost.python or swig to
> work for me. The one I have gotten the closest to is boost. Note that
> this is for windows XP. I'm not much of
Hi,
I've been trying for days to make either boost.python or swig to
work for me. The one I have gotten the closest to is boost. Note that
this is for windows XP. I'm not much of an unix person besides doing
simple ls and copy paste.
What I have done is to download the boost l
On 16 Apr., 14:28, "Rob Wolfe" <[EMAIL PROTECTED]> wrote:
> Soren wrote:
> > > Try to create boost-build.jam file like this:
>
> > > # boost-build.jam
> > > boost-build C:\boost\boost_1_33_1\tools\build\v1 ;
>
> > Hi Rob, Thanks for the ans
On 16 Apr., 14:28, "Rob Wolfe" <[EMAIL PROTECTED]> wrote:
> Soren wrote:
> > > Try to create boost-build.jam file like this:
>
> > > # boost-build.jam
> > > boost-build C:\boost\boost_1_33_1\tools\build\v1 ;
>
> > Hi Rob, Thanks for the ans
Soren wrote:
> > Try to create boost-build.jam file like this:
> >
> > # boost-build.jam
> > boost-build C:\boost\boost_1_33_1\tools\build\v1 ;
>
>
> Hi Rob, Thanks for the answer!
>
> It did solve the error.. but produced a new one:
>
> C:\boost\b
On 16 Apr., 12:53, "Rob Wolfe" <[EMAIL PROTECTED]> wrote:
> Soren wrote:
> > Unable to load Boost.Build: could not find "boost-build.jam"
> > ---
> > Attempted search from C:\boost\boost_1
On 16 Apr., 12:53, "Rob Wolfe" <[EMAIL PROTECTED]> wrote:
> Soren wrote:
> > Unable to load Boost.Build: could not find "boost-build.jam"
> > ---
> > Attempted search from C:\boost\boost_1
Soren wrote:
> Unable to load Boost.Build: could not find "boost-build.jam"
> ---
> Attempted search from C:\boost\boost_1_33_1\libs\python\example
> \tutorial up to t
> he root and in these directories
Hi!
I'm trying to extend my python program with some C++ code. Right now
I've spent hours just trying to get boost to work!
I'm trying to get the example hello.cpp to work.
Using Windows XP and Visual Studio 8 (.NET 2005)
I've set BOOST_BUILD_PATH = C:\boost\boost_1_33_1
getname is defined as:
> > > const std::string &Entity::getName() const;
>
> > After more reading I found the copy_const_reference, and replaced:
> > boost::python::return_internal_reference<>());
> > with:
>
> > boost::python::return_value_policy()
more reading I found the copy_const_reference, and replaced:
> boost::python::return_internal_reference<>());
> with:
>
> boost::python::return_value_policy());
>
> and it fixed my problem. Is there any downside to using
> copy_const_reference over return_internal_re
On Mar 19, 12:00 pm, "Shawn McGrath" <[EMAIL PROTECTED]> wrote:
> I forgot to mention, getname is defined as:
> const std::string &Entity::getName() const;
After more reading I found the copy_const_reference, and replaced:
boost::python::return_internal_reference&l
I forgot to mention, getname is defined as:
const std::string &Entity::getName() const;
--
http://mail.python.org/mailman/listinfo/python-list
Hi, I'm trying to expose a C++ class' internals to python via
boost::python. I can do integer/boolean functions fine, but as soon
as I do a string get/set it craps out.
boost::python::class_ >("Entity")
//publics
.def("isActive
Hi all
I'm working with Boost.Python at the moment and have to do the
following:
-Using Boost, assign a char* in C++ to a PySwigObject (SWIG exposed
object) of type uchar*, which is received in C++ as a
boost::python::object class.
The uchar* pointer in the PySwigObject points to a b
My experiences with BOOST on Windows XP and Visual C++ 2005
I'm new to Python.
I built software in more than ten other computer languages. I'm not
sure if that is not a handicap, when reading documentation of a system
like BOOST.
However:
It took me more than four full working day
I read a lot of the html pages on installing boost etc. Still a lot of
confusion.
Here is what I want:
I have old, stable wonderful C-code I want to use in Python projects.
So I encapsulate the C-code in some C++ stuf and try to compile it
into a DLL.
1: I DL-ed boost_1_33_1.exe (I use WinXP
I'm trying to work with Boost, trying to use my C-code from Python..
So now I have generated a C_test2.dll and a C_test2.lib with Visual
C++ 2005, from code like this:
===
#include
#include
namespace { // Avoid cluttering the global namespace.
int my_int; /* a global intege
On 12/31/06, Osiris <[EMAIL PROTECTED]> wrote:
> In short: it's all rather confusing
>
> I think it must be like this:
>
> To use my C/C++ code with Python, add some stuff in the C/C++ source
> and compile it into a DLL, that must be combined with some boost-D
oc/building.html ) contains pretty
>good explanation how to do this.
That explanation I find confusing:
"To build boost_python, use Boost.Build...": Where is boost.build and
what is it ?
in my D:\boost\libs\python\build there is no boost.build...
in D:\boost there is a build-boost.jam file.
e pieces of C-code (NOT C++ !!) I want to call from Python.
>>>> I found Boost.
>>>> I have MS Visual Studio 2005 with C++.
>>>>
>>>> is this the idea:
>>>> I write the following C source file:
>>>>
&
Osiris wrote:
> On Sat, 30 Dec 2006 13:19:28 -0800, Erik Max Francis <[EMAIL PROTECTED]>
> wrote:
>
>>Osiris wrote:
>>
>>> I have these pieces of C-code (NOT C++ !!) I want to call from Python.
>>> I found Boost.
>>> I have MS Visual Studio
Osiris wrote:
> yes, but C can be compiled with a C++ compiler, One can put C code in
> C++ source Boost should not complain... should it ?
> Boost text is all about C++.. so... C should not be a problem...
That you're dealing with a `boost` namespace below clearly indicate
On Sat, 30 Dec 2006 13:19:28 -0800, Erik Max Francis <[EMAIL PROTECTED]>
wrote:
>Osiris wrote:
>
>> I have these pieces of C-code (NOT C++ !!) I want to call from Python.
>> I found Boost.
>> I have MS Visual Studio 2005 with C++.
>>
>> is this the id
On 12/30/06, Osiris <[EMAIL PROTECTED]> wrote:
> Visual C++ build log at:
>
> http://213.10.133.192/BuildLog.htm
It is better to ask Boost.Python related questions on it mailing list:
http://mail.python.org/mailman/listinfo/c++-sig/
You should add to the link line boost_python.lib, thus you will
Osiris wrote:
> I have these pieces of C-code (NOT C++ !!) I want to call from Python.
> I found Boost.
> I have MS Visual Studio 2005 with C++.
>
> is this the idea:
> I write the following C source file:
>
> #include
> #include
Visual C++ build log at:
http://213.10.133.192/BuildLog.htm
--
http://mail.python.org/mailman/listinfo/python-list
Osiris <[EMAIL PROTECTED]> typed
> I have these pieces of C-code (NOT C++ !!) I want to call from Python.
> I found Boost.
> I have MS Visual Studio 2005 with C++.
>
> is this the idea:
> I write the following C source file:
>
> #incl
I get, from Visual C++, these linker errors, 8 in total, trying to
build the above C++ source:
C_test.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) void __cdecl
boost::python::detail::init_module(char const *,void
(__cdecl*)(void))"
([EMAIL PROTECTED]@[EMAIL
I have these pieces of C-code (NOT C++ !!) I want to call from Python.
I found Boost.
I have MS Visual Studio 2005 with C++.
is this the idea:
I write the following C source file:
#include
#include
namespace { // Avoid cluttering the global namespace.
int my_int
Cancel that--I found the answer.
http://groups.google.com/group/boost-list/browse_frm/thread/5a17077679a33dca/7360f2038d6e6cca?lnk=gst&q=bjam+mingw&rnum=3#7360f2038d6e6cca
Short answer: bjam.exe should not be in /bin or /usr/bin because MinGW
treats programs in there differently. In m
Hi,
Has anyone here built Boost.Python modules under MinGW? I'm trying to
build the Boost.Python tutorial under MinGW and getting an error that
says it depends on MSVC, which puzzles me because Boost built using
g++. Here's some of my output:
[EMAIL PROTECTED] /c/Boost/libs/pyth
On 12 Nov 2006 19:10:24 -0800, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I use boost 1.33_1, there's an example on boost::python named
> embedding.cpp. When I tried to build and run it in visual studio 2005,
> I got an error on this line:
>
> std::string hello() {
I use boost 1.33_1, there's an example on boost::python named
embedding.cpp. When I tried to build and run it in visual studio 2005,
I got an error on this line:
std::string hello() { return python::call_method(self,
"hello"); }
It's a back ptr error.
I don't know wher
looping schrieb:
> Maybe this improvement could be backported in Python 2.4 branch for the
> next release ?
As Fredrik explains, this is probably the side-effect of a from-scratch
rewrite of the relevant functions. Another (undesirable) side-effect is
that the resulting binary won't work on Window
Fredrik Lundh wrote:
> looping wrote:
>
> >
> > Very nice, but somewhat strange...
> > Is Python 2.4.3 os.walk buggy ???
>
>
> Why are you asking if something's buggy when you've already figured out
> what's been improved?
>
You're right, buggy isn't the right word...
Anyway thanks for your detail
looping wrote:
> Results on Windows XP after some run to fill the disk cache (with
> ~59000 files and ~3500 folders):
> Python 2.4.3 : 45s
> Python 2.5 : 10s
>
> Very nice, but somewhat strange...
> Is Python 2.4.3 os.walk buggy ???
No. A few "os" function are now implemented in terms of Window
Hi,
I noticed a big speed improvement in some of my script that use os.walk
and I write a small script to check it:
import os
for path, dirs, files in os.walk('D:\\FILES\\'):
pass
Results on Windows XP after some run to fill the disk cache (with
~59000 files and ~3500 folders):
Python 2.4.3 :
JDJMSon wrote:
>
> Neal Becker wrote:
>
>> Shouldn't that be:
>> .def("TestFunction",&TestClass::TestFunction)
>> > ;
>
>
> Yes, you're right, but I'm still getting the error. I'm using a
> prebuilt python library, so later I'm going to rebuild python myself
> and see if that helps, as has bee
Neal Becker wrote:
> Shouldn't that be:
> .def("TestFunction",&TestClass::TestFunction)
> > ;
Yes, you're right, but I'm still getting the error. I'm using a
prebuilt python library, so later I'm going to rebuild python myself
and see if that helps, as has been suggested.
Thanks.
--
http://ma
JDJMSon wrote:
> I was wondering if someone here could help me with a problem I'm having
> building Python extensions with the Boost.Python library.
> Basically, if I have a wrapper class with something like this:
>
> string TestFunc()
> {
> return "Hello World";
> }
>
> BOOST_PYTHON_MODULE(Test
the threading type, debugging modes, etc.
If these don't match between you VC compilation and the BOOST library
complitation you can get those errors.
I had similar problems and it took me forever to figure it out.
Let me know if this helps, look at the command line from visual studio
and co
;
};
BOOST_PYTHON_MODULE(TestClass)
{
class_("TestClass")
.def("TestFunction",&TestClass.TestFunction)
;
}
I get the following error:
vc-C++
bin\PythonTest\TestClass.pyd\vc-8_0\debug\threading-multi\TestClass.obj
TestClass.cpp
TestClass.cpp(27) : error
On 14 Aug 2006 10:29:08 -0700, Hoop <[EMAIL PROTECTED]> wrote:
> Hi,
> I am trying to run the Hello World example in Boost.Python from the
> Building Hello World documentation. I believe that I have everything
> set up right but I get these three warnings,
>
> warning: no toolsets are configured.
>
Hi,
I am trying to run the Hello World example in Boost.Python from the
Building Hello World documentation. I believe that I have everything
set up right but I get these three warnings,
warning: no toolsets are configured.
warning: you won't be able to build C++ programs.
warning: please consult t
=2.4] and just get a
> statement saying that bjam is not recognized. Really is no batch file
> or executable with that name in the boost directory.
IIRC it was an extra step although I remember getting quite confused
installing Boost.Python.
http://www.boost.org/more/getting_started.
You should set PYTHON_ROOT &
PYTHON_VERSION environment variable first, then set the VC toolset path, compile
bjam.exe yourself and run bjam with -sTOOLS parameter.
It seems Boost has not been totally
tested under VS2005, but works fine with VS2003.
Good luck!
miss
Hi All,
I am wondering if any have done an install of Boost for Python
embedding?
I have downoaded boost_1_33_1.exe, ran that and now have a boost_1_33_1
directory with plenty of items ine it.
I have attempted to follow some online install directions which do not
seem to work. I am using VS2005.
I
KraftDiner wrote:
> Could someone point me to step by step instructions on building boost
> python on mac os x?
> I have bjam running.. I have the boost source... but the tests are
> failing..
> Probably something to do with environement variables...
> Anyone with time?
You mig
Could someone point me to step by step instructions on building boost
python on mac os x?
I have bjam running.. I have the boost source... but the tests are
failing..
Probably something to do with environement variables...
Anyone with time?
--
http://mail.python.org/mailman/listinfo/python-list
On 25 Jul 2006 08:01:30 -0700, KraftDiner <[EMAIL PROTECTED]> wrote:
> Hi, I'm trying to call a C++ class from python.
> I've looked around and the solution would appear to be boost.
Right!
> I'm not sure but maybe I've downloaded and installed the enti
Hi, I'm trying to call a C++ class from python.
I've looked around and the solution would appear to be boost.
I'm not sure but maybe I've downloaded and installed the entire boost
library,
when there is probably a separate tar ball for python / C++
integration.
Can someone plea
t for some reason calls PyErr_Clear. That code
happens to be inside boost::python.
I do need to stop the thread from executing Python code as soon as
possible (as soon as it returns from a native function is also
acceptable).
Because we have embedded Python's VM in our product, I'm thinki
On 23 Mar 2006 12:36:17 -0800, MakaMaka <[EMAIL PROTECTED]> wrote:
> I checked and it is. I can't use news servers at work b/c of the
> firewall. Is there another way to access this mailing list?
Yes, try to subscribe: http://www.python.org/community/sigs/. See c++-sig
If you can use your mail o
I checked and it is. I can't use news servers at work b/c of the
firewall. Is there another way to access this mailing list?
--
http://mail.python.org/mailman/listinfo/python-list
On 23 Mar 2006 11:17:46 -0800, MakaMaka <[EMAIL PROTECTED]> wrote:
> Hi,
> I'm trying to build the basic boost.python tutorial that comes with the
> distribution. I'm using bjam and mingw. It builds the module, but
> upon import, it gives this error:
>
> ImportError: dynamic module does not defin
Hi,
I'm trying to build the basic boost.python tutorial that comes with the
distribution. I'm using bjam and mingw. It builds the module, but
upon import, it gives this error:
ImportError: dynamic module does not define init function (inithello)
I've found other threads with this problem as a t
;
extension Dummy: Dummy.cpp
@boost/libs/python/build/extension ;
stage $(TOP)/Tie : Dummy;
InstallFile $(TOP)\\Tie : test_Dummy.py ;
--
http://mail.python.org/mailman/listinfo/python-list
PL wrote:
> I looked at Stefan's post - but he remarks that "Unfortunately, Blitz
> jealously guards its data (restricted pointers), so that it is not so
> easy to do the conversion in the other direction. If anyone knows an
> answer to this problem, I'd be glad to hear it"
>
> I've previously l
e before and will revisit it
to see if it will work. But I was intending to do this with a compiled
extension. I wish there was a simple example of this in either the
SWIG or Boost docs or a faq/howto posted somewhere . . .
-Paul
Fernando Perez wrote:
> PL wrote:
>
> > I want to
ith Python, but
> less so with C++ and Boost or SWIG.
>
> Does anyone have an example with all steps that I can follow? More
> specifically I am looking for the C++ code, ".i" file for SWIG and/or
> the analagous setup files that Boost would need to do this.
You may want
1 - 100 of 112 matches
Mail list logo