ERROR: No matching distribution found for distutils 解决办法

pip install distutils -i https://pypi.doubanio.com/simple
Looking in indexes: https://pypi.doubanio.com/simple
ERROR: Could not find a version that satisfies the requirement distutils (from versions: none)
ERROR: No matching distribution found for distutils

这个包过期了, 应该换喽

换成如下的写法

from setuptools import setup
from setuptools import Extension

你可能感兴趣的:(python)