已有183人关注
(3)使用如下命令安装Flask依赖包:pip install –r requirements.txt 报错
发表在Python图书答疑 2020-08-31 悬赏:1 学分 《Python项目开发案例集锦》第17章 51商城
是否精华
版块置顶:

 报错内容:

ERROR: Command errored out with exit status 1:

     command: 'F:\PythonProject\51Shop\venv\Scripts\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\wangluo\\AppData\\Local\\Temp\\pip-install-7cnt0w7q\\markupsafe\\setup.py'"'"'; __file__='"'"'C:\\Users\\wangluo\\AppData\\Local\\Temp\\pip-install-7cnt0w7q\\markupsafe\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\wangluo\AppData\Local\Temp\pip-pip-egg-info-7vokjo92'

         cwd: C:\Users\wangluo\AppData\Local\Temp\pip-install-7cnt0w7q\markupsafe\

    Complete output (5 lines):

    Traceback (most recent call last):

      File "<string>", line 1, in <module>

      File "C:\Users\wangluo\AppData\Local\Temp\pip-install-7cnt0w7q\markupsafe\setup.py", line 6, in <module>

        from setuptools import setup, Extension, Feature

    ImportError: cannot import name 'Feature' from 'setuptools' (F:\PythonProject\51Shop\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.


分享到:
手机同步功能介绍
友情提示:以下图书配套资源能够实现手机同步功能
明日微信公众号
明日之星 明日之星编程特训营
客服热线(每日9:00-17:00)
400 675 1066
mingrisoft@mingrisoft.com
吉林省明日科技有限公司Copyright ©2007-2022,mingrisoft.com, All Rights Reserved长春市北湖科技开发区盛北大街3333号长春北湖科技园项目一期A10号楼四、五层
吉ICP备10002740号-2吉公网安备22010202000132经营性网站备案信息 营业执照