Compile a C++ code that interfaces with Python by updating "boost/python/[login to view URL]" to numpy/ndarrayobject.h

Cancelled Posted 6 years ago Paid on delivery
Cancelled Paid on delivery

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.

C++ Programming Python

Project ID: #15179058

About the project

10 proposals Remote project Active 6 years ago

10 freelancers are bidding on average €90 for this job

ThanassisKalv

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

€55 EUR in 1 day
(121 Reviews)
6.4
liangjongai

< Hi, sir I have a detail look to your project, I have a great skill in C++ Programming, Python. I'm sure I can complete your project. My price and period is negotiable. We can discuss the details via chat. Thank More

€98 EUR in 1 day
(62 Reviews)
6.0
Bhawandtu

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

€34 EUR in 1 day
(51 Reviews)
4.7
sajikr01

Due to expertise in C/C++ Already delievered same type of commercial products to "Samsung" oraganization So, Please go ahead for further process. Relevant Skills and Experience Expertise in C/C++ Proposed More

€105 EUR in 4 days
(0 Reviews)
0.0
panaqi

Hi I am Aquiib, i am a professional Programmer, with expertise in Python, C and C++. i am certified Programmer. i have completed 200+ home based project in C language with 100% client satisfaction.I have working ex More

€30 EUR in 1 day
(0 Reviews)
0.0
freelancerkpis

We are happy to bid on this project. We provides dedicate developers and Development and design services as well. ***** We are having a great team of Mobile developers with 7-8 years of experience Relevant Skills a More

€277 EUR in 3 days
(0 Reviews)
0.0