gnucap-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnucap-devel] python (was: Re: [Help-gnucap] getting started with g


From: Patrick Mulder
Subject: Re: [Gnucap-devel] python (was: Re: [Help-gnucap] getting started with gnucap)
Date: Sun, 18 Feb 2018 09:25:14 +0100

On Sat, Feb 17, 2018 at 9:00 AM, Felix Salfelder <address@hidden>
wrote:

> On Fri, Feb 16, 2018 at 11:14:15PM +0100, Patrick Mulder wrote:
> > make[1]: *** No rule to make target `s__out.cc', needed by
> > `python_la-s__out.lo'.  Stop.
>
> forgot to add that one (its just a copy from gnucap/apps)
>
>
On my Debian system, I am able to build the python plugin :


1) except _gnucap.so is missing (but built with python setup.py build )
2) loading python.so from the gnucap main app gives:


gnucap> attach .libs/python.so
transient: already installed, replacing
stashing as transient:0
transient: already installed, replacing
stashing as transient:0
generator: already installed, replacing
stashing as generator:0
gnucap> python example/simple.py
ImportError: numpy.core.multiarray failed to import
ImportError: numpy.core.multiarray failed to import
gnucap> python example/custom_ac.py
Traceback (most recent call last):
  File "example/custom_ac.py", line 6, in <module>
    import numpy as np
  File "/usr/lib/python2.7/dist-packages/numpy/__init__.py", line 153, in
<module>
    from . import add_newdocs
  File "/usr/lib/python2.7/dist-packages/numpy/add_newdocs.py", line 13, in
<module>
    from numpy.lib import add_newdoc
  File "/usr/lib/python2.7/dist-packages/numpy/lib/__init__.py", line 8, in
<module>
    from .type_check import *
  File "/usr/lib/python2.7/dist-packages/numpy/lib/type_check.py", line 11,
in <module>
    import numpy.core.numeric as _nx
  File "/usr/lib/python2.7/dist-packages/numpy/core/__init__.py", line 6,
in <module>
    from . import multiarray
ImportError: /usr/lib/python2.7/dist-packages/numpy/core/multiarray.so:
undefined symbol: PyExc_SystemError
gnucap>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]