Answers for "LINK : error LNK2001: unresolved external symbol PyInit___init__"

0

LINK : error LNK2001: unresolved external symbol PyInit___init__

#!/usr/bin/env python
from setuptools import setup, Extension

from Cython.Build import cythonize

ext_modules = cythonize([
    Extension("amortization.amount", ["amortization/amount.py"]),
    Extension("amortization.schedule", ["amortization/schedule.py"]),
    Extension("amortization.amortize", ["amortization/amortize.py"]),
])

setup(
    ext_modules=ext_modules
)
1234567891011121314
Posted by: Guest on March-12-2020

Python Answers by Framework

Browse Popular Code Answers by Language