参考:https://blog.youkuaiyun.com/pengshengege/article/details/105113561
在vs code安装python-dateutil依赖时报错(单独pip安装不报错,但/requests.txt包安装时就会在此处断掉,报错)
报错内容:
from setuptools import setup, Extension, Feature
ImportError: cannot import name 'Feature' from 'setuptools' (C:\Users\wanxia\my_clone\flasky\venv\lib\site-packages\setuptools\__init__.py)
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
博友的办法;
更新setuptools版本pip install --upgrade pip setuptools==45.2.0
**结果:**问题解决!