Using cached Flask-Bootstrap-3.3.7.1.tar.gz (456 kB)
ERROR: Error [WinError 2] 系统找不到指定的文件。 while executing command python setup.py
egg_info
Preparing metadata (setup.py) ... error
ERROR: Could not install packages due to an OSError: [WinError 2] 系统找不到指定的文件。
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple pyinstaller
ERROR: Error [WinError 2] 系统找不到指定的文件。 while executing command python setup.py
egg_info
Preparing metadata (setup.py) ... error
ERROR: Could not install packages due to an OSError: [WinError 2] 系统找不到指定的文件。
cmd管理员使用这个指令会报错,报错提示和上面的一致。
最终解决方案:原先电脑是win7,不仅是这个三方包不好装,mysql也安装不上,于是换了台win10电脑做开发,步骤相同,这两者都能顺利安装。
windows有的pip不会带包,你得单独从网上下载这个包,解压之后进行安装
试试不使用缓存
pip --no-cache-dir install flask-bootstrap