PIP 10.0.1 - Warning “Consider adding this directory to PATH or…”

前端 未结 4 1283
南旧
南旧 2021-01-01 14:52
The script flake8.exe is installed in \'c:\\users\\me\\appdata\\local\\programs\\python\\python36-32\\Scripts\' which is not on PATH.
Consider adding this directory          


        
4条回答
  •  星月不相逢
    2021-01-01 15:32

    Removing trailing back slashes from those path elements is a good idea.

    There may also be a problem that pip is written in python which uses case sensitive compares by default, (as is the default on every commonly used platform that I am aware of other than windows). You should also make sure that your path variable matches the case expected by pip, (the actual case of the path elements on windows does not have to match).

    To do this go into the control panel, system settings, advanced poperties, advanced, Environmental Variables and edit the path elements that are giving the problem. (Windows has a nasty habit of capitalizing things even when you don't).

提交回复
热议问题