Forum Discussion

jbleclere's avatar
jbleclere
Icon for New Contributor rankNew Contributor
5 years ago

On Devcloud, how to use OPAE python API

On Intel-DevCloud, I've developed my FPGA design and a C++ application using OPAE-C++ API.

Now I'd like to rewrite my application but using the OPAE python API.

I'd a look at the doc: https://opae.github.io/latest/docs/README.html

but unfortunately, the pip command fails:

pip install --user opae.fpga

with the message : "pysysobject.h:29:37: fatal error: opae/cxx/core/sysobject.h: No such file or directory" (refer to full log in attachment)

Please, how to proceed:

- with the installation on DevCloud (isn't it already installed on DevCloud by default?)

- ideally with an example application showing how to use the python API?

Thanks

1 Reply

  • CalvinHung's avatar
    CalvinHung
    Icon for New Contributor rankNew Contributor

    Hi,

    opae.fpga 1.2 seems can't work on DevCloud.

    This is how we fix this issue:

    curl https://bootstrap.pypa.io/2.7/get-pip.py --output get-pip.py
    python get-pip.py  
    pip install --user pybind11
    pip install --user opae.fpga==1.1