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”即可邓厕。