Cython Compilation Error: dynamic module does not define module export function

前端 未结 3 443
轮回少年
轮回少年 2020-12-06 05:22

I am building a package in Cython. I am using the following as the structure for setup.py:

from distutils.core import setup
from distutils.exten         


        
3条回答
  •  囚心锁ツ
    2020-12-06 05:49

    I had the same error for torchvision. FIxed it by downgrading the installation versions:

    pip install torch==1.2.0+cu92 torchvision==0.4.0+cu92 -f https://download.pytorch.org/whl/torch_stable.html
    

提交回复
热议问题