You need to be using setuptools instead of distutils.
Near the top of your script, try replacing
from distutils.core import setup
with
from setuptools import setup
stackflow上的答案是将excellibrary的setup.py 中 "from distutils.core import setup"替换为“from setuptools import setup”即可。
网友评论