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

Törölve Kiadva: 6 évvel ezelőtt Kiszállításkor fizetve
Törölve Kiszállításkor fizetve

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++ Programozás Python

Projektazonosító: #15179058

A projektről

10 ajánlat Távolról teljesíthető projekt Utoljára aktív: 6 évvel ezelőtt

10 szabadúszó tett átlagosan 90€ összegű árajánlatot erre a munkára

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 1 napon belül
(121 vélemény)
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 Továbbiak

€98 EUR 1 napon belül
(62 vélemény)
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 1 napon belül
(51 vélemény)
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 Továbbiak

€105 EUR 4 napon belül
(0 vélemény)
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 Továbbiak

€30 EUR 1 napon belül
(0 vélemény)
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 Továbbiak

€277 EUR 3 napon belül
(0 vélemény)
0.0