This is a very small project suited to someone who is familiar with Python.
I need to compile a C++-based code that interfaces with Python. The code uses a deprecated way of making arrays (boost/python/[login to view URL]). I keep getting "[login to view URL] not found" errors because newer versions of Python use numpy.
I am a Python newbie. I think from searching online that the way to solve this is to use "#include <numpy/ndarrayobject.h>" in the C++ code. However, I can't figure out how to change the old code that uses Boost (e.g., how to update code like "const py::numeric::array& X."
So I need someone to:
1. Confirm whether using "#include <numpy/ndarrayobject.h>" instead of "#include boost/python/[login to view URL]" is correct.
2. Tell me how to update code like "const py::numeric::array&" to use ndarrayobject.
I can offer 30 - 60 Euros. Thank you.
12 freelancers are bidding on average €94 for this job
Hi I would like to help, I am having experience interfacing Python to C/C++ however not sure what may be causing the error in your case, so I would like to have a loot at the project's code if you can share
I have 5+ years of working experience in C++ and 2+ years in Python. Relevant Skills and Experience Python, C++ Proposed Milestones €34 EUR - Finish the task