how do use dedupe in C# code ? · Issue #592 · IronLanguages/ironpython3 (original) (raw)
I must make a Web Service with .Net that should communication to dedupe (https://github.com/dedupeio/dedupe)
I used IronPython and i got import 'No Module Named builtins'
I used PythonNet and i got System.DllNotFoundException: 'DLL 'python27' not load.
Visual Studio 2017 (15.9)
Python (3.5 or 3.7 and 2.7)
PythonNet last version build from master branch (Python.Runtime.dll)
I tried a lot of things and i failed all time. I couldn't connect with .net and python , always get errors.
I need run a function from py file to returns data. How do i make ?
my .py file
import sys
sys.path.append("C:\\Users\\**\\AppData\\Local\\\\Programs\\Python\\Python37-32\\python37.zip")
sys.path.append("C:\\Users\\**\\AppData\\Local\\Programs\\Python\\Python37-32\\DLLs")
sys.path.append("C:\\Users\\**\\AppData\\Local\\Programs\\Python\\Python37-32\\lib")
sys.path.append("C:\\Users\\**\\AppData\\Local\\Programs\\Python\\Python37-32")
sys.path.append("C:\\Users\\**\\AppData\\Roaming\\Python\\Python37\\site-packages")
sys.path.append("C:\\Users\\**\\AppData\\Local\\Programs\\Python\\Python37-32\\lib\\site-packages")
sys.path.append("C:\\Users\\**\\Desktop\\Files\\dedupe-master\dedupe")
import csv
import re
import dedupe
from unidecode import unidecode
def readData(filename):
.....